mirror of
https://github.com/python/cpython.git
synced 2025-09-07 17:32:01 +00:00
Stop creating a Python-X.Y.Z-pyX.Y.egg-info file on install (#10645)
This commit is contained in:
parent
c7f9f2bfc7
commit
e6792c1e77
1 changed files with 7 additions and 0 deletions
7
setup.py
7
setup.py
|
@ -1780,6 +1780,13 @@ class PyBuildInstall(install):
|
||||||
install.initialize_options(self)
|
install.initialize_options(self)
|
||||||
self.warn_dir=0
|
self.warn_dir=0
|
||||||
|
|
||||||
|
# Customize subcommands to not install an egg-info file for Python
|
||||||
|
sub_commands = [('install_lib', install.has_lib),
|
||||||
|
('install_headers', install.has_headers),
|
||||||
|
('install_scripts', install.has_scripts),
|
||||||
|
('install_data', install.has_data)]
|
||||||
|
|
||||||
|
|
||||||
class PyBuildInstallLib(install_lib):
|
class PyBuildInstallLib(install_lib):
|
||||||
# Do exactly what install_lib does but make sure correct access modes get
|
# Do exactly what install_lib does but make sure correct access modes get
|
||||||
# set on installed directories and files. All installed files with get
|
# set on installed directories and files. All installed files with get
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue