diff options
Diffstat (limited to 'testing/web-platform/tests/tools/pytest/extra/setup-py.test/setup.py')
-rw-r--r-- | testing/web-platform/tests/tools/pytest/extra/setup-py.test/setup.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/web-platform/tests/tools/pytest/extra/setup-py.test/setup.py b/testing/web-platform/tests/tools/pytest/extra/setup-py.test/setup.py new file mode 100644 index 000000000..d0560ce1f --- /dev/null +++ b/testing/web-platform/tests/tools/pytest/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", + ) |