Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
bf1ea34f
Commit
bf1ea34f
authored
May 28, 2013
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow setuptools 0.7 to satisfy use_setuptools.
--HG-- branch : distribute
parent
c12b3db4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
CHANGES.txt
CHANGES.txt
+7
-0
distribute_setup.py
distribute_setup.py
+9
-0
No files found.
CHANGES.txt
View file @
bf1ea34f
...
@@ -2,6 +2,13 @@
...
@@ -2,6 +2,13 @@
CHANGES
CHANGES
=======
=======
------
0.6.44
------
* ``distribute_setup.py`` has been updated to allow Setuptools 0.7 to
satisfy use_setuptools.
------
------
0.6.43
0.6.43
------
------
...
...
distribute_setup.py
View file @
bf1ea34f
...
@@ -144,6 +144,15 @@ def use_setuptools(version=DEFAULT_VERSION, download_base=DEFAULT_URL,
...
@@ -144,6 +144,15 @@ def use_setuptools(version=DEFAULT_VERSION, download_base=DEFAULT_URL,
try
:
try
:
try
:
try
:
import
pkg_resources
import
pkg_resources
# Setuptools 0.7b and later is a suitable (and preferable)
# substitute for any Distribute version.
try
:
pkg_resources
.
require
(
"setuptools>=0.7b"
)
return
except
pkg_resources
.
DistributionNotFound
:
pass
if
not
hasattr
(
pkg_resources
,
'_distribute'
):
if
not
hasattr
(
pkg_resources
,
'_distribute'
):
if
not
no_fake
:
if
not
no_fake
:
_fake_setuptools
()
_fake_setuptools
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment