| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
command itself: no more of this "FooBar class for foo_bar command"
silliness.
|
| |
|
|
|
|
|
|
| |
old 'dist' command, but the code for dealing with manifests is completely
redone -- and renaming the command to 'sdist' is more symmetric with the
soon-to-exist 'bdist' command.
|
| |
|
|
|
|
| |
/export option mini-kludge.
|
| |
|
|
|
|
| |
to fallback to if the user doesn't set it for those commands.
|
| |
|
| |
|
|
|
|
| |
in the current distribution: motivated by PIL's libImaging.
|
| |
|
|
|
|
| |
Announce when we start building each extension (better feedback).
|
| |
|
| |
|
|
|
|
|
|
|
| |
'--help-commands' option).
Shuffled imports around in a few command modules to avoid expensive
up-front import of sysconfig (and resulting delays in generating list
of all commands).
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixed 'make_release_tree()' to copy files if 'os.link()' doesn't exist.
|
|
|
|
|
| |
command wasn't found or failed. (Code supplied by Thomas Heller
<thomas.heller@ion-tof.com>.)
|
|
|
|
| |
before storing or using.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Added 'nuke_release_tree()' method to blow away the directory from
which the archive file(s) are created, and call it (conditionally)
from 'make_distribution()'.
Added 'keep_tree' option (false by default) to disable the call to
'nuke_release_tree()'.
|
|
|
|
|
|
|
|
| |
install) the setup script itself.
Fixed 'build_module()' so we do *not* preserve file mode (which means
we can install read-only files, which makes the next installation
of this distribution fail -- at least under Unix); added a comment
explaining this.
|
|
|
|
|
| |
call CCompiler method 'compile()' with 'include_dirs' not 'includes'.
Fixed stupid typo in 'get_source_files()'.
|
|
|
|
|
|
|
|
| |
Bunch of little bug fixes that appeared in building non-packagized
distributions. Mainly:
- brain-slip typo in 'get_package_dir()'
- don't try to os.path.join() an empty path tuple -- it doesn't like it
- more type-safety in 'build_module()'
|
|
|
|
|
|
| |
Now supports the full range of intended formats (tar, ztar, gztar, zip).
"-f" no longer a short option for "--formats" -- conflicts with new
global option "--force"!
|
|
|
|
| |
on the manifest file syntax.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Catch up with renamed 'platdir' -> 'build_platlib' option in 'build'.
Don't call 'set_final_options()' in 'run()' anymore -- that's now
guaranteed to be taken care of for us by the Distribution instance.
If 'include_dirs' is a string, split it on os.pathsep (this is half-
hearted -- support for setting compile/link options on the command
line is totally lame and probably won't work at all).
Added 'get_source_files()' for use by 'dist' command.
Added code to 'build_extensions()' to figure out the "def file" to use
with MSVC++ and add it to the linker command line as an "extra_postarg".
|
|
|
|
|
|
|
|
|
|
|
|
| |
Don't call 'set_final_options()' in 'run()' anymore -- that's now
guaranteed to be taken care of for us by the Distribution instance.
Rearranged to bit to allow outsiders (specifically, the 'dist' command)
to find out what modules we would build:
- 'find_modules()' renamed to 'find_package_modules()'
- most of 'build_modules()' abstracted out to 'find_modules()'
- added 'get_source_files()' (for the 'dist' command to use)
- drastically simplified 'build_modules()' -- now just a wrapper around
'find_modules()' and 'build_module()'
|
|
|
|
|
|
| |
Tweaked some help strings to be consistent with documentation.
Don't call 'set_final_options()' in 'run()' anymore -- that's now
guaranteed to be taken care of for us by the Distribution instance.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
distributions their own directory (and .pth file).
Overhauled how we determine installation directories in
'set_final_options()' to separate platform-dependence and take
'install_path' option into account.
Added 'create_path_file()' to create path config file when 'install_path'
given.
Only run 'install_py' and 'install_ext' when, respectively, there are
some pure Python modules and some extension modules in the distribution.
|
|
|
|
| |
have extension modules.
|
|
|
|
|
|
|
|
|
|
| |
- rename 'dir' to 'build_dir'
- take 'package' from distribution option 'ext_package'
- take 'extensions' from distribution option 'ext_modules'
- take 'include_dirs' from distribution
Name keyword args explictly when calling CCompiler methods.
Overhauled how we generate extension filenames (in 'extension_filename()
and 'build_extension()') to take 'package' option into account.
|
|
|
|
| |
packages and searching for source files by 'package_dir'.
|
|
|
|
|
| |
so that pure Python modules are installed to the platform-specific
directory if there are any extension modules in this distribution.
|
|
|
|
|
|
| |
specific files; it was somewhat broken, and the comments were dead
wrong.
Now runs 'install_ext' command after 'install_py'.
|
|
|
|
| |
actual extension module to.
|
| |
|