diff --git a/.gitignore b/.gitignore index b7a007e..eae66d3 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ test_venv htmlcov/ tox_logs/ .cache/ +.eggs/ diff --git a/Makefile b/Makefile index b115673..a9b136f 100644 --- a/Makefile +++ b/Makefile @@ -27,10 +27,12 @@ clean_tild_backup: clean_docs: rm -rf docs/_build/ rm -rf docs/package/ +clean_eggs: + rm -rf .eggs/ clean: clean_pyc clean_build clean_coverage clean_tild_backup -clean_all: clean clean_tox clean_test_venv clean_docs +clean_all: clean clean_tox clean_test_venv clean_docs clean_eggs dist: python setup.py sdist diff --git a/setup.cfg b/setup.cfg index 5aef279..f1602a2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,11 @@ [metadata] description-file = README.rst + +[egg_info] +tag_build = +tag_date = 0 +tag_svn_revision = 0 + +[aliases] +test=pytest + diff --git a/setup.py b/setup.py index a8af44c..85a8838 100644 --- a/setup.py +++ b/setup.py @@ -73,5 +73,7 @@ setup( ], url="https://github.com/nitmir/django-cas-server", download_url="https://github.com/nitmir/django-cas-server/releases", - zip_safe=False + zip_safe=False, + setup_requires=['pytest-runner'], + tests_require=['pytest', 'pytest-django', 'pytest-pythonpath'], )