[Pytest-commit] commit/pytest: hpk42: add a py.test placeholder setup that errors out when trying to get installed
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Thu Oct 30 11:46:35 CET 2014
1 new commit in pytest:
https://bitbucket.org/hpk42/pytest/commits/85e3331b83cd/
Changeset: 85e3331b83cd
User: hpk42
Date: 2014-10-30 10:38:13+00:00
Summary: add a py.test placeholder setup that errors out when trying to get installed
(this is registered at pypi.python.org already)
Affected #: 1 file
diff -r 6b59253d98741c49ccc555884a6511bdc79eabf0 -r 85e3331b83cda6eee644c473b3b08f10016a3361 extra/setup-py.test/setup.py
--- /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",
+ )
Repository URL: https://bitbucket.org/hpk42/pytest/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the pytest-commit
mailing list