mirror of
https://github.com/python/cpython.git
synced 2025-10-21 22:22:48 +00:00
Patch from Bastien Kleineidam:
adds the 'install_data' and 'install_scripts' commands; these two are trivial thanks to the 'install_misc' base class in cmd.py. (Minor tweaks and commentary by me; the code is untested so far.)
This commit is contained in:
parent
bb8c71d563
commit
b2e3bb3d6a
6 changed files with 68 additions and 1 deletions
|
@ -90,7 +90,10 @@ class install (Command):
|
|||
# (func, command) where 'func' is a function to call that returns
|
||||
# true if 'command' (the sub-command name, a string) needs to be
|
||||
# run. If 'func' is None, assume that 'command' must always be run.
|
||||
sub_commands = [(None, 'install_lib')]
|
||||
sub_commands = [(None, 'install_lib'),
|
||||
(None, 'install_scripts'),
|
||||
(None, 'install_data'),
|
||||
]
|
||||
|
||||
|
||||
def initialize_options (self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue