Skip to content

Commit 6bfde85

Browse files
committed
cleanup
1 parent c5d962a commit 6bfde85

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
.PHONY: publish
22

33
publish:
4-
rm -rf dist/
5-
pip3 install -U twine wheel pip setuptools
6-
python3 setup.py sdist bdist_wheel
4+
tox -e packaging
75
twine upload -s dist/*

setup.py

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

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

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ python =
1212
passenv =
1313
GITHUB_*
1414
deps =
15-
pytest==6.0.1
15+
pytest==6.0.2
1616
pytest-cov==2.10.1
1717
pytest-xdist==2.1.0
1818
hypothesis>=5.5,<6

0 commit comments

Comments
 (0)