| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
encoding anymore : DistributionMetada returns utf8 strings
|
| |
|
| |
|
|
|
|
| |
distutils.dist.DistributionMetadata so we can read back PKG-INFO files
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
and improved test coverage
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
non-ascii characters and Unicode in setup.py meta-data.
|
| |
|
|
|
|
|
|
| |
If configparser is unavailable, try to import configparser using its
old name. This is required for backward-compatibility with older
Python versions.
|
|
|
|
|
|
| |
As explained by Marc-Andre Lemburg, distutils needs to stay
backward-compatible. Therefore, it should use the old ConfigParser
module name.
|
|
|
|
|
|
|
|
| |
Updated the documentation to use the new name.
Revert addition of the stub entry for the old name.
Georg, I am reverting your changes since this commit should propagate
to py3k.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Allow multiple repositories in .pypirc; see http://wiki.python.org/moin/EnhancedPyPI
for discussion.
The patch is slightly revised from Tarek's last patch: I've simplified
the PyPIRCCommand.finalize_options() method to not look at sys.argv.
Tests still pass.
|
|
|
|
|
|
| |
callable() from copy_reg.py, so the interpreter now starts up
without warnings when '-3' is given. More work like this needs to
be done in the rest of the stdlib.
|
|
|
|
| |
so that bdist_wininst can specify 'any'.
|
|
|
|
| |
outputs with the distribution object.
|
|
|
|
|
| |
- fix indentation to conform to the Python style guide
- add more tests and documentation
|
|
|
|
| |
added support for the provides, requires, and obsoletes metadata fields
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This support was only a first cut, and doesn't deserve to be in
a released version (where we have to support it in an ongoing
manner)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
scripts without modifying either the distutils installation or the
setup.py scripts of packages with which the new commands will be used.
Specifically, an option is added to distutils that allows additional
packages to be searched for command implementations in addition to
distutils.command. The additional packages can be specified on the
command line or via the installation or personal configuration files
already loaded by distutils.
For discussion, see the thread starting with:
http://mail.python.org/pipermail/distutils-sig/2004-August/004112.html
This closes SF patch #102241.
|
| |
|
|
|
|
|
|
|
| |
This is basically the support for package data from Phillip Eby's
setuptools package. I've changed it only to fit it into the core
implementation rather than to live in subclasses, and added
documentation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
requires and provides. requires is a sequence of strings, of the
form 'packagename-version'. The dependency checking so far merely
does an '__import__(packagename)' and checks for packagename.__version__
You can also leave off the version, and any version of the package
will be installed.
There's a special case for the package 'python' - sys.version_info
is used, so
requires= ( 'python-2.3', )
just works.
Provides is of the same format as requires - but if it's not supplied,
a provides is generated by adding the version to each entry in packages,
or modules if packages isn't there.
Provides is currently only used in the PKG-INFO file. Shortly, PyPI
will grow the ability to accept these lines, and register will be
updated to send them.
There's a new command 'checkdep' command that runs these checks.
For this version, only greater-than-or-equal checking is done. We'll
add the ability to specify an optional operator later.
|
|
|
|
|
| |
suggested approach to dealing with it isn't a good one; we need a
better general purpose config reader, not a distutils-specific reader
|
|
|
|
| |
From SF patch #852334.
|
|
|
|
| |
This patch makes it work again.
|
| |
|
|
|
|
| |
Add 'classifiers' keyword to DistributionMetadata
|
|
|
|
| |
suggested by PEP 291.
|
|
|
|
| |
is often out of date
|
| |
|
|
|
|
|
|
|
|
|
|
| |
arguments, triggering a warning instead of raising an exception. (In
1.5.2/2.0, it will print to stderr.)
Bugfix candidate for all previous versions. This changes behaviour,
but the old behaviour wasn't very useful. If Distutils version X+1
adds a new keyword argument, using the new keyword means your setup.py
file won't work with Distutils version X any more.
|
|
|
|
|
| |
Note that distutils.core.DEBUG still works if client code uses it, but
the core code avoids circular references by using distutils.debug.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a conservative version of SF patch 504889. It uses the log
module instead of calling print in various places, and it ignores the
verbose argument passed to many functions and set as an attribute on
some objects. Instead, it uses the verbosity set on the logger via
the command line.
The log module is now preferred over announce() and warn() methods
that exist only for backwards compatibility.
XXX This checkin changes a lot of modules that have no test suite and
aren't exercised by the Python build process. It will need
substantial testing.
|