summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_resources.py
Commit message (Collapse)AuthorAgeFilesLines
* Moved test_resources and test_pkg_resources to pkg_resources package.Jason R. Coombs2015-01-031-608/+0
|
* Remove remaining reference to setuptools from test_resourcesJason R. Coombs2015-01-031-2/+1
|
* Moved TestScriptHeader tests to more appropriate module.Jason R. Coombs2015-01-031-68/+1
|
* Move tests to be adjacent with other parsing tests.Jason R. Coombs2015-01-021-0/+5
|
* Ported test_resources to pytest from unittest.Jason R. Coombs2015-01-021-183/+200
|
* Use pytest for skipsJason R. Coombs2015-01-011-3/+4
|
* Setuptools now uses the 'packaging' package from pkg_resources, unifying the ↵Jason R. Coombs2014-12-241-4/+2
| | | | behavior around resolution of that package.
* Move vendored packaging module into pkg_resources._vendor, restoring ↵Jason R. Coombs2014-12-241-3/+3
| | | | independence of pkg_resources from setuptools. Fixes #311.
* Define a __hash__ on the packaging.version.Version subclassesDonald Stufft2014-12-151-0/+10
| | | | | | | In Python 3.x a subclass will not inherent the __hash__ method from the parent classes if the subclass defines a __eq__ method. This means that without defining our own __hash__ the SetuptoolsVersion classes are unhashable.
* Add more compatability shims to SetuptoolsVersionDonald Stufft2014-12-141-0/+21
| | | | | | | * Enables indexing the SetuptoolsVersion objects, triggering the legacy behavior warning. * Enables comparing the SetuptoolsVersion object to a tuple, again triggering the legacy behavior warning.
* Restore iterating over Version objects for compat with buildoutDonald Stufft2014-12-131-0/+19
|
* Fix the use of pacakging.version.SpecifierDonald Stufft2014-11-191-1/+1
|
* Always use the vendored copy of packagingDonald Stufft2014-11-191-6/+3
|
* Prefer packaging library if available.Jason R. Coombs2014-09-271-2/+8
|
* Implement PEP 440 by using the packaging libraryDonald Stufft2014-09-251-22/+12
|
* frozenset is available in Python 2.6Jason R. Coombs2014-07-121-5/+0
|
* Disable test_two_levels_deep when /tmp is a symlink. The results it is ↵Jason R. Coombs2014-07-121-0/+3
| | | | returning are suitable (shouldn't cause errors in runtime). Users are invited to trace the problem and find a solution. Fixes #231.
* More simple assertsJason R. Coombs2014-07-121-3/+5
|
* Use simple asserts. pytest handles this nicely. Removes broken _assertIn.Jason R. Coombs2014-07-121-9/+2
|
* Use PY3 and PY2 throughoutJason R. Coombs2014-05-171-3/+2
|
* 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