[Python-checkins] distutils2 (merge default -> python3): Merge cleanups
eric.araujo
python-checkins at python.org
Fri Nov 25 16:23:59 CET 2011
http://hg.python.org/distutils2/rev/bcea7cbddd47
changeset: 1267:bcea7cbddd47
branch: python3
parent: 1263:7e7f23d10484
parent: 1266:3f8b40403811
user: Éric Araujo <merwok at netwok.org>
date: Fri Nov 25 12:57:30 2011 +0100
summary:
Merge cleanups
files:
pysetup | 5 ++---
scripts/pysetup | 4 ----
2 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/pysetup b/pysetup
--- a/pysetup
+++ b/pysetup
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
+import sys
from distutils2.run import main
-
-if __name__ == "__main__":
- main()
+sys.exit(main())
diff --git a/scripts/pysetup b/scripts/pysetup
deleted file mode 100644
--- a/scripts/pysetup
+++ /dev/null
@@ -1,4 +0,0 @@
-#! /usr/bin/env python
-import sys
-from distutils2.run import main
-sys.exit(main())
--
Repository URL: http://hg.python.org/distutils2
More information about the Python-checkins
mailing list