| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
according to the MS docs it enables exception-handling, and (according
to Alex Martelli <aleaxit@yahoo.com>) is needed to compile without
getting warnings from standard C++ library headers. Apparently
it doesn't cause any problems with C code, so I haven't bothered
conditionalizing the use of /GX.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
or ZIP file.
|
| |
|
|
|
|
| |
'--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.
|
|
|
|
| |
and is much better documented to boot.
|
|
|
|
| |
argument list.
|
|
|
|
|
|
|
|
|
| |
* use self.debug_print() for debug messages
* uses now copy.copy() to copy lists
* added 'shared_lib_extension=".dll"', ... , this is necessary if you
want use the compiler class outside of the standard distutils build
process.
* changed result type of check_config_h() from int to string
|
|
|
|
|
|
| |
* changed some list.extend([...]) to list.append(...)
* added '/g0' to compiler_options, so compiler doesn't
stop after 100 warnings
|
|
|
|
| |
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!).
|
|
|
|
|
| |
(allows the same FancyGetopt object to be used multiple times with different
option tables).
|
| |
|
|
|
|
|
| |
wasn't actually used anywhere.
Drop the "from xxx_util import*" backwards compability hacks.
|
| |
|
|
|
|
|
| |
MSVCCompiler's version, to aid in factoring common code out of the two
classes when the time comes).
|
| |
|
| |
|
| |
|
|
|
|
|
| |
the --help-formats output. Also moved that list up so it's more obvious
when adding formats.
|
|
|
|
| |
the one in cmd.py).
|
| |
|
| |
|
|
|
|
| |
consistency.
|
|
|
|
|
|
|
|
|
|
|
| |
- added big comment describing possible problems
- look for and react to versions of gcc, ld, and dlltool; mainly
this is done by the 'get_versions()' function and the CygwinCCompiler
and Mingw32CCompiler constructors
- move 'check_config_h()' to end of file and defer calling it until
we need to (ie. in the CygwinCCompiler constructor)
- lots of changes in 'link_shared_object()' -- mostly seems to be
library and DLL stuff, but I don't follow it entirely
|
|
|
|
| |
in '_init_nt()' (they were kludges for CygwinCCompiler and no longer needed).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
it so BCPPCompiler actually works, so I'm provisionally accepting it
-- ugly and working is better than not working! Major changes:
- normalize paths (apparently BC++ doesn't like slashes)
- overhauled how we search for and specify libraries on the linker
command-line
- hacked up 'find_library_file()' so it knows about "debug" library
naming convention as well as "bcpp_xxx.lib" -- the question is,
is this a well-established and sensible convention?
Also:
- change to use 'util.write_file()' to write the .def file
|
| |
|
|
|
|
|
| |
'export_symbols' can be None (not sure this is a good idea: it's inconsistent
with every other instance attribute of Extension).
|
| |
|
|
|
|
|
| |
the linker leaves the (temporary) .lib file in the temporary dir. (Moved
from 'msvc_prelink_hack()' method in build_ext.py.)
|
|
|
|
|
|
|
|
|
|
|
| |
- '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.
|
|
|
|
|
|
|
|
|
|
|
| |
Added 'remove_duplicates()'.
Simplified constructor: no longer take 'files' or 'allfiles' as args,
and no longer have 'dir' attribute at all.
Added 'set_allfiles()' and 'findall()' so the client does have a
way to set the list of all files.
Changed 'include_pattern()' to use the 'findall()' method instead of
the external function. (Of course, the method is just a trivial
wrapper around the function.)
|
|
|
|
|
| |
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.
|