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
933e26cd
Commit
933e26cd
authored
Mar 30, 2015
by
Arfrever Frehtes Taifersar Arahesis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some typos.
parent
8cff8857
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
pkg_resources/__init__.py
pkg_resources/__init__.py
+2
-2
pkg_resources/_vendor/packaging/specifiers.py
pkg_resources/_vendor/packaging/specifiers.py
+1
-1
setuptools/command/easy_install.py
setuptools/command/easy_install.py
+1
-1
No files found.
pkg_resources/__init__.py
View file @
933e26cd
...
...
@@ -2528,7 +2528,7 @@ class Distribution(object):
if
not
is_legacy
:
return
# While an empty version is tech
in
cally a legacy version and
# While an empty version is tech
ni
cally a legacy version and
# is not a valid PEP 440 version, it's also unlikely to
# actually come from someone and instead it is more likely that
# it comes from setuptools attempting to parse a filename and
...
...
@@ -2542,7 +2542,7 @@ class Distribution(object):
non PEP 440,
version. You may find odd behavior and sort order.
In particular it will be sorted as less than 0.0. It
is recommend to migrate to PEP 440 compatible
is recommend
ed
to migrate to PEP 440 compatible
versions.
"""
).
strip
().
replace
(
'
\
n
'
,
' '
)
...
...
pkg_resources/_vendor/packaging/specifiers.py
View file @
933e26cd
...
...
@@ -502,7 +502,7 @@ class Specifier(_IndividualSpecifier):
return
False
# Ensure that we do not allow a local version of the version mentioned
# in the specifier, which is tech
in
cally greater than, to match.
# in the specifier, which is tech
ni
cally greater than, to match.
if
prospective
.
local
is
not
None
:
if
Version
(
prospective
.
base_version
)
==
Version
(
spec
.
base_version
):
return
False
...
...
setuptools/command/easy_install.py
View file @
933e26cd
...
...
@@ -152,7 +152,7 @@ class easy_install(Command):
create_index
=
PackageIndex
def
initialize_options
(
self
):
# the --user option seems
t
to be an opt-in one,
# the --user option seems to be an opt-in one,
# so the default should be False.
self
.
user
=
0
self
.
zip_ok
=
self
.
local_snapshots_ok
=
None
...
...
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