Skip to content

Commit

Permalink
PyPI upload script
Browse files Browse the repository at this point in the history
  • Loading branch information
onyb committed May 1, 2017
1 parent c0cc74a commit d0828d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 1 addition & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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'],
Expand Down
6 changes: 6 additions & 0 deletions upload.sh
Original file line number Diff line number Diff line change
@@ -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/*

0 comments on commit d0828d8

Please sign in to comment.