Skip to content

Commit 5275f4b

Browse files
committed
Update PyPi packaging.
1 parent 4b65e13 commit 5275f4b

4 files changed

Lines changed: 23 additions & 5 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ __pycache__/
77
*.so
88

99
# Distribution / packaging
10+
MANIFEST
1011
.Python
1112
env/
1213
build/

MANIFEST.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# include docs
2+
include *.md
3+
4+
# include license
5+
include LICENSE.txt

setup.cfg

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
[metadata]
2-
description-file = README.md
2+
description_file = README.md
3+
license_file = LICENSE.txt
4+
5+
[bdist_wheel]
6+
universal=1

setup.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,16 @@
99
description = 'Python APDS-9960 Library',
1010
author = 'Thomas Liske',
1111
author_email = 'thomas@fiasko-nw.net',
12-
url = 'https://github.com/liske/python-apds9960/', # use the URL to the github repo
13-
download_url = 'https://github.com/liske/python-apds9960/archive/0.1.tar.gz', # I'll explain this in a second
14-
keywords = ['apds9960'], # arbitrary keywords
15-
classifiers = [],
12+
url = 'https://github.com/liske/python-apds9960/',
13+
download_url = 'https://github.com/liske/python-apds9960/archive/0.1.tar.gz',
14+
keywords = 'apds9960',
15+
long_description=open('README.md', 'r').read(),
16+
long_description_content_type='text/markdown',
17+
classifiers = [
18+
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
19+
'Programming Language :: Python',
20+
'Programming Language :: Python :: 2',
21+
'Programming Language :: Python :: 3',
22+
'Topic :: Software Development :: Libraries :: Python Modules',
23+
],
1624
)

0 commit comments

Comments
 (0)