| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
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.
|
| | |
|
| |
|
|
| |
generated filenames.
|
| |
|
|
|
| |
interpreter the .spec file refers to.
Cosmetic tweaks.
|
| |
|
|
|
|
|
|
| |
used to create the distribution and the creation date.
Takes care of the extra_path argument to the setup function,
installs the modules into <prefix>/extra_path and creates
a -pth file (like install_lib does).
|
| |
|
|
| |
for python installations, not only under HKEY_LOCAL_MACHINE.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
distutils/command/bdist_wininst.py:
- the windows installer is again able to compile after installing
the files. Note: The default has changed, the packager has to
give --no-target-compile/--no-target-optimize to NOT compile
on the target system. (Another note: install_lib's --compile
--optimize options have the same semantics to switch off
the compilation. Shouldn't the names change?)
- All references to specific python versions are gone.
- A small bug:
raise DistutilsPlatformError ("...")
instead of
raise DistutilsPlatformError, ("...")
- When bdist_wininst creates an installer for one specific python
version, this is reflected in the name:
Distutils-0.9.2.win32-py15.exe instead of
Distutils-0.9.2.win32.exe
- bdist_wininst, when run as script, reads the wininst.exe file
and rewrites itself. Previously this was done by hand.
misc/install.c
- All the changes needed for compilation
- Deleted a lot of debug/dead code
|
| | |
|
| |
|
|
|
|
| |
- 'mkpath()' the distribution dir in case of empty manifest
- warn if empty manifest
- detect, warn about, and skip non-regular files in manifest
|
| |
|
|
|
| |
bug to boot: now works even if both MANIFEST and MANIFEST.in don't exist.
Don't hardcode setup.py, use 'self.distribution.script_name'.
|
| | |
|
| |
|
|
|
|
|
| |
* ensure the "dist" directory exists
* raise exception if using for modules containing compiled extensions
on a non-win32 platform.
* don't create an .ini file anymore (it was just for debugging)
|
| |
|
|
|
|
|
|
| |
Changed 'core.setup()' so it sets them to reasonable defaults.
Tweaked how the "usage" string is generated: 'core' now provides
'gen_usage()', which is used instead of 'USAGE'.
Modified "build_py" and "sdist" commands to refer to
'self.distribution.script_name' rather than 'sys.argv[0]'.
|
| |
|
|
| |
Fix bad operator precedence: should be "(metadata or '') + '\n'".
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The known bug (bogus error message when an empty file is
extracted) is fixed.
Other changes:
- The target-compile and target-optimize flags of bdist_wininst
are gone. It is no longer possible to compile the python
files during installation.
- The zlib module is no longer required or used by bdist_wininst.
- I moved the decompression/extraction code into a separate
file (extract.c).
- The installer stub is now compressed by UPX (see
http://upx.tsx.org/). This reduces the size of the exe
(and thus the overhead of the final installer program)
from 40 kB to 16 kB.
- The installer displays a more uptodate user wizard-like
user interface, also containing a graphic: Just's Python Powered logo.
(I could not convince myself to use one of the BeOpen logos).
- The installation progress bar now moves correctly.
|
| |
|
|
| |
don't assign None to any attributes of the Extension object.
|
| |
|
|
| |
in archive_util.py.
|
| |
|
|
| |
'--source-only' options.
|
| |
|
|
|
| |
hack to find the two created RPM files (source and binary) and
move them to the "dist dir" (default "dist").
|
| |
|
|
|
| |
represents packages as strings, not tuples. This allowed a simplification
in 'get_package_dir()', too -- can now assume that 'package' is a string.
|
| |
|
|
| |
by the user.
|
| |
|
|
|
|
| |
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!).
|
| | |
|
| |
|
|
|
| |
the --help-formats output. Also moved that list up so it's more obvious
when adding formats.
|
| |
|
|
| |
consistency.
|