Skip to content

Commit a4fa723

Browse files
committed
cleanup
1 parent 18d4b47 commit a4fa723

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.PHONY: publish
2+
3+
publish:
4+
rm -rf dist/
5+
tox -e packaging
6+
twine upload -s dist/*

setup.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@
2323
else:
2424
raise RuntimeError("No version number found!")
2525

26-
# Stealing this from Kenneth Reitz
27-
if sys.argv[-1] == 'publish':
28-
os.system('python setup.py sdist upload')
29-
sys.exit()
30-
3126
setup(
3227
name='hyperframe',
3328
version=version,

0 commit comments

Comments
 (0)