From d0828d8f5e82d0158d5598a397638f3fcfe13bbf Mon Sep 17 00:00:00 2001 From: Anirudha Bose Date: Mon, 1 May 2017 15:49:12 +0200 Subject: [PATCH] PyPI upload script --- setup.py | 7 +------ upload.sh | 6 ++++++ 2 files changed, 7 insertions(+), 6 deletions(-) create mode 100755 upload.sh diff --git a/setup.py b/setup.py index 8d09fa2..0911075 100644 --- a/setup.py +++ b/setup.py @@ -5,12 +5,9 @@ here = path.abspath(path.dirname(__file__)) -with open(path.join(here, 'README.md'), encoding='utf-8') as f: - long_description = f.read() - setup( name='reobject', - version='0.5a2', + version='0.5a3', description='Python without ifs and buts', url='https://github.com/onyb/reobject', author='Anirudha Bose', @@ -28,8 +25,6 @@ 'Programming Language :: Python :: 3.6', ], keywords='orm python object-oriented-programming', - packages=find_packages(exclude=['examples', 'docs', 'tests']), - install_requires=[], extras_require={ 'dev': ['ipython', 'twine'], 'test': ['pytest', 'pytest-cov', 'codecov'], diff --git a/upload.sh b/upload.sh new file mode 100755 index 0000000..66f8874 --- /dev/null +++ b/upload.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +pandoc --from=markdown --to=rst --output=README.rst README.md +python setup.py sdist +python setup.py bdist_wheel +twine upload dist/*