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
82af3811
Commit
82af3811
authored
Aug 17, 2013
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#18741: fix more typos. Patch by Févry Thibault.
parent
8e4909b4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
command/install.py
command/install.py
+1
-1
command/sdist.py
command/sdist.py
+1
-1
tests/test_build_clib.py
tests/test_build_clib.py
+1
-1
No files found.
command/install.py
View file @
82af3811
...
@@ -545,7 +545,7 @@ class install(Command):
...
@@ -545,7 +545,7 @@ class install(Command):
self
.
extra_dirs
=
extra_dirs
self
.
extra_dirs
=
extra_dirs
def
change_roots
(
self
,
*
names
):
def
change_roots
(
self
,
*
names
):
"""Change the install direcories pointed by name using root."""
"""Change the install direc
t
ories pointed by name using root."""
for
name
in
names
:
for
name
in
names
:
attr
=
"install_"
+
name
attr
=
"install_"
+
name
setattr
(
self
,
attr
,
change_root
(
self
.
root
,
getattr
(
self
,
attr
)))
setattr
(
self
,
attr
,
change_root
(
self
.
root
,
getattr
(
self
,
attr
)))
...
...
command/sdist.py
View file @
82af3811
...
@@ -175,7 +175,7 @@ class sdist(Command):
...
@@ -175,7 +175,7 @@ class sdist(Command):
depends on the user's options.
depends on the user's options.
"""
"""
# new behavior when using a template:
# new behavior when using a template:
# the file list is recalculated everytime because
# the file list is recalculated every
time because
# even if MANIFEST.in or setup.py are not changed
# even if MANIFEST.in or setup.py are not changed
# the user might have added some files in the tree that
# the user might have added some files in the tree that
# need to be included.
# need to be included.
...
...
tests/test_build_clib.py
View file @
82af3811
...
@@ -77,7 +77,7 @@ class BuildCLibTestCase(support.TempdirManager,
...
@@ -77,7 +77,7 @@ class BuildCLibTestCase(support.TempdirManager,
cmd
.
compiler
=
FakeCompiler
()
cmd
.
compiler
=
FakeCompiler
()
# build_libraries is also doing a bit of typo
e
checking
# build_libraries is also doing a bit of typo checking
lib
=
[(
'name'
,
{
'sources'
:
'notvalid'
})]
lib
=
[(
'name'
,
{
'sources'
:
'notvalid'
})]
self
.
assertRaises
(
DistutilsSetupError
,
cmd
.
build_libraries
,
lib
)
self
.
assertRaises
(
DistutilsSetupError
,
cmd
.
build_libraries
,
lib
)
...
...
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