|
8 | 8 | from setuptools import find_packages, setup |
9 | 9 |
|
10 | 10 | NAME = 'srec2bin_py' |
11 | | -PACKAGES = find_packages(where='.') |
| 11 | +PACKAGES = ['srec2bin'] |
12 | 12 | META_PATH = os.path.join('src', '__init__.py') |
13 | 13 | KEYWORDS = ['motorola', 'srecord', 'S3'] |
14 | 14 | CLASSIFIERS = [ |
@@ -61,15 +61,16 @@ def find_meta(meta): |
61 | 61 | license=find_meta('license'), |
62 | 62 | url=find_meta('uri'), |
63 | 63 | version=find_meta('version'), |
64 | | - # author=find_meta('author'), |
65 | | - # author_email=find_meta('email'), |
66 | | - # maintainer=find_meta('author'), |
67 | | - # maintainer_email=find_meta('email'), |
| 64 | + author=find_meta('author'), |
| 65 | + author_email=find_meta('email'), |
| 66 | + maintainer=find_meta('author'), |
| 67 | + maintainer_email=find_meta('email'), |
68 | 68 | keywords=KEYWORDS, |
69 | 69 | long_description=read('README.md'), |
70 | 70 | packages=PACKAGES, |
71 | | - package_dir={'src': '.'}, |
72 | | - package_data={'srec2bin': ['*.rst']}, |
| 71 | + package_dir={'srec2bin': 'src'}, |
| 72 | + # package_data={'srec2bin': ['*.rst']}, |
| 73 | + scripts=['bin/srec2bin.py'], |
73 | 74 | classifiers=CLASSIFIERS, |
74 | 75 | install_requires=INSTALL_REQUIRES, |
75 | 76 | python_requires='>=3.5', |
|
0 commit comments