From 883b3ca2c195d2a3dbaad85e25879a21df68ddbb Mon Sep 17 00:00:00 2001 From: holger krekel Date: Thu, 30 Oct 2014 11:38:13 +0100 Subject: add a py.test placeholder setup that errors out when trying to get installed (this is registered at pypi.python.org already) --- extra/setup-py.test/setup.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 extra/setup-py.test/setup.py (limited to 'extra') diff --git a/extra/setup-py.test/setup.py b/extra/setup-py.test/setup.py new file mode 100644 index 000000000..d0560ce1f --- /dev/null +++ b/extra/setup-py.test/setup.py @@ -0,0 +1,11 @@ +import sys +from distutils.core import setup + +if __name__ == "__main__": + if "sdist" not in sys.argv[1:]: + raise ValueError("please use 'pytest' pypi package instead of 'py.test'") + setup( + name="py.test", + version="0.0", + description="please use 'pytest' for installation", + ) -- cgit v1.2.3