Skip to content
Snippets Groups Projects
Commit 23075840 authored by Eric V. Smith's avatar Eric V. Smith
Browse files

Add upload target. Add paths to python and twine. I realize

it's not great form to hard code these paths, but I'm the only
one uploading to PyPI, and I want the information all in one place.
parent 4cc2636e
Branches
Tags 0.6
No related merge requests found
PYTHON37_SRC = ../python/cpython
PYTHON = ~/venv/wheel-tools/bin/python
TWINE = ~/venv/wheel-tools/bin/twine
sdist:
python3 setup.py sdist
$(PYTHON) setup.py sdist
wheel:
python3 setup.py bdist_wheel
$(PYTHON) setup.py bdist_wheel
run-tests:
PYTHONPATH=. python3 test/test_dataclasses.py
......@@ -23,3 +25,5 @@ diff:
clean:
-rm -rf dataclasses.egg-info/ __pycache__/ build/ dist/ test/__pycache__/
upload: clean sdist wheel
$(TWINE) upload dist/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment