[Python-modules-commits] [pytest] 07/12: Don't provide py.test-X.Y entry points.

Barry Warsaw barry at moszumanska.debian.org
Thu Feb 11 19:37:38 UTC 2016


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

barry pushed a commit to branch master
in repository pytest.

commit 1417fe9516de97264b93382eab56b85540ff2fdd
Author: Barry Warsaw <barry at python.org>
Date:   Thu Feb 11 13:31:23 2016 -0500

    Don't provide py.test-X.Y entry points.
    
    Patch-Name: normalize-entry-points.patch
---
 setup.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/setup.py b/setup.py
index ec9c9d4..bb2712e 100644
--- a/setup.py
+++ b/setup.py
@@ -91,6 +91,10 @@ def cmdline_entrypoints(versioninfo, platform, basename):
         else: # cpython
             points = {'py.test-%s.%s' % versioninfo[:2] : target}
         points['py.test'] = target
+            ## if versioninfo.major == 3:
+            ##     points = {'py.test-3' : target}
+            ## else:
+            ##     points = {'py.test' : target}
     return points
 
 

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



More information about the Python-modules-commits mailing list