4 new commits in pytest:
https://bitbucket.org/hpk42/pytest/commits/ecce84841be1/
Changeset: ecce84841be1
Branch: jurko/tox_usage
User: jurko
Date: 2014-04-05 08:47:04
Summary: fix runtox.py failure when 'tox' is not available on the current
system path
Now just assumes that the tox module is available in the executing Python
environment.
Affected #: 1 file
diff -r 8b3cd3ae724fbaa527cba25af3243f6f872cb250 -r
ecce84841be15e704a465a6378878b6bd09318ea runtox.py
--- a/runtox.py
+++ b/runtox.py
@@ -4,7 +4,7 @@
import sys
if __name__ == "__main__":
- subprocess.call(["tox",
+ subprocess.call([sys.executable, "-m", "tox",
"-i", "ALL=https://devpi.net/hpk/dev/",
"--develop",] + sys.argv[1:])
https://bitbucket.org/hpk42/pytest/commits/a7c05f253edb/
Changeset: a7c05f253edb
Branch: jurko/tox_usage
User: jurko
Date: 2014-04-05 08:49:30
Summary: stylistic runtox.py code cleanup
Affected #: 1 file
diff -r ecce84841be15e704a465a6378878b6bd09318ea -r
a7c05f253edbccbd1a8593456d9c09d274a59a15 runtox.py
--- a/runtox.py
+++ b/runtox.py
@@ -6,5 +6,4 @@
if __name__ == "__main__":
subprocess.call([sys.executable, "-m", "tox",
"-i", "ALL=https://devpi.net/hpk/dev/",
- "--develop",] + sys.argv[1:])
-
+ "--develop"] + sys.argv[1:])
https://bitbucket.org/hpk42/pytest/commits/75fb943397d3/
Changeset: 75fb943397d3
Branch: jurko/tox_usage
User: jurko
Date: 2014-04-05 08:51:00
Summary: make runtox.py not import external modules unless run as a script
Was not needed since the script actually does nothing unless run as a script.
Affected #: 1 file
diff -r a7c05f253edbccbd1a8593456d9c09d274a59a15 -r
75fb943397d382d39554f678bacc5abd9ff49b49 runtox.py
--- a/runtox.py
+++ b/runtox.py
@@ -1,9 +1,8 @@
#!/usr/bin/env python
-import subprocess
-import sys
-
if __name__ == "__main__":
+ import subprocess
+ import sys
subprocess.call([sys.executable, "-m", "tox",
"-i", "ALL=https://devpi.net/hpk/dev/",
"--develop"] + sys.argv[1:])
https://bitbucket.org/hpk42/pytest/commits/393981dc0f1d/
Changeset: 393981dc0f1d
User: hpk42
Date: 2014-04-06 08:16:24
Summary: Merged in jurko/pytest/jurko/tox_usage (pull request #150)
runtox.py cleanup
Affected #: 1 file
diff -r 8b3cd3ae724fbaa527cba25af3243f6f872cb250 -r
393981dc0f1da8a2699ed4c8bc43f3644af592f9 runtox.py
--- a/runtox.py
+++ b/runtox.py
@@ -1,10 +1,8 @@
#!/usr/bin/env python
-import subprocess
-import sys
-
if __name__ == "__main__":
- subprocess.call(["tox",
+ import subprocess
+ import sys
+ subprocess.call([sys.executable, "-m", "tox",
"-i", "ALL=https://devpi.net/hpk/dev/",
- "--develop",] + sys.argv[1:])
-
+ "--develop"] + sys.argv[1:])
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.
_______________________________________________
pytest-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pytest-commit