summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_easy_install.py
Commit message (Collapse)AuthorAgeFilesLines
* easy_install once again honors setup.cfg if found in the current directoryJason R. Coombs2013-05-031-36/+1
| | | | | | --HG-- branch : Setuptools-Distribute merge extra : source : 422fc7e84eb2a22aa13df44dea6f138d7c840e83
* Updated references in tests to refer to setuptools in favor of distributeJason R. Coombs2013-03-191-6/+6
| | | | | | --HG-- branch : Setuptools-Distribute merge extra : rebase_source : 1ffe834b5ecad0e5fd0ae44cb63e6541d9006004
* Fix 1 failure with Jython 2.5 and 2.7.Arfrever Frehtes Taifersar Arahesis2012-11-271-2/+2
| | | | | | | | (Now there remain 0 failures and 2 errors with Jython 2.5 and 0 failures and 5 errors with Jython 2.7.) --HG-- branch : distribute extra : rebase_source : 319071404608c4f34616df74bfeaa28d590edd0c
* Backed out changeset: 98a9f9dcce0e; Fixes #335.Jason R. Coombs2012-11-261-104/+38
| | | | | | --HG-- branch : distribute extra : rebase_source : 3f4ff1c880688e6dd72d2fa8fab3c07e7f486a7e
* Fix some DeprecationWarnings and ResourceWarnings.Arfrever Frehtes Taifersar Arahesis2012-11-261-2/+2
| | | | | | --HG-- branch : distribute extra : rebase_source : 1293f856181d35c735670b021e8745208103f640
* Do not use assertGreater(), which was introduced in Python 2.7 and 3.1.Arfrever Frehtes Taifersar Arahesis2012-11-261-1/+1
| | | | | | --HG-- branch : distribute extra : rebase_source : b0d3166887c9a287fd885e19f804e9d254b8dbc8
* Fixes and adds a regression test for #323; required adding some new keyword ↵Erik Bray2012-09-111-38/+104
| | | | | | | | 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
* Make this test less chattyErik Bray2012-09-111-0/+7
| | | | | | --HG-- branch : distribute extra : rebase_source : da18973713f46ff00931ea79f0fcd39a13fb8349
* Adds a fix for issue #318, including a regression test. This also fixes ↵Erik Bray2012-09-061-22/+80
| | | | | | | | another test that was passing trivially due to *bug* in yet another test, ugh --HG-- branch : distribute extra : rebase_source : 476550766b7b756dced040ad4356b7685d6f062a
* Issue #314: test_local_index() would fail an OS X.Lennart Regebro2012-08-221-1/+2
| | | | | | --HG-- branch : distribute extra : rebase_source : 8d91abdbed53300e6ec80bd535e00bca17767206
* Got rid of deprecated assert_ and assertEquals.Lennart Regebro2012-08-221-10/+10
| | | | | | --HG-- branch : distribute extra : rebase_source : 9d7032bac7db98e445ab6a46b2610c278c691c2d
* Allow for three requests (fixes test on Python 3.3).Jason R. Coombs2012-04-151-1/+3
| | | | | | --HG-- branch : distribute extra : rebase_source : 42f8c571b3296488b167aaa863bdbfa771f6a9d9
* Skip test when MockServer can't detect the port to which it bound.Jason R. Coombs2012-04-151-0/+4
| | | | | | --HG-- branch : distribute extra : rebase_source : c59caee49fcfb2e0d9b507fb1a01dfb2ddcdcdc8
* Ensure that the setup.py is generated as bytes on Python 2 and 3 so that the ↵Jason R. Coombs2012-04-141-2/+7
| | | | | | | | tarfile module will accept it. --HG-- branch : distribute extra : rebase_source : 07afe24875bff3a4892319e02ae66be0d3725c8e
* Fix one failing test per #277Jason R. Coombs2012-04-091-1/+1
| | | | | | --HG-- branch : distribute extra : rebase_source : 74d2107a0e4f5ecda5030fa8610dfd38a2bd5740
* Fixed two issues for Python 2.4 compatibility. Tests now run again on Python 2.40.6.26Jason R. Coombs2012-04-081-1/+2
| | | | | | --HG-- branch : distribute extra : rebase_source : c6dc5ce8070ec42190d4d8eb6af28523d447f962
* Removed unused importJason R. Coombs2012-04-081-1/+0
| | | | | | --HG-- branch : distribute extra : rebase_source : 4bad5e1f1f1e377a8cb5ade411a8ad572f85abb6
* Converted new tests in test_easy_install to use call-back functions instead ↵Jason R. Coombs2012-04-081-29/+54
| | | | | | | | of with statements for Python2.4 compatibility. --HG-- branch : distribute extra : rebase_source : e7edcca83dc29038a6832501a0a8251f4f3856a6
* Make sure to un-monkey-patch the Distribution class when running ↵Jason R. Coombs2012-04-071-1/+2
| | | | | | | | test_no_setup_cfg. Otherwise, it breaks other tests (notably the new test_setup_requires_honors_fetch_params). --HG-- branch : distribute extra : rebase_source : f54d67ea495c18ff1dc74d12ff96797e64abe5e1
* Added another context to reset the _setup_stop_contextJason R. Coombs2012-04-071-5/+20
| | | | | | --HG-- branch : distribute extra : rebase_source : b31f921755cea6d2559c9f24f42b737aa80198e7
* Set the argv context so that easy_install.main invokes the command as if it ↵Jason R. Coombs2012-04-071-5/+12
| | | | | | | | had been run from the command-line --HG-- branch : distribute extra : rebase_source : 4916aebae87b1d83dc27b494715c89dce1ce1e12
* Test now constructs the tarfile completely in memory (avoiding accidentally ↵Jason R. Coombs2012-04-071-10/+12
| | | | | | | | writing over our own setup.py) --HG-- branch : distribute extra : rebase_source : ad8ec142238405edeee6dce51c05d382e53d1299
* Improved the MockServer so it now more effectively handles multiple requests ↵Jason R. Coombs2012-04-071-4/+6
| | | | | | | | | | (as any index server really must). Test now more accurately captures the working scenario. --HG-- branch : distribute extra : rebase_source : 8ee0afdd95219047e4700b85356792f6128b1fd8
* Create the sdist using tarfile and the code is much simplerJason R. Coombs2012-04-071-48/+8
| | | | | | --HG-- branch : distribute extra : rebase_source : f913f69988ddac8b6c27fb72d24728d18073fdb9
* We expect easy_install to raise a SystemExitJason R. Coombs2012-04-071-5/+3
| | | | | | --HG-- branch : distribute extra : rebase_source : 74b6b4091c9719daab6f240f8c05b24183fc1b12
* Expanded TestSetupRequires so it actually stages the installation of an ↵Jason R. Coombs2012-04-071-14/+81
| | | | | | | | sdist with a setup_requires. --HG-- branch : distribute extra : rebase_source : 4266165d9e75e9e19551a3bf646820f309f631df
* Add test to capture issue 227Jason R. Coombs2012-04-011-0/+51
| | | | | | --HG-- branch : distribute extra : rebase_source : 6a829eb08499c0b7a83dd653fb039b8695620fb0
* Reorganized imports and cleaned up whitespaceJason R. Coombs2012-04-011-7/+10
| | | | | | --HG-- branch : distribute extra : rebase_source : 288c7531df0ab929030445973ecf6386a3e437b1
* fixing regression -- generator syntax on python3guyroz2011-09-201-1/+1
| | | | | | --HG-- branch : distribute extra : rebase_source : 3708d2ca5f9a8fc2398204dbcb3febb6d61e134b
* Fixing regression tests on Windows: #241, #240, #239guyroz2011-09-191-6/+15
| | | | | | --HG-- branch : distribute extra : rebase_source : fb5248f9bd280ccc075c1e93dd74379bf06d10f7
* added a test for #143 now that I understand it. fixes #143Tarek Ziade2010-07-031-0/+36
| | | | | | --HG-- branch : distribute extra : rebase_source : e81153c1b0c81fe7783507553caa66c217e38ed5
* make HAS_USER_SITE depend on site.ENABLE_USER_SITERonny Pfannschmidt2010-05-211-4/+4
| | | | | | --HG-- branch : distribute extra : rebase_source : e7fb6337b41ea732acd41bab92a57471f3632777
* mergeRonny Pfannschmidt2010-05-191-16/+20
|\ | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : fe09c40bed001a273328dbd39b764a784c6448eb
| * merge & adapt --user implication testsRonny Pfannschmidt2010-05-071-16/+20
| |\ | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 3de11ca77e02b58fb91f2660edd2c9593bebf3cd
| | * add a partial test for user install umplication if installed in user-siteRonny Pfannschmidt2010-05-021-4/+8
| | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 395e549d507def44d1b7a4454076bb84a47cc1eb
* | | added a test that is supposely breaking - refs #152Tarek Ziade2010-05-191-0/+15
|/ / | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 2fa447a630d946a3adf5886115d89065a675ece2
* | make sure all tests passes on all python versions fixes #149Tarek Ziade2010-05-061-5/+5
|/ | | | | | --HG-- branch : distribute extra : rebase_source : 6288f4fcf65083b9d4ffb0ea8b35af44e699b4d5
* merge with upstreamRonny Pfannschmidt2010-03-161-1/+25
|\ | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 2ad13527b742644596b32fcd8feac7276b4a477e
| * added the --no-find-links optionTarek Ziade2010-03-131-0/+25
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : fc2cbd4d369f7d5c77cae03e39354245b185cc60
* | move the rest of the path handling code from develop to easy_installRonny Pfannschmidt2010-02-111-4/+8
| | | | | | | | | | | | | | | | also resuffle the path handlers a bit, hopefully everything works now --HG-- branch : distribute extra : rebase_source : dc8e4217f5832b15e8f7287c95732bc68d1e1cf5
* | enable easy_install --user, *warning breaks tests*Ronny Pfannschmidt2010-02-111-0/+50
| | | | | | | | | | | | | | | | the test-isolation got borked and operates on the users home instead of the test-tempdirs --HG-- branch : distribute extra : rebase_source : 1e9bf310b6ba92629d7ba494af17f519cfe17dc5
* | add some tests for the pth writer/managerRonny Pfannschmidt2010-02-111-0/+18
|/ | | | | | --HG-- branch : distribute extra : rebase_source : b7e6abf35a947b39b6290b076f618ce75211757e
* 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
* Generated scripts now wraps their call in a __main__ section. Fixes #11tarek2009-10-271-1/+35
| | | | | | --HG-- branch : distribute extra : rebase_source : d69b879d01ca2690826cdf9b7541e541ae8e0f5a
* Now install_site works properly with distribute distribution. fixes #44tarek2009-09-131-0/+20
--HG-- branch : distribute extra : rebase_source : 5dacd496be767ed406f7f8c76a598e7f186acdbc