| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
didn't work, whether specified on the command-line or in setup.cfg.
- distutils/command/build_ext.py - make docstrings raw
- #128930 - distutils/command/build_ext.py - split rpath argument
Suggested by AMK, but had to be massaged a bit from the cvs diff
|
| |
|
|
| |
filenames
|
| | |
|
| |
|
|
| |
an 'other_libraries()' parameter.
|
| |
|
|
| |
we actually installed modules to a directory in sys.path.
|
| | |
|
| |
|
|
|
| |
This should close SF bug (patch)
http://sourceforge.net/patch/?func=detailpatch&patch_id=101844&group_id=5470
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
by default (since compiling at install time works just fine). Details:
- added 'compile' and 'optimize' options
- added 'byte_compile()' method
- changed 'get_outputs()' so it includes bytecode files
A lot of the code added is very similar to code in install_lib.py;
would be nice to factor it out further.
|
| |
|
|
| |
instruct the "install_lib" command from the command-line.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
choice between (compile, no-compile) * (optimize=0, optimize=1,
optimize=2). Details:
- added --no-compile option to complement --compile, which has
been there for ages
- changed --optimize (which never worked) to a value option, which
expects 0, 1, or 2
- renamed 'bytecompile()' method to 'byte_compile()', and beefed
it up to handle both 'compile' and 'optimize' options
- fix '_bytecode_filenames()' to respect the new options
|
| |
|
|
| |
pure Python modules to compile.
|
| |
|
|
|
| |
'util.byte_compile()'. Currently just reproduces the existing functionality
-- doesn't use any of the fancy features in the new 'byte_compile()'.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
on the module file -- could be useful for subclasses overriding it.
|
| |
|
|
|
|
| |
- added 'sub_commands' class attr
- added 'has_*()' predicates referenced by the sub-command list
- rewrote 'run()' so it's a trivial loop over relevant sub-commands
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
They are unneeded: All this stuff is already done by the
install command which is run by bdist_wininst.
One bug has been fixed:
The root of the fake install tree is install.install_purelib,
not install.install_lib!
They are different if the extra_path option is used in
the setup function.
Rebuild after the changes to wininst.exe.
|
| |
|
|
|
|
|
|
|
|
|
| |
Removed get_ext_libname() because it is unused.
Fixed get_libraries() to append an '_d' to the python debug
import library. If MSVC is used, do not add 'pythonxx.lib' to
the list of libraries, because this is handled better
by a pragma in config.h.
This should fix bug #115595, but it needs some more testing.
|
| |
|
|
|
| |
Removed script options -- don't think they ever worked, weren't
very well thought through, etc.
|
| |
|
|
| |
with the bdist_* commands.
|
| | |
|
| |
|
|
| |
easier extensibility).
|
| | |
|
| |
|
|
|
| |
as well as scheme, and don't convert all installation paths (that's now
done by the "install" command for us).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'convert_paths()' method to convert them all to the local syntax (backslash
or colon or whatever) at the appropriate time.
Added SCHEME_KEYS to get rid of one hard-coded list of attributes (in
'select_scheme()').
Default 'install_path_file' to true, and never set it false (it's just
there in case some outsider somewhere wants to disable installation of the
.pth file for whatever reason).
Toned down the warning emitted when 'install_path_file' is false, since we
no longer know why it might be false.
Added 'warn_dir' flag to suppress warning when installing to a directory
not in sys.path (again, we never set this false -- it's there for outsiders
to use, specifically the "bdist_*" commands).
Pulled the loop of 'change_root()' calls out to new method 'change_roots()'.
Comment updates/deletions/additions.
|
| |
|
|
|
| |
on other systems, so that data, headers, scripts are included in
the installer.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
(eg. "bdist_dumb", to generate both ZIP and tar archives in the same
run), tell all but the last run to keep temp files -- this just gets
rid of the need to pseudo-install the same files multiple times.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Run "install" the right way, by calling 'run_command()'.
|
| |
|
|
|
| |
meant removing 'get_sub_commands()', and moving the 'sub_commands' class
attribute to the end and restructuring it to conform to the new regime.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
with the recent change in 'get_platform()', we now have directory names
like "build/lib-1.5-linux-i586". Idea and original patch by
Rene Liebscher.
|
| | |
|
| |
|
|
| |
the sometimes inappropriate warning about where we're installing data files.
|
| |
|
|
|
|
|
| |
of globals from sysconfig.
Added 'prefix' and 'exec_prefix' to the list of variables that can be
expanded in installation directories (preserving the stupid old names
of 'sys_prefix' and 'sys_exec_prefix, though).
|
| |
|
|
| |
of globals from sysconfig.
|
| |
|
|
| |
compilation).
|
| |
|
|
| |
<prefix>:Lib:site-packages.
|
| |
|
|
| |
directory too. Also generally cleaned up the code.
|
| | |
|