From 2b366865ffa989acd9bf7c8a30f927b3254e53cf Mon Sep 17 00:00:00 2001 From: matejcik Date: Mon, 18 Jun 2018 17:35:43 +0200 Subject: [PATCH] build: use package autodetection (fixes #280) --- setup.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/setup.py b/setup.py index b1a84bf195..f1b03a0700 100755 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ import subprocess import sys import tempfile -from setuptools import setup, Command +from setuptools import setup, Command, find_packages from setuptools.command.build_py import build_py from setuptools.command.develop import develop @@ -79,14 +79,7 @@ setup( author_email='info@trezor.io', description='Python library for communicating with TREZOR Hardware Wallet', url='https://github.com/trezor/python-trezor', - packages=[ - 'trezorlib', - 'trezorlib.transport', - 'trezorlib.messages', - 'trezorlib.qt', - 'trezorlib.tests.device_tests', - 'trezorlib.tests.unit_tests', - ], + packages=find_packages(), package_data={ 'trezorlib': ['coins.json'], },