|
4 | 4 |
|
5 | 5 | here = path.abspath(path.dirname(__file__)) |
6 | 6 |
|
7 | | -with open('README.md') as f: |
| 7 | +with open("README.md") as f: |
8 | 8 | long_description = f.read() |
9 | 9 |
|
10 | 10 | version = {} |
11 | | -with open(path.join(here, 'emv', "__init__.py")) as fp: |
| 11 | +with open(path.join(here, "emv", "__init__.py")) as fp: |
12 | 12 | exec(fp.read(), version) |
13 | 13 |
|
14 | | -setup(name='emv', |
15 | | - version=version['__version__'], |
16 | | - description='EMV Smartcard Protocol Library', |
17 | | - long_description=long_description, |
18 | | - long_description_content_type='text/markdown', |
19 | | - license='MIT', |
20 | | - author='Russ Garrett', |
21 | | - author_email='russ@garrett.co.uk', |
22 | | - url='https://github.com/russss/python-emv', |
23 | | - classifiers=[ |
24 | | - 'Development Status :: 4 - Beta', |
25 | | - 'License :: OSI Approved :: MIT License', |
26 | | - 'Programming Language :: Python :: 3', |
27 | | - ], |
28 | | - keywords='smartcard emv payment', |
29 | | - python_requires='>=3.4', |
30 | | - packages=['emv', 'emv.protocol', 'emv.command'], |
31 | | - install_requires=['enum-compat', 'argparse', 'pyscard', 'pycountry', 'terminaltables', 'click'], |
32 | | - entry_points={ |
33 | | - 'console_scripts': { |
34 | | - 'emvtool=emv.command.client:run' |
35 | | - } |
36 | | - } |
37 | | - ) |
| 14 | +setup( |
| 15 | + name="emv", |
| 16 | + version=version["__version__"], |
| 17 | + description="EMV Smartcard Protocol Library", |
| 18 | + long_description=long_description, |
| 19 | + long_description_content_type="text/markdown", |
| 20 | + license="MIT", |
| 21 | + author="Russ Garrett", |
| 22 | + author_email="russ@garrett.co.uk", |
| 23 | + url="https://github.com/russss/python-emv", |
| 24 | + classifiers=[ |
| 25 | + "Development Status :: 4 - Beta", |
| 26 | + "License :: OSI Approved :: MIT License", |
| 27 | + "Programming Language :: Python :: 3", |
| 28 | + ], |
| 29 | + keywords="smartcard emv payment", |
| 30 | + python_requires=">=3.4", |
| 31 | + packages=["emv", "emv.protocol", "emv.command"], |
| 32 | + install_requires=[ |
| 33 | + "enum-compat", |
| 34 | + "argparse", |
| 35 | + "pyscard", |
| 36 | + "pycountry", |
| 37 | + "terminaltables", |
| 38 | + "click", |
| 39 | + ], |
| 40 | + entry_points={"console_scripts": {"emvtool=emv.command.client:run"}}, |
| 41 | +) |
0 commit comments