Skip to content

Commit

Permalink
Update release system
Browse files Browse the repository at this point in the history
  • Loading branch information
osantana committed Feb 1, 2019
1 parent 3eb3e5d commit 2b56a0f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ clean:
release: clean test
git tag `python setup.py -q version`
git push origin `python setup.py -q version`
python setup.py sdist upload
rm -rf dist/*
python setup.py sdist
twine check dist/*
twine upload dist/*
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
nose==1.3.7
Sphinx==1.3.1
sphinx-rtd-theme==0.1.8
twine==1.12.1
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
break


def readme():
with open("README.rst") as r:
return r.read()


class VersionCommand(Command):
user_options = []

Expand All @@ -30,6 +35,7 @@ def run(self):
name='prettyconf',
version=version,
description='Separation of settings from code.',
long_description=readme(),
author="Osvaldo Santana Neto", author_email="prettyconf@osantana.me",
license="MIT",
packages=['prettyconf'],
Expand Down

0 comments on commit 2b56a0f

Please sign in to comment.