summaryrefslogtreecommitdiff
path: root/setuptools/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Allowing 'os.devnull' in Sandbox, fixes #101tarek2009-12-041-0/+28
| | | | | | --HG-- branch : distribute extra : rebase_source : d6f63794621874eb637139f353314256e02e02df
* easy_install doesn't use a setup.cfg located in the working dir - fixes #99tarek2009-12-021-1/+39
| | | | | | --HG-- branch : distribute extra : rebase_source : 0ddcfcf2eb8ef650c248a1d5d86fe1b95100df10
* Added upload_docs unit test and fixed a bug in test_develop.Alice Bevan-McGregor2009-11-152-1/+66
| | | | | | --HG-- branch : distribute extra : rebase_source : 0ce56dee9fbf2976d41f403fb86d8a2f714820c2
* unknown setuptools version can be added in the working set, refs #90tarek2009-11-111-9/+6
| | | | | | --HG-- branch : distribute extra : rebase_source : c0aabd45025465b61ffd23a2196994f4afece233
* make sure USER_SITE is listed as a sitedir in easy_installtarek2009-10-271-1/+2
| | | | | | --HG-- branch : distribute extra : rebase_source : f632d56d77b31a6b4f2183728e770d00005b0060
* now develop supports the --user option fixes #58tarek2009-10-271-0/+63
| | | | | | --HG-- branch : distribute extra : rebase_source : 1f25aaecb7ff9c7b273430e68dc2bc2d2e23db7d
* Generated scripts now wraps their call in a __main__ section. Fixes #11tarek2009-10-271-1/+35
| | | | | | --HG-- branch : distribute extra : rebase_source : d69b879d01ca2690826cdf9b7541e541ae8e0f5a
* removing windows EOL linestarek2009-10-141-137/+137
| | | | | | --HG-- branch : distribute extra : rebase_source : e5792b2f337a38b603dc6a920d3bfe418e3f2722
* 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
* merge dancetarek2009-09-202-6/+6
|\ | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : e0fc1e252a506a6a751f9557d4a01580e1cbbdfa
| * Merge upstream changes.Martin v. Löwis2009-09-131-0/+20
| |\ | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 4f43f59bf581c692bfbe4b45a8567b089fa0173a
| * | Redirect stderr as well.Martin v. Löwis2009-09-121-2/+2
| | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 9f4ab6d69461acfd64cb4519ff18533c6666adcd
| * | Use types.ModuleType instead of new.module.Martin v. Löwis2009-09-111-4/+4
| | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 3327441a867ad2878553ed1d42418a7e68ee3067
* | | make sure setuptools does like distutils in get_ext_filename fixes #41tarek2009-09-201-0/+20
| |/ |/| | | | | | | | | --HG-- branch : distribute extra : rebase_source : 4401307be98ca2fb74e715a258b7af74eaa62db2
* | Now install_site works properly with distribute distribution. fixes #44tarek2009-09-131-0/+20
|/ | | | | | --HG-- branch : distribute extra : rebase_source : 5dacd496be767ed406f7f8c76a598e7f186acdbc
* fixed #20 - catching invalid URL error from httplibtarek2009-08-281-0/+6
| | | | | | --HG-- branch : distribute extra : rebase_source : 6c6a92f65f6ac2d6d071ce525d0ef3e41167d59e
* fixed #16 and #18: BadStatusLine and ValueError in package_index.urlopentarek2009-08-261-0/+33
| | | | | | --HG-- branch : distribute extra : rebase_source : 6159cf23c0dc4effd40b525066266eefd292b96e
* moved api_tests.txt doctest to tests/Tarek Ziadé2009-07-171-1/+1
| | | | | | --HG-- branch : distribute extra : rebase_source : 9ab6aebbc44b3f99f01dc7deb99e4a83de362714
* Changed the testModuleExtract and testRequire tests from DependsTests to use ↵Hanno Schlichting2009-07-161-8/+8
| | | | | | | | the email package instead of distutils as a test base. The distutils package gets too much special treatment, for example in virtualenv environments, which obscure the test results. --HG-- branch : distribute extra : rebase_source : f2addfef7c8ace902512fa9ff1859799e3dcca23
* 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
* Fix http://bugs.python.org/setuptools/issue31 (backport from trunk)PJ Eby2008-08-211-9/+5
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4065948
* Fix for http://bugs.python.org/setuptools/issue7 (backport from trunk)PJ Eby2008-08-211-0/+8
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4065943
* chmod/test cleanups and Jython compatibility (backport from trunk)PJ Eby2008-01-182-14/+12
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4060062
* Backport gui.exe launcher fix.PJ Eby2008-01-031-3/+36
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4059684
* Changed setuptools.package_index.PackageIndex.open_url to include theJim Fulton2007-03-091-0/+19
| | | | | | | | url in the exception. --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4054241
* 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 ``#!`` parsing problems in Windows ``.exe`` script wrappers, when therePJ Eby2007-01-241-5/+6
| | | | | | | | | was whitespace inside a quoted argument or at the end of the ``#!`` line (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053548
* 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
* Backport all known 2.5-compatibility fixesPJ Eby2006-09-201-3/+3
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051935
* Backport some Python 2.5 compatibility workPJ Eby2006-09-201-1/+3
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051932
* Added quoting of script arguments and extended the quoting logic toJim Fulton2006-08-222-5/+113
| | | | | | | | | | | | | handle embedded quotes. Added support for passing a single argument on the shebang line to pass things like -O and -i. Fixed bug in handling trailing whitespace in Python command. --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051487
* 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
* Enhanced test loader to scan packages as well as modules, and callPJ Eby2006-03-281-47/+6
| | | | | | | | ``additional_tests()`` if present to get non-unittest tests. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043412
* ``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
* Got rid of the no-longer meaningful "depends" command. Consolidated thePJ Eby2005-08-061-41/+0
| | | | | | | | | | | | replacement of the "install" command so that installation is always via easy_install, but doesn't use the previous kludgy intereception technique. Allow ``extra_path`` to be set, but ignore it, so that when easy_install wraps a package that uses it, there won't be any confusion as to the desired installation location. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041181
* 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