summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Misc. bug fixes and doc additions. Add 'iter_entry_points()' API.PJ Eby2005-07-255-75/+81
| | | | | | --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-248-111/+562
| | | | | | | | | | 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-245-102/+248
| | | | | | | | | 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
* Fix a regression; this code was changed in order to avoid being fooled byPJ Eby2005-07-241-3/+3
| | | | | | | | | incompatible eggs that might have ended up in the distribution directory, but the "fixed" code was broken. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041148
* Implement --editable option, which allows you to just download and extractPJ Eby2005-07-244-151/+225
| | | | | | | | | (or check out from Subversion) one or more source distributions, without actually building or installing them (or their dependencies). --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041147
* Fixed the setup script sandbox facility not recognizing certain paths asPJ Eby2005-07-241-2/+2
| | | | | | | | valid on case-insensitive platforms. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041146
* Improved backward compatibility of Mac OS platform string changes, thanksPJ Eby2005-07-213-24/+74
| | | | | | | | to more help from Kevin Dangoor. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041143
* Tweak Mac OS platform string based on Mac SIG feedback: remove "micro"PJ Eby2005-07-212-13/+13
| | | | | | | | version number, and map "PowerPC" and "Power_Macintosh" to "ppc". --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041142
* Added support for handling MacOS platform information in ``.egg``PJ Eby2005-07-213-20/+107
| | | | | | | | | | | | | filenames, based on a contribution by Kevin Dangoor. (NOTE: this may make eggs compiled for OS X with older versions of setuptools unusable! If you have eggs whose file/directory names end with ``-darwin-*.egg``, you will probably need to rename them to ``-macosx-*.egg``, substituting your current Mac OS version for the darwin kernel version in the version number. Or, you can just delete and reinstall the problematic eggs.) --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041141
* Make 'test' command work correctly with the 0.6 WorkingSet class.PJ Eby2005-07-211-12/+12
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041140
* Fixed installing extra ``.pyc`` or ``.pyo`` files for scripts with ``.py``PJ Eby2005-07-211-1/+1
| | | | | | | | extensions. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041139
* Catch a few missed terminology changes.PJ Eby2005-07-183-20/+20
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041137
* Massive API refactoring; see setuptools.txt changelog for details. Also,PJ Eby2005-07-187-31/+32
| | | | | | | | | add ``#egg=project-version`` link support, and docs on how to make your package available for EasyInstall to find. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041136
* Massive API refactoring; see setuptools.txt changelog for details. Also,PJ Eby2005-07-1810-250/+3420
| | | | | | | | | add ``#egg=project-version`` link support, and docs on how to make your package available for EasyInstall to find. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041135
* The ``path`` attribute of ``Distribution`` objects is now ``location``,PJ Eby2005-07-174-46/+56
| | | | | | | | | | | because it isn't necessarily a filesystem path (and hasn't been for some time now). ``Distribution`` objects now have an ``as_requirement()`` method that returns a ``Requirement`` for the distribution's project name and version. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041134
* ``Distribution`` objects now implement the ``IResourceProvider`` andPJ Eby2005-07-174-26/+36
| | | | | | | | | ``IMetadataProvider`` interfaces, so you don't need to reference the (no longer available) ``metadata`` attribute to get at these interfaces. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041133
* Renamings for consistent terminology; distributions and requirements nowPJ Eby2005-07-176-35/+35
| | | | | | | | | | | | | both have 'project_name' attributes, instead of one having 'name' and the other 'distname'. Requirements no longer have 'options', they have 'extras'. This is the beginning of the terminology/architecture refactoring described at: http://mail.python.org/pipermail/distutils-sig/2005-June/004652.html --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041132
* Added ``--site-dirs`` option to allow adding custom "site" directories.PJ Eby2005-07-162-28/+140
| | | | | | | | | Made ``easy-install.pth`` work in platform-specific alternate site directories (e.g. ``~/Library/Python/2.x/site-packages``). --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041131
* Fixed some problems using ``pkg_resources`` w/PEP 302 loaders other thanPJ Eby2005-07-162-30/+40
| | | | | | | | | ``zipimport``. Fixed ``pkg_resources.resource_exists()`` not working correctly. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041130
* Fix only detecting the revision number of the setup directory, not thePJ Eby2005-07-161-7/+7
| | | | | | | | highest revision number for the project as a whole. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041129
* prep for 0.5a13 releasePJ Eby2005-07-165-4/+7
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041128
* Fix a problem extracting resources from nested packages.PJ Eby2005-07-151-2/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041127
* Fix formatting error.PJ Eby2005-07-151-1/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041126
* Prep for 0.5a12 release; update docs.PJ Eby2005-07-135-4/+24
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041125
* Updated extraction/cache mechanism for zipped resources to avoid inter-PJ Eby2005-07-131-18/+101
| | | | | | | | | | | | process and inter-thread races during extraction. The default cache location can now be set via the ``PYTHON_EGGS_CACHE`` environment variable, and the default Windows cache is now a ``Python-Eggs`` subdirectory of the current user's "Application Data" directory, if the ``PYTHON_EGGS_CACHE`` variable isn't set. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041124
* Update zip-safety scanner to check for modules that might be used asPJ Eby2005-07-122-12/+12
| | | | | | | | | ``python -m`` scripts. Misc. fixes for win32.exe support, including changes to support Python 2.4's changed ``bdist_wininst`` format. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041123
* Fixed not being able to use python -m easy_install.PJ Eby2005-07-121-1/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041122
* Add a message explaining that you can use -U setuptools to reinstall orPJ Eby2005-07-121-2/+2
| | | | | | | | upgrade setuptools. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041121
* Fix breakage of the "develop" command that was caused by the addition ofPJ Eby2005-07-126-7/+11
| | | | | | | | | ``--always-unzip`` to the ``easy_install`` command. Bump version for bug fix release. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041120
* Drop links to the Windows installer; it was installing an "unmanaged"PJ Eby2005-07-122-10/+5
| | | | | | | | version of setuptools! --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041119
* Bump version #.PJ Eby2005-07-125-6/+6
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041118
* Fix bugs and implement features reported/requested by folks on thePJ Eby2005-07-125-40/+102
| | | | | | | | Distutils-SIG. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041117
* Update to 0.5a9, add zip_safe flag, and fix a doc error.PJ Eby2005-07-115-7/+9
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041116
* Enhanced "zip safety" analysis (including scan of win32.exe's) and havePJ Eby2005-07-114-198/+463
| | | | | | | | EasyInstall act on zip safety flags. Add a lot more docs for setuptools. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041115
* First-pass implementation of zippability analysis; scans for impurePJ Eby2005-07-101-39/+80
| | | | | | | | | | distribution or use of __file__/__path__ and selected 'inspect' operations. Currently, the analysis is a bit overconservative; when the runtime is more robust, it should probably allow extensions to be zipped by default. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041114
* Implement ``namespace_packages`` keyword to ``setup()``. Added keywordPJ Eby2005-07-104-43/+239
| | | | | | | | 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
* Add an example of using the new "directory w/setup.py" featurePJ Eby2005-07-101-0/+5
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041112
* EasyInstall now builds eggs in a temporary directory alongside the setupPJ Eby2005-07-102-34/+36
| | | | | | | | | | | | | script it's running. This avoids it getting confused by projects with non-standard distribution locations, and projects that may have various eggs already sitting in their distribution directory. It should probably also do something like this for the build directory to ensure a clean, fresh build, but it seems like overkill, since it only affects local projects, not stuff that EasyInstall downloaded in the first place. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041111
* Allow EasyInstall to accept a directory containing a setup script as onePJ Eby2005-07-103-5/+8
| | | | | | | | | of its arguments. Fix swapped short option names for --bdist-dir and --dist-dir in bdist_egg. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041110
* Detect and handle conflicts with "unmanaged" packages when installingPJ Eby2005-07-109-68/+364
| | | | | | | | | 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 command reference to documentation.PJ Eby2005-07-091-60/+582
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041107
* Changed --tag-svn-revision to include an "r" in front of the revisionPJ Eby2005-07-091-1/+1
| | | | | | | | number for better readability. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041106
* Remove old-style requirements from setup.py, to avoid confusing people whoPJ Eby2005-07-091-9/+9
| | | | | | | | look to it for an example of setuptools use. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041105
* Add informative comment when uploading eggs, to help distinguish them fromPJ Eby2005-07-091-1/+2
| | | | | | | | source archives. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041104
* Fix typos in option specs for bdist_egg.PJ Eby2005-07-091-2/+2
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041103
* Added ``exclude=patternlist`` option to ``setuptools.find_packages()``PJ Eby2005-07-091-8/+8
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041102
* Include ``svn:externals`` directories in source distributions as well asPJ Eby2005-07-091-42/+42
| | | | | | | | normal subversion-controlled files and directories. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041101
* Doc and other updates for 0.5a8 release. Add project aliases for sourcePJ Eby2005-07-086-9/+24
| | | | | | | | and binary register+upload. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041100
* Delete empty sections when their last option is deleted.PJ Eby2005-07-081-6/+6
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041099
* Cleaner argument quoting in command aliases.PJ Eby2005-07-081-10/+10
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041098