Skip to content

Commit 9f6987b

Browse files
committed
setup.py improvements
1 parent d828529 commit 9f6987b

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ Released on December 20, 2020
1212
### Changed
1313

1414
* Minor refactoring for easier testing
15+
* Fixed setup.py issues preventing successful packaging

setup.py

+7-4
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,26 @@
55
with open('README.md') as f:
66
readme = f.read()
77

8-
with open('LICENSE') as f:
9-
license = f.read()
10-
118
tests_require = ['mock']
129

1310
setup(
1411
name='Chinese-RFID-Access-Control-Library',
1512
version='0.1.0',
1613
description='A library for interfacing with one of the most common RFID Access Control System sold in China.',
1714
long_description=readme,
15+
long_description_content_type='text/markdown',
1816
author='Paul Brown',
1917
author_email='paul90brown@gmail.com',
2018
url='https://github.com/pawl/Chinese-RFID-Access-Control-Library',
21-
license=license,
19+
license='MIT',
2220
download_url=['https://github.com/pawl/Chinese-RFID-Access-Control-Library/tarball/master#egg=package-0.1.0'],
2321
keywords=['rfid', 'access control'],
2422
py_modules=['rfid'],
2523
test_suite="tests",
2624
tests_require=tests_require,
25+
classifiers=[
26+
'License :: OSI Approved :: MIT License',
27+
'Programming Language :: Python :: 2',
28+
'Programming Language :: Python :: 3',
29+
],
2730
)

0 commit comments

Comments
 (0)