aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/dist.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Use PY3 and PY2 throughoutJason R. Coombs2014-05-171-2/+2
|
* Monkey-patch the write_pkg_info method on Python 3.1 DistributionMetadata. ↵Jason R. Coombs2014-05-031-0/+21
| | | | Fixes #197
* Backout b17e9a0ea116 and 50725de303ef, restoring Feature model. Fixes #161 ↵Jason R. Coombs2014-03-081-3/+256
| | | | | | | and re-opens #65. --HG-- extra : amend_source : f14bc0bf6c9f04e16d30ce0abf7bcb944f41ebea
* Removed Features functionality. Fixes #65.Jason R. Coombs2014-02-091-256/+3
|
* Backed out changeset: ef949e6e6de1, which was itself a backout of the fix ↵Jason R. Coombs2014-01-271-2/+3
| | | | for Distribute #323, so this backout restores that fix and also Fixes #141.
* Fix Python 3 failure when constructing an egg_fetcher. Fixes #131.Jason R. Coombs2014-01-051-1/+1
|
* Trim excess whitespaceJason R. Coombs2013-08-251-123/+4
|
* Remove unused importsJason R. Coombs2013-08-251-4/+0
|
* Reorganize importsJason R. Coombs2013-08-251-4/+9
|
* Set stacklevel on DeprecationWarning for more relevant locality.Jason R. Coombs2013-08-151-3/+6
|
* Fix TypeError when no attrs were passed1.0b2Jason R. Coombs2013-08-111-1/+2
|
* Officially deprecated Features functionality (per #65).Jason R. Coombs2013-08-111-3/+21
|
* Merge Python 3 native support from distributeJason R. Coombs2013-06-181-3/+6
|\ | | | | | | | | --HG-- rename : tests/test_distribute_setup.py => tests/test_ez_setup.py
| * Merge Vinay Sajip's unified Python 2/3 support from distribute 3Jason R. Coombs2013-06-181-0/+5
| |\ | | | | | | | | | | | | --HG-- branch : distribute
| * \ Merge with upstreamJason R. Coombs2013-06-181-1/+34
| |\ \ | | | | | | | | | | | | | | | | --HG-- branch : distribute
| * | | Changes to support 2.x and 3.x in the same codebase.Vinay Sajip2011-06-201-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 7d3608edee54a43789f0574d702fb839628b5071
* | | | Merged latest changes from setuptools-0.6 branchJason R. Coombs2013-05-131-4/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | --HG-- rename : doc/formats.txt => docs/formats.txt
| * | | | Backport experimental environment marker support from the trunkpje2013-05-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : setuptools-0.6
| * | | | Major updates and fixes include:PJ Eby2009-10-121-6/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 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. --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4075385
* | | | | Merge dist moduleJason R. Coombs2013-05-031-9/+43
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | --HG-- branch : Setuptools-Distribute merge
| * | | | Copy changes to dist.py from 1aae1efe5733Jason R. Coombs2013-05-031-6/+47
| |/ / / | | | | | | | | | | | | | | | | | | | | --HG-- branch : Setuptools-Distribute merge extra : source : a79dd619dc8637e5c9b7de32bd8c5389c995dcb9
* | | | Backed out changeset: 98a9f9dcce0e; Fixes #335.Jason R. Coombs2012-11-261-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 3f4ff1c880688e6dd72d2fa8fab3c07e7f486a7e
* | | | MergeJason R. Coombs2012-11-241-2/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : c0f43d4688762927683ef5f0d4a3e879190dae72
| * | | | Fixes and adds a regression test for #323; required adding some new keyword ↵Erik Bray2012-09-111-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | arguments to existing pkg_resources methods. Also had to update how __path__ is handled for namespace packages to ensure that when a new egg distribution containing a namespace package is placed on sys.path, the entries in __path__ are in the same order they would have been in had that egg been on the path when pkg_resources was first imported --HG-- branch : distribute extra : rebase_source : 63a120c9397f6619d2768ec982e5c6b664c97e40
* | | | | Added comment and updated CHANGESJason R. Coombs2012-11-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 4c828b71eced1215219f5b16d881fa1f35972744
* | | | | Don't wrap sys.stdout if it's in the correct encoding already.Gabriel2012-11-231-0/+3
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 314a8be1a2e63ceaf501ecb047a29f62302be0a0
* | | | Print metadata in UTF-8 independent of platform. Fixes #311.Stefan H. Holek2012-10-081-0/+32
|/ / / | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 4ff0df4ad7d9ea8cee6342f9c642e4fe634b7f18
* | / Adds a fix for issue #318, including a regression test. This also fixes ↵Erik Bray2012-09-061-1/+2
| |/ |/| | | | | | | | | | | | | another test that was passing trivially due to *bug* in yet another test, ugh --HG-- branch : distribute extra : rebase_source : 476550766b7b756dced040ad4356b7685d6f062a
* | setting to_scan to [] instead of None ensures (somewhat confusingly) that ↵Erik Bray2011-05-231-0/+1
| | | | | | | | | | | | | | | | find_links are used, when available, to install each dist listed in setup_requires --HG-- branch : distribute extra : rebase_source : 4efd4ba05e527df60a33c55da30c19586a9cecdb
* | backporting the API Eby added in 0.6c11tarek2009-11-011-21/+11
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 7e34c308ad98259f9344e10117750aeae3e8d2ea
* | Name changes of the parameters.Lennart Regebro2009-09-221-3/+3
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : fc921b526cda13b02a4bb0215f91ee04d03dca57
* | Support attrs is None.Martin v. Löwis2009-09-131-1/+1
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 7ab3d57b13cb2ec2d7d1b9aafc99f4ec0ea49b5a
* | Deal with convert_doctests_2to3 not being set.Martin v. Löwis2009-09-131-1/+1
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : c1952763f89af6f9c5e25e67982b96756d7336e3
* | Fix processing of convert_doctests_2to3.Martin v. Löwis2009-09-131-0/+5
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 101f51e5f7c364407e27b742aec5e02336936d8c
* | Add default for pop.Martin v. Löwis2009-09-121-1/+1
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : a4655cb42947b8ea089e72b3d4c2ff2482a31e6a
* | Add src_root attribute to support installing from a copy.Martin v. Löwis2009-09-121-0/+1
|/ | | | | | --HG-- branch : distribute extra : rebase_source : 95242b20ab228862aeef205f399869f79e342f0e
* Added a warning if a namespace package is declared, but its parentPJ Eby2008-02-141-11/+11
| | | | | | | | package is not also declared as a namespace. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4060817
* 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