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
2e1ca965
Commit
2e1ca965
authored
Jul 14, 2016
by
stepshal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove whitespace around parameter '=' sign.
parent
8e80ee74
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
13 deletions
+13
-13
setuptools/launch.py
setuptools/launch.py
+3
-3
setuptools/lib2to3_ex.py
setuptools/lib2to3_ex.py
+1
-1
setuptools/package_index.py
setuptools/package_index.py
+3
-3
setuptools/tests/__init__.py
setuptools/tests/__init__.py
+6
-6
No files found.
setuptools/launch.py
View file @
2e1ca965
...
...
@@ -18,9 +18,9 @@ def run():
__builtins__
script_name
=
sys
.
argv
[
1
]
namespace
=
dict
(
__file__
=
script_name
,
__name__
=
'__main__'
,
__doc__
=
None
,
__file__
=
script_name
,
__name__
=
'__main__'
,
__doc__
=
None
,
)
sys
.
argv
[:]
=
sys
.
argv
[
1
:]
...
...
setuptools/lib2to3_ex.py
View file @
2e1ca965
...
...
@@ -27,7 +27,7 @@ class DistutilsRefactoringTool(RefactoringTool):
class
Mixin2to3
(
_Mixin2to3
):
def
run_2to3
(
self
,
files
,
doctests
=
False
):
def
run_2to3
(
self
,
files
,
doctests
=
False
):
# See of the distribution option has been set, otherwise check the
# setuptools default.
if
self
.
distribution
.
use_2to3
is
not
True
:
...
...
setuptools/package_index.py
View file @
2e1ca965
...
...
@@ -94,7 +94,7 @@ def distros_for_url(url, metadata=None):
match
=
EGG_FRAGMENT
.
match
(
fragment
)
if
match
:
for
dist
in
interpret_distro_name
(
url
,
match
.
group
(
1
),
metadata
,
precedence
=
CHECKOUT_DIST
url
,
match
.
group
(
1
),
metadata
,
precedence
=
CHECKOUT_DIST
):
yield
dist
...
...
@@ -158,8 +158,8 @@ def interpret_distro_name(
for p in range(1, len(parts)+1):
yield Distribution(
location, metadata, '
-
'.join(parts[:p]), '
-
'.join(parts[p:]),
py_version=py_version, precedence
=
precedence,
platform
=
platform
py_version=py_version, precedence
=
precedence,
platform
=
platform
)
...
...
setuptools/tests/__init__.py
View file @
2e1ca965
...
...
@@ -131,8 +131,8 @@ class TestDistro:
self
.
dist
=
makeSetup
(
packages
=
[
'a'
,
'a.b'
,
'a.b.c'
,
'b'
,
'c'
],
py_modules
=
[
'b.d'
,
'x'
],
ext_modules
=
(
self
.
e1
,
self
.
e2
),
package_dir
=
{},
ext_modules
=
(
self
.
e1
,
self
.
e2
),
package_dir
=
{},
)
def
testDistroType
(
self
):
...
...
@@ -225,15 +225,15 @@ class TestFeatures:
),
'baz'
:
Feature
(
"baz"
,
optional
=
False
,
packages
=
[
'pkg.baz'
],
scripts
=
[
'scripts/baz_it'
],
scripts
=
[
'scripts/baz_it'
],
libraries
=
[(
'libfoo'
,
'foo/foofoo.c'
)]
),
'dwim'
:
Feature
(
"DWIM"
,
available
=
False
,
remove
=
'bazish'
),
},
script_args
=
[
'--without-bar'
,
'install'
],
packages
=
[
'pkg.bar'
,
'pkg.foo'
],
py_modules
=
[
'bar_et'
,
'bazish'
],
ext_modules
=
[
Extension
(
'bar.ext'
,
[
'bar.c'
])]
packages
=
[
'pkg.bar'
,
'pkg.foo'
],
py_modules
=
[
'bar_et'
,
'bazish'
],
ext_modules
=
[
Extension
(
'bar.ext'
,
[
'bar.c'
])]
)
def
testDefaults
(
self
):
...
...
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