| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
|
| |
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
- '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
|
| |
|
|
|
| |
mere warnings.
Call 'findall()' on our FileList object before we start using it seriously.
|
| |
|
|
|
| |
instance instead of a list of filenames. Simplifies the "sdist" command
only a bit, but should allow greater simplification of FileList.
|
| |
|
|
|
| |
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.
|
| | |
|
| |
|
|
| |
Comment tweak.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
temporary directory ('bdist_base').
Added --dist-dir option to control where the executable is put.
|
| | |
|
| |
|
|
| |
they place their output files.
|
| |
|
|
| |
defaults to 'dist' (ie. no longer in the distribution root).
|
| |
|
|
|
| |
misc/install.c, still needs to be updated, and it looks like a non-trivial
change.
|
| |
|
|
| |
otherwise just generate an '/export:' option.
|
| |
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
| |
'link_shared_object()'.
|