summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/dist.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #7748: now upload and register commands don't need to force the ↵Tarek Ziadé2010-01-241-10/+14
| | | | encoding anymore : DistributionMetada returns utf8 strings
* massive import cleaning in DistutilsTarek Ziadé2009-12-211-1/+2
|
* removed the usage of rfc822 in favor of email.message.MessageTarek Ziadé2009-12-081-32/+31
|
* Issue #7457: added a read_pkg_file method to ↵Tarek Ziadé2009-12-081-17/+74
| | | | distutils.dist.DistributionMetadata so we can read back PKG-INFO files
* Fixed #1180: Option to ignore ~/.pydistutils.cfg in DistutilsTarek Ziadé2009-10-271-5/+30
|
* replace callable()Benjamin Peterson2009-10-091-1/+1
|
* #6954: Fixed crash when using DISTUTILS_DEBUG flag in Distutils.Tarek Ziadé2009-09-211-1/+1
|
* using print statements when used for user interactionTarek Ziadé2009-07-041-11/+11
|
* Fixed #6413: fixed log level in distutils.dist.announceTarek Ziadé2009-07-041-2/+2
|
* improved distutils.dist test coverage, pep-8 compliancyTarek Ziadé2009-06-011-55/+52
|
* removed sys.platform == 'mac' support in distutils.dist.parse_command_line ↵Tarek Ziadé2009-05-171-6/+0
| | | | and improved test coverage
* pep8-fied distutils.dist moduleTarek Ziadé2009-05-161-93/+37
|
* Fix bootstrapping by removing uses of the copy module in distutilsAntoine Pitrou2009-05-151-2/+1
|
* Removing unused __main__ sectionsTarek Ziadé2009-02-221-5/+0
|
* Issue #5052: removed backward compatibility information (out of date)Tarek Ziadé2009-01-251-2/+0
|
* fixed #4394 make the storage of the password optional in .pypircTarek Ziadé2009-01-081-0/+1
|
* fixed #4646 : distutils was choking on empty options arg in the setup function.Tarek Ziadé2008-12-291-1/+1
|
* Issue #2562: Fix distutils PKG-INFO writing logic to allow havingMarc-André Lemburg2008-09-031-13/+25
| | | | non-ascii characters and Unicode in setup.py meta-data.
* ConfigParser renaming reversal part 3: move module into place and adapt imports.Georg Brandl2008-05-251-5/+1
|
* Fixed import of configparser in the distutils module.Alexandre Vassalotti2008-05-161-2/+5
| | | | | | If configparser is unavailable, try to import configparser using its old name. This is required for backward-compatibility with older Python versions.
* Revert distutils changes done in r63248.Alexandre Vassalotti2008-05-151-1/+1
| | | | | | As explained by Marc-Andre Lemburg, distutils needs to stay backward-compatible. Therefore, it should use the old ConfigParser module name.
* Updated import statements to use the new `configparser` module name.Alexandre Vassalotti2008-05-141-1/+1
| | | | | | | | 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.
* #1858: re-apply patch for this, adding the missing filesAndrew M. Kuchling2008-05-111-4/+3
|
* Revert r62998 as it broke the build (seems distutils.config is missing).Brett Cannon2008-05-101-3/+4
|
* #1858 from Tarek Ziade:Andrew M. Kuchling2008-05-101-4/+3
| | | | | | | | | 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.
* Removed uses of dict.has_key() from distutils, and uses ofGuido van Rossum2008-02-211-4/+4
| | | | | | 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.
* Make dist_files a triple, with the Python target version included,Martin v. Löwis2005-03-231-3/+9
| | | | so that bdist_wininst can specify 'any'.
* Add the upload command. Make all dist commands register theirMartin v. Löwis2005-03-211-0/+5
| | | | outputs with the distribution object.
* - rename check_provision() to split_revision()Fred Drake2005-03-211-5/+1
| | | | | - fix indentation to conform to the Python style guide - add more tests and documentation
* PEP 314 implementation (client side):Fred Drake2005-03-201-23/+86
| | | | added support for the provides, requires, and obsoletes metadata fields
* Patch #1104111: Alter setup.py --help and --help-commands.Martin v. Löwis2005-03-031-1/+10
|
* Update compatibility comments to 2.1, corresponding to PEP 291 1.13.Martin v. Löwis2004-11-101-1/+1
|
* oops. how did _that_ happen?Anthony Baxter2004-10-131-0/+1
|
* Backing out the basic dependency checking (from pycon sprint).Anthony Baxter2004-10-131-60/+1
| | | | | | 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)
* This allows additional commands to be provided for existing setup.pyFred Drake2004-08-031-22/+62
| | | | | | | | | | | | | | | | | 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.
* Whitespace normalization, via reindent.py.Tim Peters2004-07-181-2/+2
|
* Add support for package data.Fred Drake2004-06-111-0/+1
| | | | | | | 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.
* Basic dependency checking. setup() has two new optional argumentsAnthony Baxter2004-03-221-1/+59
| | | | | | | | | | | | | | | | | | | | | | | 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.
* commentary about how bad ConfigParser is doesn't help here, and theFred Drake2004-02-171-3/+1
| | | | | suggested approach to dealing with it isn't a good one; we need a better general purpose config reader, not a distutils-specific reader
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-121-2/+2
| | | | From SF patch #852334.
* [Bug #693470] 'licence' as an alias for 'license' doesn't work.Andrew M. Kuchling2003-03-031-1/+10
| | | | This patch makes it work again.
* [Patch #683939] Add download_url field to metadataAndrew M. Kuchling2003-02-191-1/+8
|
* [Patch #658094] PEP 301 implementationAndrew M. Kuchling2003-01-031-1/+12
| | | | Add 'classifiers' keyword to DistributionMetadata
* Add comment to Distutil files about requiring 1.5.2 compatibility, asAndrew M. Kuchling2002-11-191-0/+2
| | | | suggested by PEP 291.
* Remove 'created by' lines; people can use CVS for this, and the information ↵Andrew M. Kuchling2002-11-141-3/+0
| | | | is often out of date
* Catch only ImportErrorAndrew M. Kuchling2002-10-311-1/+1
|
* Make the Distribution() constructor forgiving of unknown keywordAndrew M. Kuchling2002-10-311-2/+11
| | | | | | | | | | 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.
* Use distutils.debug.DEBUG instead of distutils.core.DEBUG.Jeremy Hylton2002-09-111-1/+1
| | | | | Note that distutils.core.DEBUG still works if client code uses it, but the core code avoids circular references by using distutils.debug.
* Use module-level import of DEBUG instead of many function-level imports.Jeremy Hylton2002-06-041-4/+1
|
* Make setup.py less chatty by default.Jeremy Hylton2002-06-041-10/+6
| | | | | | | | | | | | | | | 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.