aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/dist.py
Commit message (Collapse)AuthorAgeFilesLines
* Backport all known 2.5-compatibility fixesPJ Eby2006-09-201-17/+17
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051935
* * Fixed ``AttributeError`` when trying to download a ``setup_requires``PJ Eby2006-07-141-2/+2
| | | | | | | | | | | | | | | | | dependency when a distribution lacks a ``dependency_links`` setting. * Made ``zip-safe`` and ``not-zip-safe`` flag files contain a single byte, so as to play better with packaging tools that complain about zero-length files. * Made ``setup.py develop`` respect the ``--no-deps`` option, which it previously was ignoring. (bug fixes backported from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050659
* Backport 'module' fixes to 0.6PJ Eby2006-04-241-5/+5
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4045696
* Added ``test_loader`` keyword to support custom test loaders.PJ Eby2006-03-291-9/+9
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043430
* Implement dependency_links feature, courtesy of Tres Seaver's roughPJ Eby2006-03-291-10/+10
| | | | | | | | draft of a patch. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043423
* Fix setup_requires/tests_require/etc. not using setup.cfg or otherPJ Eby2006-02-281-11/+11
| | | | | | | | config files for option defaults. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042684
* When installing setup_requires/tests_require packages, usePJ Eby2006-02-281-1/+1
| | | | | | | | --multi-version so that '.' doesn't have to support .pth files. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042681
* Workaround for packages that think 'version' is a number.PJ Eby2006-02-121-4/+4
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042337
* First draft of shared library build support. See tests/shlib_testPJ Eby2006-01-051-2/+2
| | | | | | | | | | for a trivial example. This has only been tested on Windows with a MinGW compiler, and the Mac OS support isn't finished. Testing w/other platforms+compilers would be helpful. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041927
* Added the ``exclude_package_data`` keyword to ``setup()``, allowing youPJ Eby2005-12-151-14/+14
| | | | | | | | | to trim back files included via the ``package_data`` and ``include_package_data`` options. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041693
* Added ``tests_require`` keyword to ``setup()``, so that e.g. packagesPJ Eby2005-11-191-3/+3
| | | | | | | | | requiring ``nose`` to run unit tests can make this dependency optional unless the ``test`` command is run. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041483
* Fixed some problems with fresh checkouts of projects that don't includePJ Eby2005-11-051-15/+15
| | | | | | | | | | | | | | | | ``.egg-info/PKG-INFO`` under revision control and put the project's source code directly in the project directory. If such a package had any requirements that get processed before the ``egg_info`` command can be run, the setup scripts would fail with a "Missing 'Version:' header and/or PKG-INFO file" error, because the egg runtime interpreted the unbuilt metadata in a directory on ``sys.path`` (i.e. the current directory) as being a corrupted egg. Setuptools now monkeypatches the distribution metadata cache to pretend that the egg has valid version information, until it has a chance to make it actually be so (via the ``egg_info`` command). --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041401
* Minor refactoring of code that checks a distribution's contents.PJ Eby2005-08-141-10/+10
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041203
* On second thought, don't. :( Walter Doerwald's situation isn't reallyPJ Eby2005-08-141-1/+1
| | | | | | | | | compatible with namespace packages, even if I do manage to hack up a way to make it work. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041200
* Allow distributing an empty namespace package.PJ Eby2005-08-141-1/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041199
* Got rid of the no-longer meaningful "depends" command. Consolidated thePJ Eby2005-08-061-49/+8
| | | | | | | | | | | | replacement of the "install" command so that installation is always via easy_install, but doesn't use the previous kludgy intereception technique. Allow ``extra_path`` to be set, but ignore it, so that when easy_install wraps a package that uses it, there won't be any confusion as to the desired installation location. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041181
* Enhanced setuptools infrastructure to support distutils extensions thatPJ Eby2005-08-061-107/+189
| | | | | | | | | | can be plugged in at setup() time to define new setup() arguments or distutils commands. This allows modularization and reuse of distutils extensions in a way that was previously not possible. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041180
* Misc. bug fixes and doc additions. Add 'iter_entry_points()' API.PJ Eby2005-07-251-10/+10
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041153
* Implement "entry points" for dynamic discovery of drivers and plugins.PJ Eby2005-07-241-14/+55
| | | | | | | | | | Change setuptools to discover setup commands using an entry point group called "distutils.commands". Thanks to Ian Bicking for the suggestion that led to designing this super-cool feature. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041152
* Fix eager resource extraction. Add eager_resources setup() argument. AddPJ Eby2005-07-241-14/+55
| | | | | | | | | support for obtaining project-level resources by making get_provider() accept Requirement objects. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041151
* Implement ``namespace_packages`` keyword to ``setup()``. Added keywordPJ Eby2005-07-101-26/+67
| | | | | | | | summary to setuptools doc. Begin work on ``zip_safe`` flag. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041113
* Detect and handle conflicts with "unmanaged" packages when installingPJ Eby2005-07-101-4/+4
| | | | | | | | | packages managed by EasyInstall. Also, add an option to exclude source files from .egg distributions. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041109
* Added support for defining command aliases in distutils configurationPJ Eby2005-07-081-1/+42
| | | | | | | | | | | files, under the "[aliases]" section. To prevent recursion and to allow aliases to call the command of the same name, a given alias can be expanded only once per command-line invocation. You can define new aliases with the "alias" command, either for the local, global, or per-user configuration. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041094
* Beefed up the "sdist" command so that if you don't have a MANIFEST.in, itPJ Eby2005-07-071-2/+2
| | | | | | | | | | | | will include all files under revision control (CVS or Subversion) in the current directory, and it will regenerate the list every time you create a source distribution, not just when you tell it to. This should make the default "do what you mean" more often than the distutils' default behavior did, while still retaining the old behavior in the presence of MANIFEST.in. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041087
* Made ``easy_install`` a standard ``setuptools`` command, moving it fromPJ Eby2005-07-061-1/+1
| | | | | | | | | | | the ``easy_install`` module to ``setuptools.command.easy_install``. Note that if you were importing or extending it, you must now change your imports accordingly. ``easy_install.py`` is still installed as a script, but not as a module. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041079
* Fix a problem using bdist_egg with non-setuptools distributions.PJ Eby2005-07-041-1/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041076
* EasyInstall/setuptools 0.5a4: significant new features, including automaticPJ Eby2005-06-271-55/+96
| | | | | | | | | installation of dependencies, the ability to specify dependencies in a setup script, and several new options to control EasyInstall's behavior. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041073
* Add bootstrap installation support that "hitches a ride" on other packagesPJ Eby2005-06-151-12/+12
| | | | | | | | | | being installed via the normal distutils "setup.py install". Also, don't repeatedly download the setuptools egg if it's already in the target location. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041069
* Restructure easy_install as a distutils "Command" object, so that it canPJ Eby2005-06-121-2/+81
| | | | | | | | | | access the distutils configuration and logging infrastructure, and can "inherit" options from a distutils setup script that wants to use it to install its own dependencies. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041052
* fix to make things continue to work when we're *not* running underFred Drake2004-06-151-2/+4
| | | | | | | | | Python 2.4; this was broken by my earlier change to avoid stomping on Python 2.4's build_py command --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040902
* Deal with the distutils on the head; package_data may already be supported.Fred Drake2004-06-141-3/+4
| | | | | | | | In this case, setuptools need not override the build_py command. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040900
* Compute command line that should be passed to child setup scripts.PJ Eby2004-03-221-0/+41
| | | | | | | | | Warn user if unsupported options are supplied, and cancel unless 'depends -i' (aka '--ignore-extra-args') was used. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040880
* Flesh out 'depends' command to display dependencies' status, and halt ifPJ Eby2004-03-201-9/+7
| | | | | | | | | | | | | | | | | | | | | all requirements aren't met. (Also, check planned install location for the dependencies, as well as checking sys.path.) Also: * Allow 'Feature()' objects to include 'Require()' objects, so that dependencies can be optional * 'Require()' objects can set a homepage, whose URL will be displayed by the 'depends' command if the dependency needs to be installed. * Misc. fixes/refactoring of version validation to properly handle "unknown" versions, and to decouple version fetching from version checking. * Updated TODO to remove various completed items. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040876
* Initial checkin of setuptools 0.0.1.PJ Eby2004-03-191-0/+453
--HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040869