Greg Ward
44a980dff9
Fixed the move-RPM-files hack so it knows about the '--binary-only' and
...
'--source-only' options.
2000-08-15 13:05:35 +00:00
Greg Ward
a12c195064
Added support for the '--dist-dir' option, including a mildly nasty
...
hack to find the two created RPM files (source and binary) and
move them to the "dist dir" (default "dist").
2000-08-15 13:03:16 +00:00
Greg Ward
c0fe82ca26
Fix long-hidden inconsistency in internal interface: 'find_modules()' now
...
represents packages as strings, not tuples. This allowed a simplification
in 'get_package_dir()', too -- can now assume that 'package' is a string.
2000-08-15 13:01:25 +00:00
Greg Ward
a35c931eb2
get_export_symbols() changed, adds now module init function if not given
...
by the user.
2000-08-13 00:42:35 +00:00
Greg Ward
1b024d37a7
Fix so the 'install_libbase' directory -- where .pth files are installed --
...
participates in the "--root" hack, ie. it also has a new root directory
hacked on at the very last minute (essential if the .pth file is to be
included in an RPM or other smart installer!).
2000-08-07 00:48:04 +00:00
Greg Ward
ab3a0f36ed
Fixed imports from '*util' modules to not just import everything from util.
2000-08-05 01:31:54 +00:00
Greg Ward
6f628bb877
Added 'wininst' to the 'format_commands' list, so it's included in
...
the --help-formats output. Also moved that list up so it's more obvious
when adding formats.
2000-08-02 01:44:44 +00:00
Greg Ward
90c74cc4da
Rene Liebscher: fix 'skipping byte-compilation' message for grammatical
...
consistency.
2000-08-02 01:34:18 +00:00
Greg Ward
0419a4ffba
Patch from Rene Liebscher, tweaked by me:
...
- 'export_symbol_file' (and corresponding 'def_file' in the old
"build info" dict) are gone; warn if we see 'def_file' in the
dict
- the MSVC "pre-link hack" is gone -- all that stuff is now handled
elsewhere (eg. by using 'export_symbols', etc.)
- add 'get_export_symbols()' and 'get_libraries()' methods -- needed
because on Windows, both of those things are a tad more complicated
than fetching them from the Extension instance
2000-08-01 23:54:29 +00:00
Greg Ward
6b24dffd13
Catch syntax errors from processing template lines and turn them into
...
mere warnings.
Call 'findall()' on our FileList object before we start using it seriously.
2000-07-30 01:47:16 +00:00
Greg Ward
23266fe5cf
Replaced 'self.files' with 'self.filelist': now we carry around a FileList
...
instance instead of a list of filenames. Simplifies the "sdist" command
only a bit, but should allow greater simplification of FileList.
2000-07-30 01:30:31 +00:00
Greg Ward
4571ac15f7
The other half of Rene Liebscher's patch to add the Template class,
...
which I renamed to FileList: remove all the file-list-generation code from
the sdist command and adapt it to use the new FileList class instead.
2000-07-30 01:05:02 +00:00
Greg Ward
612eb9f58f
Fixed a grab-bag of typos spotted by Rob Hooft.
2000-07-27 02:13:20 +00:00
Greg Ward
aa5372caa7
Remove unused 'search_dir()' method.
...
Comment tweak.
2000-07-27 01:58:45 +00:00
Greg Ward
53c1bc3f9b
Typo fix from David Ascher.
2000-07-27 01:21:54 +00:00
Andrew M. Kuchling
23adc9f37b
Typo fix from Bastian Kleineidam
2000-07-14 13:35:07 +00:00
Jeremy Hylton
65d6edb478
fix inconsistent use of tabs and spaces
2000-07-07 20:45:21 +00:00
Greg Ward
fd9f168bcf
Fixed so the ZIP file (which is bundled into an executable) goes in the
...
temporary directory ('bdist_base').
Added --dist-dir option to control where the executable is put.
2000-07-05 03:08:55 +00:00
Greg Ward
c4eb84accb
Added --dist-dir option to control where output archive(s) go.
2000-07-05 03:07:37 +00:00
Greg Ward
040dc0b691
Added the --dist-dir option that the "bdist_*" will use to control where
...
they place their output files.
2000-07-05 03:07:18 +00:00
Greg Ward
c0614105aa
Added the --dist-dir option to control where the archive(s) are put;
...
defaults to 'dist' (ie. no longer in the distribution root).
2000-07-05 03:06:46 +00:00
Greg Ward
5d6ae76c09
Allow 2.0 on the list of target versions. NB. this isn't enough: the GUI part,
...
misc/install.c, still needs to be updated, and it looks like a non-trivial
change.
2000-06-29 23:50:19 +00:00
Greg Ward
22e1bf7da5
Don't try to guess the name of a .def file -- if one is supplied, use it,
...
otherwise just generate an '/export:' option.
2000-06-29 23:09:20 +00:00
Greg Ward
df112a76a9
Fixed so 'get_source_files()' calls 'check_extension_list()' -- that way,
...
we can run "sdist" on a distribution with old-style extension structures
even if we haven't built it yet. Bug spotted by Harry Gebel.
2000-06-29 02:16:24 +00:00
Greg Ward
499822d959
Fixed 'findall()' so it only returns regular files -- no directories.
...
Changed 'prune_file_list()' so it also prunes out RCS and CVS directories.
Added 'is_regex' parameter to 'select_pattern()', 'exclude_pattern()',
and 'translate_pattern()', so that you don't have to be constrained
by the simple shell-glob-like pattern language, and can escape into
full-blown regexes when needed. Currently this is only available
in code -- it's not exposed in the manifest template mini-language.
Added 'prune' option (controlled by --prune and --no-prune) to determine
whether we call 'prune_file_list()' or not -- it's true by default.
Fixed 'negative_opt' -- it was misnamed and not being seen by dist.py.
Added --no-defaults to the option table, so it's seen by FancyGetopt.
2000-06-29 02:06:29 +00:00