| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Distutils-based packages with C extension modules may fail because
Apple has removed gcc-4.2, the version used to build python.org
64-bit/32-bit Pythons. If the user does not explicitly override
the default C compiler by setting the CC environment variable,
Distutils will now attempt to compile extension modules with clang
if gcc-4.2 is required but not found. Also as a convenience, if
the user does explicitly set CC, substitute its value as the default
compiler in the Distutils LDSHARED configuration variable for OS X.
(Note, the python.org 32-bit-only Pythons use gcc-4.0 and the 10.4u
SDK, neither of which are available in Xcode 4. This change does not
attempt to override settings to support their use with Xcode 4.)
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The contents of this attribute are an implementation detail, as
documented for #9442, so we should not parse it, to support non-CPython
VMs with distutils2 in the future.
Unfortunately, one use comes directly from PEP 345, so an edit will have
to be agreed before fixing the code (see comment in p7g.markers).
Other remaining uses are found in p7g.compiler and could be replaced by
the platform module (which also parses sys.version, but then it wouldn’t
be my fault :)
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
- Change the fixers used in tests to something not provided by lib2to3
- Test conversion of doctests in text files
- Factor out test boilerplate into a common method
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes a regression from distutils, where “setup.py --help-commands”
prints out commands grouped by topic (i.e. building vs. installing),
which is more useful than using sorted.
|
| | |
| | |
| | |
| | | |
Closes #13921.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
__file__ being an absolute path when the module is found in the
current directory.
|
| | |
| | |
| | |
| | | |
importlib._bootstrap._setup().
|
| | |
| | |
| | |
| | | |
function.
|
| | |
| | |
| | |
| | | |
a terminal.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
os.get_terminal_size (low level) and shutil.get_terminal_size (high level).
Patch by Zbigniew Jędrzejewski-Szmek.
|
| | | |
|
| | | |
|
|\ \ \
| | |/
| |/|
| | | |
can't be called reliably from a worker thread.
|
| | |
| | |
| | |
| | | |
can't be called reliably from a worker thread.
|
| | |
| | |
| | |
| | | |
ProgrammingError now.
|
| |/
|/|
| |
| |
| | |
sockets, and set FILE_FLAG_FIRST_PIPE_INSTANCE on named pipes, to make sure two
listeners can't bind to the same socket/pipe (or any existing socket/pipe).
|
| |
| |
| |
| | |
with a subsecond resolution
|
| |
| |
| |
| | |
debugging
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
implementation of __import__ is used.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
be consistent with other functions accepting file descriptors (fdlistdir() was
added in 3.3, so hasn't been released yet).
|
|/ / |
|
| |
| |
| |
| |
| | |
Reported by David-Sarah Hopwood on the Bitbucket bug tracker of
Tarek’s former verlib/distutils.version project.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Patch by Guilherme Polo and Roger Serwy.
|
|\ \
| |/
| |
| | |
#13933 refine patch using 'new' builtin
|
| | |
|
| |
| |
| |
| | |
descriptors.
|
|\ \
| |/ |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | | |
This dict entry is added a few lines after if the bzip2 module is
available, but removing this line was forgotten.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug reported by Hartmut Goebel and patch contributed by Carl Robben.
Carl tested the fix and we have a buildbot with rpm installed, so I’m
committing even though I could not run this test (but I do understand
the changed code :)
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
pysetup create, the setup.cfg creation helper, used to convert
package_data (from an existing setup.py) into extra_files, the
replacement for MANIFEST.in, but these files are only present in sdists,
not installed: they don’t have the same use case at all, so converting
one into the other did not work.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Even though the resources system obsoletes data_files and package_data
(see bug discussion), package_data still exists to allow compatibility
with distutils and thus an easier transition. In setup.py, the values
are lists of glob patterns, so the setup.cfg syntax needed a way to
express multiple values too.
Doc for this option will be added later as part of the big packaging doc
patches. For now, the test serves as example.
Reported by Erik Bray.
|