Getting ready for PyPI.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# My make-fu style is old and tired. I just want to have a few helper commands.
|
||||
|
||||
TESTDIR = ./test00
|
||||
VERSION = 0.1.0
|
||||
|
||||
.PHONY: clean sdist test docs
|
||||
|
||||
@@ -12,11 +13,13 @@ clean:
|
||||
sdist:
|
||||
python ./setup.py sdist
|
||||
|
||||
# In order to support testing the code as installed
|
||||
# create a virtualenv and install the source dist zip there.
|
||||
test: sdist
|
||||
$(RM) -r $(TESTDIR)
|
||||
virtualenv --system-site-packages --never-download $(TESTDIR)
|
||||
. $(TESTDIR)/bin/activate && \
|
||||
pip install --no-cache-dir --no-index ./dist/Joypy-0.1.tar.gz
|
||||
pip install --no-cache-dir --no-index ./dist/Joypy-$(VERSION).tar.gz
|
||||
echo "Type: source $(TESTDIR)/bin/activate"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user