Skip to content

Commit 611914f

Browse files
committed
Fix pypi description
1 parent fffb05c commit 611914f

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include README.md
1+
include README.md LICENSE

setup.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
1414
long_description = f.read()
1515

16+
if sys.argv[-1] == 'build':
17+
os.system('python3 setup.py sdist bdist_wheel')
18+
sys.exit()
19+
1620
if sys.argv[-1] == 'publish':
1721
os.system('python3 setup.py sdist upload')
1822
sys.exit()
@@ -32,14 +36,15 @@ def run_tests(self):
3236

3337

3438
setup(
35-
name='pyStiebelEltron',
39+
name='pystiebeleltron',
3640
version='0.0.1.dev0',
3741
description='Python API for interacting with the Stiebel Eltron ISG web gateway via Modbus for controlling integral ventilation units and heat pumps.',
3842
long_description=long_description,
43+
long_description_content_type='text/markdown',
3944
url='https://github.com/fucm/python-stiebel-eltron',
4045
author='Martin Fuchs',
41-
author_email='martin.fuchs AT gmx.ch',
4246
license='MIT',
47+
python_requires='>=3.4',
4348
install_requires=['pymodbus>=2.1.0'],
4449
tests_require=['tox'],
4550
cmdclass={'test': Tox},

0 commit comments

Comments
 (0)