aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_resources.py
Commit message (Collapse)AuthorAgeFilesLines
* Added test to capture behavior expected behavior on Windows with spaces in ↵Jason R. Coombs2013-08-091-0/+4
| | | | the filename
* Fixed test_get_script_header failures on Windows when Python is in a ↵Jason R. Coombs2013-08-091-3/+6
| | | | directory with spaces
* Remove import *Jason R. Coombs2013-08-091-18/+22
|
* Spruce up syntax to to address linter warningsJason R. Coombs2013-08-091-42/+26
|
* Clean up importsJason R. Coombs2013-08-091-3/+13
|
* Merge Python 3 native support from distributeJason R. Coombs2013-06-181-8/+9
|\ | | | | | | | | --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-17/+13
| |\ | | | | | | | | | | | | --HG-- branch : distribute
| * \ Merge with upstreamJason R. Coombs2013-06-181-26/+57
| |\ \ | | | | | | | | | | | | | | | | --HG-- branch : distribute
| * | | Changes to support 2.x and 3.x in the same codebase.Vinay Sajip2011-06-201-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 7d3608edee54a43789f0574d702fb839628b5071
* | | | Merged latest changes from setuptools-0.6 branchJason R. Coombs2013-05-131-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | --HG-- rename : doc/formats.txt => docs/formats.txt
| * | | | Fix spurious test breakage on 2.7pje2013-04-251-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (grafted from aeb004b22c9472066322f4b0319588cddf63f699) --HG-- branch : setuptools-0.6 extra : source : aeb004b22c9472066322f4b0319588cddf63f699
* | | | | Updated a couple more references from Distribute to SetuptoolsJason R. Coombs2013-03-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : Setuptools-Distribute merge extra : rebase_source : ad9f8f344d7e705ddc354757fbe741b34b576b1b
* | | | | Removed tests relevant to the co-existence of distribute and setuptools; ↵Jason R. Coombs2013-03-191-37/+6
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | retained some tests that are still relevant --HG-- branch : Setuptools-Distribute merge extra : rebase_source : c87a0b28f0bcd679ae5a34770b0f4fb908f2aee3
* | | | Backed out changeset: d0a8d1a83053Jason R. Coombs2013-02-161-17/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the discussion in #278, it became clear that the deviance in behavior from setuptools is problemmatic. For compatibility, defer to the setuptools version scheme as specifically intended. --HG-- branch : distribute extra : rebase_source : 1d5cc8c216f974b247e2dc84d8d40c868d6d3639
* | | | Disable workaround for Jython scripts on Linux systems.Arfrever Frehtes Taifersar Arahesis2012-11-271-0/+10
| |_|/ |/| | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 289980b084c335029d93732feb8e02da94472795
* | | Got rid of deprecated assert_ and assertEquals.Lennart Regebro2012-08-221-21/+21
| | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 9d7032bac7db98e445ab6a46b2610c278c691c2d
* | | Issue #208: fixing parse_version and post-release tagsguyroz2011-09-171-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | including tests --HG-- branch : distribute extra : rebase_source : f953ba35614c338161249d6d74c7cda08acdf32b
* | | Issue #237: fixing test on Python2.3guyroz2011-09-161-2/+19
| |/ |/| | | | | | | | | | | | | Added an _assertIn method (copied from a more recent version of unittest) and replaced the calls to assertTrue, which does not exist in Python 2.3 --HG-- branch : distribute extra : rebase_source : a8ba9e47fdcbc2dbee8e801b5d1d5d84c989266f
* | Update the child's __path__ in declare_namespace, even if the parent isAurelien Bompard2011-06-011-5/+32
| | | | | | | | | | | | | | | | already a namespace package -- fixes #204 --HG-- branch : distribute extra : rebase_source : 48e1ed2309ae053b8987a664231e72c35a0bbb40
* | Don't try to import the parent of a namespace package in declare_namespace ↵Aurelien Bompard2011-05-171-1/+27
| | | | | | | | | | | | | | | | -- fixes #204 --HG-- branch : distribute extra : rebase_source : 1644e937b2d0b2fae58e27740d0fddfe082586cd
* | removed assertTrue/assertFalse occurrencesTarek Ziade2010-05-191-19/+19
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : b7e5bbfa9d90078fd763f728a5d57fb6bd3e3657
* | Use assertTrue and assertFalse instead of deprecated failUnless and failIf.0.6.12Arfrever Frehtes Taifersar Arahesis2010-05-061-19/+19
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 51c527a19483fc1b11084e4d2770d88015588822
* | avoid running test_get_script_header_jython_workaround undr some py3 ↵tarek2009-12-111-0/+4
| | | | | | | | | | | | | | | | environments fixes #103 --HG-- branch : distribute extra : rebase_source : a1a3381e889db52b3c81301dbd521f7266e254b8
* | unknown setuptools version can be added in the working set, refs #90tarek2009-11-111-9/+6
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : c0aabd45025465b61ffd23a2196994f4afece233
* | an error is raised when installing a 0.7 setuptools with distributeReinout van Rees2009-10-141-4/+15
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : f68fe9818972a09d858f2bb59ef47682353f600d
* | Distribute no longer shadows setuptools if we require a 0.7-seriesReinout van Rees2009-10-141-2/+22
| | | | | | | | | | | | | | | | | | setuptools. Added _override_setuptools() checker method and calling it in two places that checks whether we request a setuptools from the 0.7 series. Including test. --HG-- branch : distribute extra : rebase_source : 51c89e02721de2e31c9392d1ead76ac1e828810c
* | fixed the parsed api when dealing with setuptools nametarek2009-10-131-11/+11
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 9490c98e075e2473c7a7310822103f375d5f3832
* | Redirect stderr as well.Martin v. Löwis2009-09-121-2/+2
|/ | | | | | --HG-- branch : distribute extra : rebase_source : 9f4ab6d69461acfd64cb4519ff18533c6666adcd
* Backport fix for http://bugs.python.org/setuptools/issue27PJ Eby2008-09-241-7/+47
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4066597
* chmod/test cleanups and Jython compatibility (backport from trunk)PJ Eby2008-01-181-11/+9
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4060062
* Get rid of 'sets' module usage under Python 2.4+, so that no warningsPJ Eby2007-02-231-3/+5
| | | | | | | | are issued by Python 2.6. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053871
* Fix "dev" versions being considered newer than release candidates.PJ Eby2006-09-251-0/+1
| | | | | | | | (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4052002
* Fix entry point parsing when a standalone module name has whitespacePJ Eby2006-04-271-4/+4
| | | | | | | | between it and the extras. --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4045765
* ``safe_name()`` now allows dots in project names, and there is a newPJ Eby2006-01-101-1/+1
| | | | | | | | | | | | | | | ``to_filename()`` function that escapes project names and versions for safe use in constructing egg filenames from a Distribution object's metadata. Note that allowing dots may now cause problems for projects with '.' in the name that were previously installed, since such projects had to be spelled with a '-' before. The '-' name will no longer match the '.' project, and there is no real room for backward compatibility here. :( --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041994
* Make it clearer that Requirement.parse() is the only way for usersPJ Eby2006-01-031-11/+11
| | | | | | | | to create correct Requirement instances. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041909
* Changed ``parse_version()`` to remove dashes before pre-release tags, soPJ Eby2005-12-061-3/+3
| | | | | | | | | | | that ``0.2-rc1`` is considered an *older* version than ``0.2``, and is equal to ``0.2rc1``. The idea that a dash *always* meant a post-release version was highly non-intuitive to setuptools users and Python developers, who seem to want to use ``-rc`` version numbers a lot. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041630
* Added support for ``.egg-info`` files or directories with version/platformPJ Eby2005-12-061-2/+2
| | | | | | | | | | | information embedded in the filename, so that system packagers have the option of including ``PKG-INFO`` files to indicate the presence of a system-installed egg, without needing to use ``.egg`` directories, zipfiles, or ``.pth`` manipulation. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041615
* Fixed a problem with ``WorkingSet.resolve()`` that prevented versionPJ Eby2005-11-031-4/+4
| | | | | | | | conflicts from being detected at runtime. (As reported by Ian Bicking.) --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041380
* 0.6a7 bugfix releasePJ Eby2005-11-021-1/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041377
* Bugfixes. :(PJ Eby2005-09-291-1/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041258
* Ensure that WorkingSet.resolve() (and therefore require() as well)PJ Eby2005-09-261-6/+6
| | | | | | | | | | returns a list of the relevant distributions, even if they are found in the working set rather than the environment. This fixes some problems in the 0.6a3 release. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041256
* Fix a problem with inconsistent quoting of "extras", reported by IanPJ Eby2005-09-241-1/+1
| | | | | | | | Bicking on the distutils-sig. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041253
* Document the "Environment" class, and simplify its API.PJ Eby2005-08-141-6/+6
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041194
* Added docs for main EntryPoint APIs, and cleaned up the API itself a bit.PJ Eby2005-08-131-4/+4
| | | | | | | | Also fixed a few bugs. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041192
* Renamed AvailableDistributions -> Environment. Add sketch of pkg_resourcesPJ Eby2005-08-071-2/+2
| | | | | | | | manual outline. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041184
* Misc. bug fixes and doc additions. Add 'iter_entry_points()' API.PJ Eby2005-07-251-6/+6
| | | | | | --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-1/+83
| | | | | | | | | | 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-2/+2
| | | | | | | | | 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
* Catch a few missed terminology changes.PJ Eby2005-07-181-11/+11
| | | | | | --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-181-29/+22
| | | | | | | | | 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