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
9d50157d
Commit
9d50157d
authored
May 28, 2013
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Python 2.3 support from ez_setup.py
parent
d45dccf4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
20 deletions
+4
-20
ez_setup.py
ez_setup.py
+4
-20
No files found.
ez_setup.py
View file @
9d50157d
...
...
@@ -19,6 +19,7 @@ import sys
import
tempfile
import
tarfile
import
optparse
import
subprocess
from
distutils
import
log
...
...
@@ -27,29 +28,12 @@ try:
except
ImportError
:
USER_SITE
=
None
try
:
import
subprocess
def
_python_cmd
(
*
args
):
args
=
(
sys
.
executable
,)
+
args
return
subprocess
.
call
(
args
)
==
0
except
ImportError
:
# will be used for python 2.3
def
_python_cmd
(
*
args
):
args
=
(
sys
.
executable
,)
+
args
# quoting arguments if windows
if
sys
.
platform
==
'win32'
:
def
quote
(
arg
):
if
' '
in
arg
:
return
'"%s"'
%
arg
return
arg
args
=
[
quote
(
arg
)
for
arg
in
args
]
return
os
.
spawnl
(
os
.
P_WAIT
,
sys
.
executable
,
*
args
)
==
0
DEFAULT_VERSION
=
"0.7b4"
DEFAULT_URL
=
"http://pypi.python.org/packages/source/s/setuptools/"
def
_python_cmd
(
*
args
):
args
=
(
sys
.
executable
,)
+
args
return
subprocess
.
call
(
args
)
==
0
def
_install
(
tarball
,
install_args
=
()):
# extracting the tarball
...
...
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