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
21c81324
Commit
21c81324
authored
Aug 06, 2020
by
Thomas Kluyver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get_requires_for_build* hooks rely on 'installing' setup_requires
parent
fe79e6ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
setuptools/build_meta.py
setuptools/build_meta.py
+5
-4
No files found.
setuptools/build_meta.py
View file @
21c81324
...
...
@@ -155,7 +155,6 @@ class _BuildMetaBackend(object):
with
_open_setup_script
(
__file__
)
as
f
:
code
=
f
.
read
().
replace
(
r'\r\n'
,
r'\n'
)
with
no_install_setup_requires
():
exec
(
compile
(
code
,
__file__
,
'exec'
),
locals
())
def
get_requires_for_build_wheel
(
self
,
config_settings
=
None
):
...
...
@@ -171,6 +170,7 @@ class _BuildMetaBackend(object):
config_settings
=
None
):
sys
.
argv
=
sys
.
argv
[:
1
]
+
[
'dist_info'
,
'--egg-base'
,
_to_str
(
metadata_directory
)]
with
no_install_setup_requires
():
self
.
run_setup
()
dist_info_directory
=
metadata_directory
...
...
@@ -211,6 +211,7 @@ class _BuildMetaBackend(object):
sys
.
argv
=
(
sys
.
argv
[:
1
]
+
setup_command
+
[
'--dist-dir'
,
tmp_dist_dir
]
+
config_settings
[
"--global-option"
])
with
no_install_setup_requires
():
self
.
run_setup
()
result_basename
=
_file_with_extension
(
...
...
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