Skip to content
This repository was archived by the owner on Jan 13, 2023. It is now read-only.

Commit 23dd462

Browse files
committed
Fix for subpackages not installing.
1 parent 4d26d34 commit 23dd462

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

setup.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from codecs import StreamReader, open
88
from sys import version_info
99

10-
from setuptools import setup
10+
from setuptools import find_packages, setup
1111

1212
##
1313
# Check Python version.
@@ -39,9 +39,10 @@
3939
name = 'PyOTA',
4040
description = 'IOTA API library for Python',
4141
url = 'https://github.com/iotaledger/iota.lib.py',
42-
version = '1.0.0b2',
42+
version = '1.0.0b3',
4343

44-
packages = ['iota'],
44+
packages = ['iota'] + ['iota.'+pkg for pkg in find_packages('iota')],
45+
package_data = {'': ['LICENSE']},
4546

4647
long_description = long_description,
4748

@@ -54,10 +55,6 @@
5455
'nose',
5556
],
5657

57-
data_files = [
58-
('', ['LICENSE']),
59-
],
60-
6158
license = 'MIT',
6259

6360
classifiers = [

0 commit comments

Comments
 (0)