Gregory P. Smith
86ee81e34b
Contribution from Harry Henry Gebel: the 'bdist_rpm' command.
...
(Completely uninspected and untested by me, this is just to
get the code into CVS!)
2000-05-13 03:11:40 +00:00
Gregory P. Smith
6a901dd1bd
List data files are listed in the Distribution attribute 'data_files',
...
rather than 'data'.
2000-05-13 03:09:50 +00:00
Gregory P. Smith
c59d4e0777
Added the 'bdist_base' option, the base temp directory for all bdist commands.
2000-05-13 03:08:28 +00:00
Gregory P. Smith
e30b7a91c7
Added 'get_inputs()' methods, needed by the "install" command's
...
'get_inputs()'.
2000-05-13 03:07:53 +00:00
Gregory P. Smith
ba0506b349
Drastically simplified by taking advantage of the "install" command's
...
new flexibility, specifically the 'root' option. Now, we just use
"install" to do a fake installation into a temporary directory
(the 'bdist_dir' option, which derives from the 'bdist_base' option of
"bdist"), and then tar/zip up that directory. This means that dumb
built distributions are now relative to the root directory, rather than
the prefix or exec-prefix; this is probably a feature, but does make
them slightly less flexible.
2000-05-13 03:06:56 +00:00
Gregory P. Smith
a04d807127
Rename 'build_bdist' to 'bdist_base', and get it by default from the
...
"bdist" command rather than "build".
2000-05-13 02:30:15 +00:00
Gregory P. Smith
c008488981
Typo fix.
2000-05-13 02:20:43 +00:00
Gregory P. Smith
0ec8ef1601
Made the '--record' option take an argument, which is the name of the
...
file to write the list of installed files to.
2000-05-13 02:16:45 +00:00
Gregory P. Smith
7e855ef6ad
Ditch the explicit search for *.py[co] files -- they're now included in
...
the list returned by 'get_outputs()', thanks to changes in the
"install_lib" command.
2000-05-13 02:13:53 +00:00
Gregory P. Smith
11fb783fa4
Added '_bytecode_filenames()' method, and use it in 'get_outputs()'
...
to ensure that compiled bytecode files are considered part of the output
of the "install_lib" command.
2000-05-13 02:11:10 +00:00
Gregory P. Smith
f9ebf98725
Moved check for installation to non-sys.path location so it comes
...
last (after writing list of installed files) -- that way, the warning
is more visible.
2000-05-13 02:01:22 +00:00
Gregory P. Smith
8cb676195b
Harry Henry Gebel: add the "--record" option to write the list of
...
installed files to INSTALLED_FILES.
2000-05-13 01:58:19 +00:00
Gregory P. Smith
a190268bf6
Added the 'build_bdist' option and code to clean it up -- this is the
...
top-level temporary directory for creating built distributions. (Won't
work yet, since the "build" command doesn't yet have a 'build_bdist'
option, and none of the "bdist" commands support it yet.)
2000-05-13 01:56:55 +00:00
Gregory P. Smith
b5ebe5d640
Harry Henry Gebel: get extra compiler flags from the CFLAGS environment
...
variable.
(Is this really needed? Can we drop it when the config file mechanism
allows users to set compiler flags in setup.cfg?)
2000-05-13 01:52:14 +00:00
Gregory P. Smith
52e399c904
Harry Henry Gebel: add support for the 'bdist_rpm' command, specifically
...
the 'no_format_option' class attribute.
2000-05-13 01:49:56 +00:00
Gregory P. Smith
d5b53df18c
Harry Henry Gebel: add 'bdist_rpm' command.
2000-05-13 01:48:15 +00:00
Gregory P. Smith
de5c953a2b
From Lyle Johnson: renamed 'implib_dir' to 'implib_file', and
...
correctly ensure that it's 'dirname' exists.
2000-05-13 01:35:33 +00:00
Gregory P. Smith
6fafca4e1d
Added comment/docstring/revision header.
2000-05-12 01:58:29 +00:00
Gregory P. Smith
17f641c143
Fixed 'select_scheme()' so it doesn't override a directory attribute that's
...
already been set (eg. by a command-line option).
2000-05-12 01:54:50 +00:00
Gregory P. Smith
74ead8ff5d
Added --skip-build option, so lazy debuggers/testers (mainly me) don't
...
have to wade through all the 'build' output when testing installation.
2000-05-12 01:46:47 +00:00
Gregory P. Smith
f8f2b98bdd
Caught up with renaming in 'install_misc' base class.
2000-05-12 01:34:33 +00:00
Gregory P. Smith
ae988a57d2
Deleted some cruft.
...
Caught up with renaming in 'install_misc' base class.
Changed 'run()' to chmod installed scripts under Unix.
2000-05-12 01:32:30 +00:00
Gregory P. Smith
b2e3bb3d6a
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.)
2000-05-12 00:52:23 +00:00
Gregory P. Smith
6cd0c43366
Fix from Lyle Johnson: add the '--compiler' option.
...
Also added creation of 'implib_dir', a temporary directory specific to
MSVC++ -- but I checked in two ways of fixing it (Lyle's and mine),
because I'm not sure which is right.
2000-05-12 00:34:12 +00:00
Gregory P. Smith
9668b78b9f
Fix from Lyle Johnson: add the '--compiler' option.
2000-05-12 00:33:14 +00:00