[Python-modules-commits] [python-pip] 12/14: Keep the entry points.

Barry Warsaw barry at moszumanska.debian.org
Fri Jan 29 15:52:09 UTC 2016


This is an automated email from the git hooks/post-receive script.

barry pushed a commit to branch dirtbike
in repository python-pip.

commit 29820a4b468990ef69b2a85b2dfd287a6c8dc045
Author: Barry Warsaw <barry at python.org>
Date:   Thu Jan 28 18:04:42 2016 -0500

    Keep the entry points.
---
 setup.py | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/setup.py b/setup.py
index cb0eab6..60843e5 100644
--- a/setup.py
+++ b/setup.py
@@ -81,15 +81,13 @@ setup(
         "pip._vendor.distlib._backport": ["sysconfig.cfg"],
         "pip._vendor.distlib": ["t32.exe", "t64.exe", "w32.exe", "w64.exe"],
     },
-    # In Debian, we'll generate our own console scripts to properly handle
-    # installing wheels early enough on sys.path.
-    ## entry_points={
-    ##     "console_scripts": [
-    ##         "pip=pip:main",
-    ##         "pip%s=pip:main" % sys.version[:1],
-    ##         "pip%s=pip:main" % sys.version[:3],
-    ##     ],
-    ## },
+    entry_points={
+        "console_scripts": [
+            "pip=pip:main",
+            "pip%s=pip:main" % sys.version[:1],
+            "pip%s=pip:main" % sys.version[:3],
+        ],
+    },
     tests_require=tests_require,
     zip_safe=False,
     extras_require={

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pip.git



More information about the Python-modules-commits mailing list