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
b49dd51f
Commit
b49dd51f
authored
Mar 16, 2011
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Plain Diff
#11565: Merge with 3.2.
parents
1482ee1f
f4b20689
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
cmd.py
cmd.py
+1
-1
cygwinccompiler.py
cygwinccompiler.py
+1
-1
tests/test_clean.py
tests/test_clean.py
+1
-1
tests/test_install.py
tests/test_install.py
+1
-1
tests/test_sdist.py
tests/test_sdist.py
+1
-1
No files found.
cmd.py
View file @
b49dd51f
...
...
@@ -359,7 +359,7 @@ class Command:
not
self
.
force
,
dry_run
=
self
.
dry_run
)
def
move_file
(
self
,
src
,
dst
,
level
=
1
):
"""Move a file respectin dry-run flag."""
"""Move a file respectin
g
dry-run flag."""
return
file_util
.
move_file
(
src
,
dst
,
dry_run
=
self
.
dry_run
)
def
spawn
(
self
,
cmd
,
search_path
=
1
,
level
=
1
):
...
...
cygwinccompiler.py
View file @
b49dd51f
...
...
@@ -155,7 +155,7 @@ class CygwinCCompiler(UnixCCompiler):
self
.
dll_libraries
=
get_msvcr
()
def
_compile
(
self
,
obj
,
src
,
ext
,
cc_args
,
extra_postargs
,
pp_opts
):
"""Compiles the source by spawing GCC and windres if needed."""
"""Compiles the source by spaw
n
ing GCC and windres if needed."""
if
ext
==
'.rc'
or
ext
==
'.res'
:
# gcc needs '.res' and '.rc' compiled to object files !!!
try
:
...
...
tests/test_clean.py
View file @
b49dd51f
...
...
@@ -39,7 +39,7 @@ class cleanTestCase(support.TempdirManager,
self
.
assertTrue
(
not
os
.
path
.
exists
(
path
),
'%s was not removed'
%
path
)
# let's run the command again (should spit warnings but suceed)
# let's run the command again (should spit warnings but suc
c
eed)
cmd
.
all
=
1
cmd
.
ensure_finalized
()
cmd
.
run
()
...
...
tests/test_install.py
View file @
b49dd51f
...
...
@@ -62,7 +62,7 @@ class InstallTestCase(support.TempdirManager,
if
sys
.
version
<
'2.6'
:
return
# preparing the environ
e
ment for the test
# preparing the environment for the test
self
.
old_user_base
=
site
.
USER_BASE
self
.
old_user_site
=
site
.
USER_SITE
self
.
tmpdir
=
self
.
mkdtemp
()
...
...
tests/test_sdist.py
View file @
b49dd51f
...
...
@@ -311,7 +311,7 @@ class SDistTestCase(PyPIRCCommandTestCase):
# adding a file
self
.
write_file
((
self
.
tmp_dir
,
'somecode'
,
'doc2.txt'
),
'#'
)
# make sure build_py is reiniti
ni
alized, like a fresh run
# make sure build_py is reinitialized, like a fresh run
build_py
=
dist
.
get_command_obj
(
'build_py'
)
build_py
.
finalized
=
False
build_py
.
ensure_finalized
()
...
...
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