summaryrefslogtreecommitdiff
path: root/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* Snapshot pre-merger changes, mostly SSL support and a few bugfixesphillip.eby2013-05-151-17/+17
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@88994 6015fed2-1504-0410-9fe1-9d1591cc4771
* Major updates and fixes include:phillip.eby2009-10-121-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix for the Python 2.6.3 build_ext API change * Support for the most recent Sourceforge download link insanity * Support for SVN 1.6 * Stop crashing on certain types of HTTP error * Stop re-trying URLs that already failed retrieval once * Fixes for various dependency management problems such as looping builds, re-downloading packages already present on sys.path (but not in a registered "site" directory), and randomly preferring local -f packages over local installed packages * Prevent lots of spurious "already imported from another path" warnings (e.g. when pkg_resources is imported late) * Ensure C libraries (as opposed to extensions) are also built when doing bdist_egg * Fixed running the "test" command under Python 2.6+ Other changes: * Misc. documentation fixes * Improved Jython support * Fewer warnings under Python 2.6+ * Warn when 'packages' uses paths instead of package names (because it causes other problems, like spurious "already imported" warnings) * Stop using /usr/bin/sw_vers on Mac OS (replaced w/'platform' module calls) Note: This is NOT a merge from Distribute; upon review, many of the tracker-submitted patches used as a basis for forking were incorrect, incomplete, introduced new bugs, or were not addressing the root causes. (E.g., one of the changes in this patch fixes three superficially unrelated issues in the setuptools bug tracker.) Careful review will be required if you want to merge this work back into Distribute. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@75384 6015fed2-1504-0410-9fe1-9d1591cc4771
* Added 'test_runner'. (Note: this is a new feature and should notphillip.eby2008-08-211-0/+1
| | | | | | | be backported to the 0.6 branch.) git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@65966 6015fed2-1504-0410-9fe1-9d1591cc4771
* Remove all references to the Cheese Shop, and switch to usingphillip.eby2007-09-041-1/+1
| | | | | | | the new PyPI "/simple" REST API. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@57964 6015fed2-1504-0410-9fe1-9d1591cc4771
* Switch default package-index to cheeseshop.python.org, and make phillip.eby2006-12-291-1/+1
| | | | | | | setuptools' home page its cheeseshop page. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@53195 6015fed2-1504-0410-9fe1-9d1591cc4771
* New installation instructions and creditsphillip.eby2006-12-291-17/+17
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@53175 6015fed2-1504-0410-9fe1-9d1591cc4771
* Add support for "eggsecutable" headers: a /bin/sh script that is prependedphillip.eby2006-09-221-6/+6
| | | | | | | | | to an .egg file to allow it to be run as a script on Unix-ish platforms. (This is mainly so that setuptools itself can have a single-file installer on Unix, without doing multiple downloads, dealing with firewalls, etc.) git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@51968 6015fed2-1504-0410-9fe1-9d1591cc4771
* Backport pkgutil, pydoc, and doctest from the 2.5 trunk to setuptools phillip.eby2006-04-181-5/+5
| | | | | | | | | | | | | 0.7 trunk. (Sideport?) Setuptools 0.7 will install these in place of the 2.3/2.4 versions (at least of pydoc and doctest) to let them work properly with eggs. pkg_resources now depends on the 2.5 pkgutil, which is included here as _pkgutil, to work around the fact that some system packagers will install setuptools without overriding the stdlib modules. But users who install their own setuptools will get them, and the system packaged people probably don't need them. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@45514 6015fed2-1504-0410-9fe1-9d1591cc4771
* First round of prepping setuptools for inclusion in Python 2.5: move phillip.eby2006-04-141-15/+15
| | | | | | | | site.py to setuptools/site-patch.py; reinstate 'python -m easy_install' support; use distutils' "upload" command when running under 2.5. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@45405 6015fed2-1504-0410-9fe1-9d1591cc4771
* Bump trunk version # to 0.7a1.dev, and clear out old version history phillip.eby2006-04-141-1/+1
| | | | | | | from release notes. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@45400 6015fed2-1504-0410-9fe1-9d1591cc4771
* Bump version to 0.6a12dev... but hopefully it will in fact be 0.6b1.phillip.eby2006-03-301-1/+1
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@43434 6015fed2-1504-0410-9fe1-9d1591cc4771
* Added ``test_loader`` keyword to support custom test loaders.phillip.eby2006-03-291-22/+22
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@43430 6015fed2-1504-0410-9fe1-9d1591cc4771
* Added ``setuptools.file_finders`` entry point group to allow implementingphillip.eby2006-03-291-3/+3
| | | | | | | revision control plugins. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@43428 6015fed2-1504-0410-9fe1-9d1591cc4771
* Implement dependency_links feature, courtesy of Tres Seaver's rough phillip.eby2006-03-291-4/+4
| | | | | | | draft of a patch. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@43423 6015fed2-1504-0410-9fe1-9d1591cc4771
* Enhanced test loader to scan packages as well as modules, and callphillip.eby2006-03-281-1/+1
| | | | | | | ``additional_tests()`` if present to get non-unittest tests. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@43412 6015fed2-1504-0410-9fe1-9d1591cc4771
* Added ``easy_install-N.N`` script(s) for convenience when using multiplephillip.eby2006-03-201-4/+4
| | | | | | | Python versions. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@43177 6015fed2-1504-0410-9fe1-9d1591cc4771
* bump version #phillip.eby2006-02-211-1/+1
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42547 6015fed2-1504-0410-9fe1-9d1591cc4771
* Bump version number to start the 0.6a10dev cycle.phillip.eby2006-01-051-1/+1
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41914 6015fed2-1504-0410-9fe1-9d1591cc4771
* Fix typo. :(phillip.eby2005-12-201-1/+1
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41780 6015fed2-1504-0410-9fe1-9d1591cc4771
* Changes so that upgrading an existing setuptools to a developmentphillip.eby2005-12-201-6/+6
| | | | | | | | version doesn't lose its entry points by using the already-installed setuptools as a basis for generating them. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41776 6015fed2-1504-0410-9fe1-9d1591cc4771
* Added the ``exclude_package_data`` keyword to ``setup()``, allowing you phillip.eby2005-12-151-2/+2
| | | | | | | | to trim back files included via the ``package_data`` and ``include_package_data`` options. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41693 6015fed2-1504-0410-9fe1-9d1591cc4771
* Added ``tests_require`` keyword to ``setup()``, so that e.g. packagesphillip.eby2005-11-191-14/+14
| | | | | | | | requiring ``nose`` to run unit tests can make this dependency optional unless the ``test`` command is run. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41483 6015fed2-1504-0410-9fe1-9d1591cc4771
* Added the ``include_package_data`` keyword to ``setup()``, allowing you tophillip.eby2005-11-181-2/+2
| | | | | | | | | | automatically include any package data listed in revision control or ``MANIFEST.in``. Now projects can manage their data files and source manifests without having to maintain two ways to express the same file list. Yay! git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41473 6015fed2-1504-0410-9fe1-9d1591cc4771
* Bump version number to begin the 0.6a9 developent cyclephillip.eby2005-11-181-1/+1
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41470 6015fed2-1504-0410-9fe1-9d1591cc4771
* Switch setuptools to use 'dev-rNNNN' version tags by default, and configurephillip.eby2005-11-031-1/+1
| | | | | | | | so that people can use 'ez_setup.py setuptools==dev' to fetch the latest in-development version. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41381 6015fed2-1504-0410-9fe1-9d1591cc4771
* 0.6a7 bugfix releasephillip.eby2005-11-021-2/+2
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41377 6015fed2-1504-0410-9fe1-9d1591cc4771
* Prep for 0.6a6 release.pje2005-10-171-1/+1
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41264 6015fed2-1504-0410-9fe1-9d1591cc4771
* Significantly enhanced support and docs for "non-root" installation,pje2005-10-171-1/+1
| | | | | | | | | | | | | | | | | | | including both "virtual" and PYTHONPATH-based installs. The activation precedence of distributions has also changed so that PYTHONPATH-based non-root installs can include eggs that override system-defined packages (whether managed or unmanaged). This version should eliminate most common installation complaints from non-root Python users. Note: this version includes a hacked 'site.py' to support processing .pth files in directories that come *before* site-packages on sys.path. However, because of its placement, it should only come into play when a user puts the setuptools .egg file *directly* on PYTHONPATH, so it doesn't affect "virtual" or "root" installations. It's strictly to provide support for luddites who refuse to give up their existing non-root PYTHONPATH setup unless you pry it from their cold, dead hands. :) git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41262 6015fed2-1504-0410-9fe1-9d1591cc4771
* 0.6a5 brown bag bug fix release.pje2005-09-291-1/+1
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41259 6015fed2-1504-0410-9fe1-9d1591cc4771
* Bugfixes. :(pje2005-09-291-1/+1
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41258 6015fed2-1504-0410-9fe1-9d1591cc4771
* 0.6a4 bugfix release.pje2005-09-261-1/+1
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41257 6015fed2-1504-0410-9fe1-9d1591cc4771
* 0.6a3 release.pje2005-09-241-1/+1
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41255 6015fed2-1504-0410-9fe1-9d1591cc4771
* Improve backward compatibility, so that users running easy_install.py orpje2005-09-241-6/+6
| | | | | | | python -m easy_install get a clearer error message. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41249 6015fed2-1504-0410-9fe1-9d1591cc4771
* setuptools 0.6a2 releasepje2005-09-181-1/+1
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41247 6015fed2-1504-0410-9fe1-9d1591cc4771
* Added support to solve the infamous "we want .py on Windows, nopje2005-09-171-5/+46
| | | | | | | | | | | | | extension elsewhere" problem, while also bypassing the need for PATHEXT on Windows, and in fact the need to even write script files at all, for any platform. Instead, you define "entry points" in your setup script, in this case the names of the scripts you want (without extensions) and the functions that should be imported and run to implement the scripts. Setuptools will then generate platform-appropriate script files at install time, including an .exe wrapper when installing on Windows. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41246 6015fed2-1504-0410-9fe1-9d1591cc4771
* Bump release version to 0.6a1. Fix a minor cosmetic issue on certainpje2005-08-221-1/+1
| | | | | | | ez_setup installs. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41224 6015fed2-1504-0410-9fe1-9d1591cc4771
* Allow distutils extensions to define new kinds of metadata that can bepje2005-08-061-22/+14
| | | | | | | | | written to EGG-INFO. Extensible applications and frameworks can thus make it possible for plugin projects to supply setup() metadata that can then be used by the application or framework. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41183 6015fed2-1504-0410-9fe1-9d1591cc4771
* Enhanced setuptools infrastructure to support distutils extensions thatpje2005-08-061-2/+10
| | | | | | | | | 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. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41180 6015fed2-1504-0410-9fe1-9d1591cc4771
* Misc. bugs reported by Ian Bicking and Ashley Walsh.pje2005-07-311-1/+1
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41168 6015fed2-1504-0410-9fe1-9d1591cc4771
* Implement "entry points" for dynamic discovery of drivers and plugins.pje2005-07-241-10/+10
| | | | | | | | | 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. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41152 6015fed2-1504-0410-9fe1-9d1591cc4771
* Massive API refactoring; see setuptools.txt changelog for details. Also,pje2005-07-181-1/+1
| | | | | | | | add ``#egg=project-version`` link support, and docs on how to make your package available for EasyInstall to find. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41136 6015fed2-1504-0410-9fe1-9d1591cc4771
* prep for 0.5a13 releasepje2005-07-161-1/+1
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41128 6015fed2-1504-0410-9fe1-9d1591cc4771
* Prep for 0.5a12 release; update docs.pje2005-07-131-1/+1
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41125 6015fed2-1504-0410-9fe1-9d1591cc4771
* Fixed not being able to use python -m easy_install.pje2005-07-121-1/+1
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41122 6015fed2-1504-0410-9fe1-9d1591cc4771
* Fix breakage of the "develop" command that was caused by the addition ofpje2005-07-121-1/+1
| | | | | | | | ``--always-unzip`` to the ``easy_install`` command. Bump version for bug fix release. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41120 6015fed2-1504-0410-9fe1-9d1591cc4771
* Bump version #.pje2005-07-121-1/+1
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41118 6015fed2-1504-0410-9fe1-9d1591cc4771
* Fix bugs and implement features reported/requested by folks on thepje2005-07-121-1/+1
| | | | | | | Distutils-SIG. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41117 6015fed2-1504-0410-9fe1-9d1591cc4771
* Update to 0.5a9, add zip_safe flag, and fix a doc error.pje2005-07-111-2/+2
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41116 6015fed2-1504-0410-9fe1-9d1591cc4771
* Remove old-style requirements from setup.py, to avoid confusing people whopje2005-07-091-9/+9
| | | | | | | look to it for an example of setuptools use. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41105 6015fed2-1504-0410-9fe1-9d1591cc4771
* Doc and other updates for 0.5a8 release. Add project aliases for sourcepje2005-07-081-2/+2
| | | | | | | and binary register+upload. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41100 6015fed2-1504-0410-9fe1-9d1591cc4771