diff options
author | holger krekel <holger@merlinux.eu> | 2014-10-30 11:38:13 +0100 |
---|---|---|
committer | holger krekel <holger@merlinux.eu> | 2014-10-30 11:38:13 +0100 |
commit | 883b3ca2c195d2a3dbaad85e25879a21df68ddbb (patch) | |
tree | 54c2c703e5ede10b19abccda534649a56f7cfc8f /extra | |
parent | e4bb48995af246ff799af36eb3aa14d4fa95a3a0 (diff) | |
download | pytest-883b3ca2c195d2a3dbaad85e25879a21df68ddbb.tar.gz |
add a py.test placeholder setup that errors out when trying to get installed
(this is registered at pypi.python.org already)
Diffstat (limited to 'extra')
-rw-r--r-- | extra/setup-py.test/setup.py | 11 |
1 files changed, 11 insertions, 0 deletions
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", + ) |