mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Backing out the basic dependency checking (from pycon sprint).
This support was only a first cut, and doesn't deserve to be in a released version (where we have to support it in an ongoing manner)
This commit is contained in:
parent
9e29fc584c
commit
f2113f0c6e
5 changed files with 3 additions and 145 deletions
|
@ -126,8 +126,6 @@ class install (Command):
|
|||
"force installation (overwrite any existing files)"),
|
||||
('skip-build', None,
|
||||
"skip rebuilding everything (for testing/debugging)"),
|
||||
('skip-checkdep', None,
|
||||
"skip checking dependencies (use at own risk)"),
|
||||
|
||||
# Where to install documentation (eventually!)
|
||||
#('doc-format=', None, "format of documentation to generate"),
|
||||
|
@ -185,15 +183,12 @@ class install (Command):
|
|||
|
||||
# 'force' forces installation, even if target files are not
|
||||
# out-of-date. 'skip_build' skips running the "build" command,
|
||||
# handy if you know it's not necessary. 'skip_checkdep' skips
|
||||
# the 'checkdep' command, if you are sure you can work around the
|
||||
# dependency failure in another way. 'warn_dir' (which is *not*
|
||||
# handy if you know it's not necessary. 'warn_dir' (which is *not*
|
||||
# a user option, it's just there so the bdist_* commands can turn
|
||||
# it off) determines whether we warn about installing to a
|
||||
# directory not in sys.path.
|
||||
self.force = 0
|
||||
self.skip_build = 0
|
||||
self.skip_checkdep = 0
|
||||
self.warn_dir = 1
|
||||
|
||||
# These are only here as a conduit from the 'build' command to the
|
||||
|
@ -505,12 +500,6 @@ class install (Command):
|
|||
if not self.skip_build:
|
||||
self.run_command('build')
|
||||
|
||||
# We check dependencies before we install
|
||||
# For now, this is disabled. Before 2.4 is released, this will
|
||||
# be turned on.
|
||||
#if not self.skip_checkdep:
|
||||
# self.run_command('checkdep')
|
||||
|
||||
# Run all sub-commands (at least those that need to be run)
|
||||
for cmd_name in self.get_sub_commands():
|
||||
self.run_command(cmd_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue