Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
048ca7dc
Commit
048ca7dc
authored
Mar 22, 2000
by
Greg Ward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run 'install_lib' instead of 'install_py', and ditch 'install_ext'
completely (was already commented-out).
parent
55753d4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
13 deletions
+4
-13
Lib/distutils/command/install.py
Lib/distutils/command/install.py
+4
-13
No files found.
Lib/distutils/command/install.py
View file @
048ca7dc
...
...
@@ -388,19 +388,10 @@ class install (Command):
# Obviously have to build before we can install
self
.
run_peer
(
'build'
)
# Install modules in two steps: "platform-shared" files (ie. pure
# Python modules) and platform-specific files (compiled C
# extensions). Note that 'install_py' is smart enough to install
# pure Python modules in the "platlib" directory if we built any
# extensions.
# XXX this should become one command, 'install_lib', since
# all modules are "built" into the same directory now
if
self
.
distribution
.
packages
or
self
.
distribution
.
py_modules
:
self
.
run_peer
(
'install_py'
)
#if self.distribution.ext_modules:
# self.run_peer ('install_ext')
# Now install all Python modules -- don't bother to make this
# conditional; why would someone distribute a Python module
# distribution without Python modules?
self
.
run_peer
(
'install_lib'
)
if
self
.
path_file
:
self
.
create_path_file
()
...
...
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