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
bfe4e747
Commit
bfe4e747
authored
Mar 21, 2020
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Plain Diff
Merge tag 'v44.1.0'
parents
e7f29530
1988125e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
4 deletions
+11
-4
.bumpversion.cfg
.bumpversion.cfg
+0
-1
CHANGES.rst
CHANGES.rst
+8
-0
setuptools/dist.py
setuptools/dist.py
+3
-3
No files found.
.bumpversion.cfg
View file @
bfe4e747
...
...
@@ -4,4 +4,3 @@ commit = True
tag = True
[bumpversion:file:setup.cfg]
CHANGES.rst
View file @
bfe4e747
v44
.1.0
-------
*
#
1704
:
Set
sys
.
argv
[
0
]
in
setup
script
run
by
build_meta
.
__legacy__
*
#
1959
:
Fix
for
Python
4
:
replace
unsafe
six
.
PY3
with
six
.
PY2
*
#
1994
:
Fixed
a
bug
in
the
"setuptools.finalize_distribution_options"
hook
that
lead
to
ignoring
the
order
attribute
of
entry
points
managed
by
this
hook
.
v46
.0.0
-------
...
...
setuptools/dist.py
View file @
bfe4e747
...
...
@@ -708,13 +708,13 @@ class Distribution(_Distribution):
to influence the order of execution. Smaller numbers
go first and the default is 0.
"""
hook_key
=
'setuptools.finalize_distribution_options'
group
=
'setuptools.finalize_distribution_options'
def
by_order
(
hook
):
return
getattr
(
hook
,
'order'
,
0
)
eps
=
pkg_resources
.
iter_entry_points
(
hook_key
)
eps
=
map
(
lambda
e
:
e
.
load
(),
pkg_resources
.
iter_entry_points
(
group
)
)
for
ep
in
sorted
(
eps
,
key
=
by_order
):
ep
.
load
()
(
self
)
ep
(
self
)
def
_finalize_setup_keywords
(
self
):
for
ep
in
pkg_resources
.
iter_entry_points
(
'distutils.setup_keywords'
):
...
...
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