|
2 | 2 | import pathlib |
3 | 3 | from setuptools import setup |
4 | 4 |
|
5 | | -packages = [ |
6 | | - 'src' |
7 | | -] |
| 5 | +packages = ["src"] |
8 | 6 |
|
9 | 7 | # The directory containing this file |
10 | 8 | HERE = pathlib.Path(__file__).parent |
11 | 9 |
|
12 | 10 | # The text of the README file |
13 | 11 | README = (HERE / "README.md").read_text() |
14 | 12 |
|
15 | | -package_data = {'': ['*'], 'arch.zx48k.peephole': ['opts/*']} |
| 13 | +package_data = {"": ["*"], "arch.zx48k.peephole": ["opts/*"]} |
16 | 14 |
|
17 | 15 | entry_points = { |
18 | | - 'console_scripts': ['zxb = src.libzxbc.zxb:main', |
19 | | - 'zxbasm = src.libzxbasm.zxbasm:main', |
20 | | - 'zxbc = src.libzxbc.zxb:main', |
21 | | - 'zxbpp = src.libzxbpp.zxbpp:entry_point'] |
| 16 | + "console_scripts": [ |
| 17 | + "zxb = src.libzxbc.zxb:main", |
| 18 | + "zxbasm = src.libzxbasm.zxbasm:main", |
| 19 | + "zxbc = src.libzxbc.zxb:main", |
| 20 | + "zxbpp = src.libzxbpp.zxbpp:entry_point", |
| 21 | + ] |
22 | 22 | } |
23 | 23 |
|
24 | 24 | setup_kwargs = { |
25 | | - 'name': 'zxbasic', |
26 | | - 'version': '1.15.2', |
27 | | - 'description': "Boriel's ZX BASIC Compiler", |
28 | | - 'classifiers': [ |
| 25 | + "name": "zxbasic", |
| 26 | + "version": "1.15.2", |
| 27 | + "description": "Boriel's ZX BASIC Compiler", |
| 28 | + "classifiers": [ |
29 | 29 | # How mature is this project? Common values are |
30 | 30 | # 3 - Alpha |
31 | 31 | # 4 - Beta |
32 | 32 | # 5 - Production/Stable |
33 | | - 'Development Status :: 5 - Production/Stable', |
34 | | - |
| 33 | + "Development Status :: 5 - Production/Stable", |
35 | 34 | # Indicate who your project is intended for |
36 | | - 'Intended Audience :: Developers', |
37 | | - 'Topic :: Software Development :: Build Tools', |
38 | | - |
| 35 | + "Intended Audience :: Developers", |
| 36 | + "Topic :: Software Development :: Build Tools", |
39 | 37 | # Pick your license as you wish (should match "license" above) |
40 | | - 'License :: OSI Approved :: GNU Affero General Public License v3', |
41 | | - |
| 38 | + "License :: OSI Approved :: GNU Affero General Public License v3", |
42 | 39 | # Specify the Python versions you support here. In particular, ensure |
43 | 40 | # that you indicate whether you support Python 2, Python 3 or both. |
44 | | - 'Programming Language :: Python :: 3.6', |
45 | | - 'Programming Language :: Python :: 3.8', |
| 41 | + "Programming Language :: Python :: 3.6", |
| 42 | + "Programming Language :: Python :: 3.8", |
46 | 43 | ], |
47 | | - 'long_description_content_type': "text/markdown", |
48 | | - 'long_description': README, |
49 | | - 'author': 'Jose Rodriguez', |
50 | | - 'author_email': 'boriel@gmail.com', |
51 | | - 'maintainer': None, |
52 | | - 'maintainer_email': None, |
53 | | - 'url': 'http://zxbasic.net', |
54 | | - 'packages': packages, |
55 | | - 'package_data': package_data, |
56 | | - 'entry_points': entry_points, |
57 | | - 'python_requires': '>=3.6,<4.0', |
| 44 | + "long_description_content_type": "text/markdown", |
| 45 | + "long_description": README, |
| 46 | + "author": "Jose Rodriguez", |
| 47 | + "author_email": "boriel@gmail.com", |
| 48 | + "maintainer": None, |
| 49 | + "maintainer_email": None, |
| 50 | + "url": "http://zxbasic.net", |
| 51 | + "packages": packages, |
| 52 | + "package_data": package_data, |
| 53 | + "entry_points": entry_points, |
| 54 | + "python_requires": ">=3.6,<4.0", |
58 | 55 | } |
59 | 56 |
|
60 | 57 | setup(**setup_kwargs) |
0 commit comments