python-gnupg/Makefile

33 lines
667 B
Makefile

clean:
rm -f \#*\#
rm -f ./*.pyc
rm -f ./*.pyo
cleantest: clean
mkdir -p gnupg/tests/keys
touch gnupg/tests/placeholder.log
rm -rf gnupg/tests/keys
rm gnupg/tests/*.log
test: cleantest
python gnupg/tests/test_gnupg.py basic
install:
python setup.py install --record installed-files.txt
uninstall:
touch installed-files.txt
cat installed-files.txt | sudo xargs rm -rf
cleandocs:
sphinx-apidoc -F -A "Isis Agora Lovecruft" -H "python-gnupg" -V 0.4.0 -R 0.4.0 -o docs gnupg/ tests/
docs:
cd docs
make clean
make html
venv:
-source /usr/shared/python/ns/virtualenvwrapper.sh && mkvirtualenv -a "$PWD" --unzip-setuptools --distribute python-gnupg