From a7ce65de19a48183d0927cfc095abc8928249453 Mon Sep 17 00:00:00 2001 From: Simon Forman Date: Fri, 19 Nov 2021 11:04:41 -0800 Subject: [PATCH] Remove test cruft from makefile. --- Makefile | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/Makefile b/Makefile index 970f76a..c19350a 100644 --- a/Makefile +++ b/Makefile @@ -1,30 +1,14 @@ # My make-fu style is old and tired. I just want to have a few helper commands. -TESTDIR = ./test00 -VERSION = 0.4.1 WEBSERVER = sforman@shell.osdn.net -.PHONY: clean sdist test docs upload-docs +.PHONY: clean docs upload-docs clean: - $(RM) -r Thun.egg-info/ dist/ build/ __pycache__/ $(TESTDIR) + $(RM) -r Thun.egg-info/ dist/ build/ __pycache__/ find . -name '*.pyc' | xargs $(RM) -sdist: - python ./setup.py sdist bdist_wheel - - -# 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/Thun-$(VERSION).tar.gz - echo "Type: source $(TESTDIR)/bin/activate" - - docs: cd ./docs && make && make mov && cd ./sphinx_docs && make html