Skip to content

Commit

Permalink
Fix pypi description
Browse files Browse the repository at this point in the history
  • Loading branch information
fucm committed Feb 8, 2019
1 parent fffb05c commit 611914f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include README.md
include README.md LICENSE
9 changes: 7 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()

if sys.argv[-1] == 'build':
os.system('python3 setup.py sdist bdist_wheel')
sys.exit()

if sys.argv[-1] == 'publish':
os.system('python3 setup.py sdist upload')
sys.exit()
Expand All @@ -32,14 +36,15 @@ def run_tests(self):


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

0 comments on commit 611914f

Please sign in to comment.