| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Report and patch by Richard Jones.
|
| |
|
|
|
| |
Independently found and fixed by me (with help from Luis Rojas) and
Janusz Lewandowski.
|
| | |
|
| |
|
|
| |
effect, --force option has been removed
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
Tarek and I agreed that maintaining doc in two places was wasteful, so
I?m going to point people to the packaging docs in Python 3.3.
Most of them apply as is to distutils2, except for the module name and a
few other things that I?ll fix later (like the logger name or the HTTP
user agent string).
I will put up a simple page with links on packages.python.org to replace
the old doc.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
These regex changes fix a number of issues on Windows:
- #6884: impossible to include a file starting with 'build'
- #9691 and #14004: sdist includes too many files
- #13193: test_manifest failures
Thanks to Nadeem Vawda for his help.
|
| |
|
|
| |
Patch by Tshepang Lekhonkhobe.
|
| | |
|
| |
|
|
|
|
|
| |
pysetup create used to convert package_data from an existing setup.py
into extra_files, 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.
Reported by Erik Bray.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
This method was named reinitialize_command in distutils and accompanied
by a comment suggesting to change it to get_reinitialized_command.
Following that, I did the change for distutils2, but it proved
confusing: The Distribution object has an internal cache of command
objects, to make sure only one instance is ever used, and the name
get_reinitialized_command could suggest that the object returned was
independent of that cache, which it was not. I?m reverting the name
change to make code clearer.
|
| |
|
|
|
|
| |
I need this for some tests, and it makes code clearer. This commit also
changes some assertEqual calls to use (actual, expected) order and fix
some pyflakes warnings.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All code (util.byte_compile, build_py, install_lib) can now create .pyc
and/or.pyo files according to options given by users, without
interference from the calling Python?s own optimize mode or from the
sys.dont_write_bytecode switch.
The rationale is that packaging gives control over the creation of
.pyc/.pyo files to the user with its own explicit option, and the
behavior should not be changed if the calling Python happens to run with
-B or -O for whatever reason.
This is actually a bug fix, not an improvement: Digging into the early
history of distutils shows that the original author wanted this behavior
(see for example comments in build_py in r12940).
|
| |
|
|
|
|
| |
One test fails on versions older than 2.6 because of a change in
fnmatch; we?re discussing how best to fix that on the bug tracker and
another commit will follow up.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
object has it as an attribute
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|