summaryrefslogtreecommitdiff
path: root/setuptools/command/easy_install.py
Commit message (Collapse)AuthorAgeFilesLines
* respect the sys.dont_write_bytecode flag. Fixes #1470.6.11Tarek Ziade2010-05-061-1/+5
| | | | | | --HG-- branch : distribute extra : rebase_source : 889c1badc92b1de14352a141865172b0a39384fa
* imply --user for install commands if installed in user-siteRonny Pfannschmidt2010-04-291-1/+7
| | | | | | --HG-- branch : distribute extra : rebase_source : 26878b87685bbd1b65c12763039a059937ca2228
* make sure we test that the directory exists before we install stuff asked by ↵Tarek Ziade2010-04-071-1/+3
| | | | | | | | setup_requires fixes #138 --HG-- branch : distribute extra : rebase_source : 1078501b886e4f0864b4ce84517b2fbc5399da35
* make sure site.USER_BASE is used only if python is >=2.6Tarek Ziade2010-04-051-4/+8
| | | | | | --HG-- branch : distribute extra : rebase_source : aece7b87a7f0b48949f2859fa2174bfa93b04048
* merge with upstreamRonny Pfannschmidt2010-03-161-6/+16
|\ | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 2ad13527b742644596b32fcd8feac7276b4a477e
| * updated links to the new location of the easy_install docsYannick Gingras2010-03-151-3/+4
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 9d757c4d6c0d0c0b14b381961af69907e079d0ce
| * removed unsused importsYannick Gingras2010-03-151-2/+2
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 6c1870024a04c1b5393c85a5782809ef409c66a6
| * added the --no-find-links optionTarek Ziade2010-03-131-3/+11
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : fc2cbd4d369f7d5c77cae03e39354245b185cc60
| * Added an os.makedirs so that Tarek's solution will worknibrahim2010-02-221-1/+2
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 91e7070818115d6ff2bcbf6db1912788e70b8d59
* | move the rest of the path handling code from develop to easy_installRonny Pfannschmidt2010-02-111-19/+43
| | | | | | | | | | | | | | | | 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-2/+85
| | | | | | | | | | | | | | | | the test-isolation got borked and operates on the users home instead of the test-tempdirs --HG-- branch : distribute extra : rebase_source : 1e9bf310b6ba92629d7ba494af17f519cfe17dc5
* | fix develop --user for having '.' in PYTHON_PATHRonny Pfannschmidt2010-02-111-2/+6
|/ | | | | | | | | | | the pth file update wouldn't work if the distribution location is in the side dirs so we special-case for the location being the cwd --HG-- branch : distribute extra : rebase_source : 4c80082825c25f7f4692fcdd3580da5d1948ef89
* makes sure install_site_pyFixes #108tarek2010-01-061-0/+4
| | | | | | --HG-- branch : distribute extra : rebase_source : 1b1ddea2ccca03a0e67b35f2be573ef9a776a334
* easy_install doesn't use a setup.cfg located in the working dir - fixes #99tarek2009-12-021-1/+7
| | | | | | --HG-- branch : distribute extra : rebase_source : 0ddcfcf2eb8ef650c248a1d5d86fe1b95100df10
* make sure USER_SITE is listed as a sitedir in easy_installtarek2009-10-271-0/+5
| | | | | | --HG-- branch : distribute extra : rebase_source : f632d56d77b31a6b4f2183728e770d00005b0060
* Generated scripts now wraps their call in a __main__ section. Fixes #11tarek2009-10-271-4/+6
| | | | | | --HG-- branch : distribute extra : rebase_source : d69b879d01ca2690826cdf9b7541e541ae8e0f5a
* Reversing patch for 64-bit Windows script launcher, applied PJE's simpler ↵agronholm2009-10-201-3/+2
| | | | | | | | solution instead --HG-- branch : distribute extra : rebase_source : 320927dbc962a262853cae7d8b3734794bb9f21d
* Fix script launcher creation on 64-bit Windows, patch by Jason R. Coombs ↵agronholm2009-09-251-2/+3
| | | | | | | | (http://bugs.python.org/setuptools/issue2) --HG-- branch : distribute extra : rebase_source : 60c07b0639b77a3e8ff13eb12161ebe03ab47430
* Merge upstream changes.Martin v. Löwis2009-09-131-1/+1
|\ | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 4f43f59bf581c692bfbe4b45a8567b089fa0173a
| * Now install_site works properly with distribute distribution. fixes #44tarek2009-09-131-1/+1
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 5dacd496be767ed406f7f8c76a598e7f186acdbc
* | Implement isascii.Martin v. Löwis2009-09-121-1/+13
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 6805617a1673859320ae278cfbb6f7136d20a0a8
* | Port writing text files to 3.x.Martin v. Löwis2009-09-121-2/+9
|/ | | | | | --HG-- branch : distribute extra : rebase_source : 767d047dae23d5123bf412b5838d150091eea078
* made zip_ok False by default #33tarek2009-08-281-1/+1
| | | | | | --HG-- branch : distribute extra : rebase_source : 593924801e8dd947c8e741f9d94e919dd0bdd2dd
* add --version to easy_installPhilip Jenvey2009-08-091-1/+7
| | | | | | | | | fixes #4 (transplanted from 29b03bd8ae436ac26767f42bc77b0bfefa8a6e7a) --HG-- branch : distribute extra : rebase_source : e97203ec652e0fea0744ad60819cd52e686bf449
* making ez_setup removing an existing setuptools distribution out of the waytarek2009-07-201-2/+1
| | | | | | --HG-- branch : distribute extra : rebase_source : a97ad8f22e698747b81a097215b8ebffdf7edae6
* Apply patch from pjenvey. Closes #3.Hanno Schlichting2009-07-161-3/+9
| | | | | | --HG-- branch : distribute extra : rebase_source : 3a61d0692c74559b140c179dcc5f4ac4905bb982
* Keep site directories (e.g. site-packages) from being included inPJ Eby2008-09-241-5/+5
| | | | | | | | .pth files. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4066609
* Backport fix for http://bugs.python.org/setuptools/issue27PJ Eby2008-09-241-24/+24
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4066597
* Enhanced error message per http://bugs.python.org/setuptools/issue28PJ Eby2008-08-211-2/+2
| | | | | | | | (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4065941
* Fixed ``win32.exe`` support for .pth files, so unnecessary directoryPJ Eby2008-03-101-5/+5
| | | | | | | | | | | | nesting is flattened out in the resulting egg. (There was a case-sensitivity problem that affected some distributions, notably ``pywin32``.) (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4061342
* Fix interactions between the various "require" options,PJ Eby2008-01-191-7/+7
| | | | | | | | | | so that downloads aren't repeated and needed eggs are always installed, even if they were downloaded to the setup directory already. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4060066
* chmod/test cleanups and Jython compatibility (backport from trunk)PJ Eby2008-01-181-22/+22
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4060062
* Fix not picking up dependency links from recursive dependencies.PJ Eby2008-01-151-4/+4
| | | | | | | | (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4059981
* Prevent ``--help-commands`` and other junk from showing under Python 2.5PJ Eby2007-10-081-1/+1
| | | | | | | | when running ``easy_install --help``. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4058374
* The default ``--index-url`` is now ``http://pypi.python.org/simple``, toPJ Eby2007-09-041-1/+1
| | | | | | | | | use the Python Package Index's new simpler (and faster!) REST API. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4057965
* Added ``--local-snapshots-ok`` flag, to allow building eggs fromPJ Eby2007-02-231-5/+5
| | | | | | | | projects installed using ``setup.py develop``. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053877
* Indicate when dependency processing is finished, so that you can tellPJ Eby2007-02-231-1/+1
| | | | | | | | | which dependencies go with what. (Suggested by Ian Bicking) (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053869
* Fix error if script contains null byte. (backport from trunk)PJ Eby2007-02-171-1/+1
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053814
* Fix script language detection problem (backport from trunk)PJ Eby2007-02-011-12/+12
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053615
* Fixed distutils-style scripts originally built on Windows having theirPJ Eby2007-02-011-1/+1
| | | | | | | | line endings doubled when installed on any platform. (backport) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053612
* Bump version to 0.6c5, and backport bdist_rpm and cygwin dll fixesPJ Eby2007-01-091-8/+8
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053317
* Switch default package-index to cheeseshop.python.org, and makePJ Eby2006-12-291-1/+1
| | | | | | | | setuptools' home page its cheeseshop page. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053196
* Overhauled Windows script wrapping to support ``bdist_wininst`` better.PJ Eby2006-12-291-15/+56
| | | | | | | | | | | | Scripts installed with ``bdist_wininst`` will always use ``#!python.exe`` or ``#!pythonw.exe`` as the executable name (even when built on non-Windows platforms!), and the wrappers will look for the executable in the script's parent directory (which should find the right version of Python). (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053194
* Partial support for cross-platform generation of bdist_wininst .exe's.PJ Eby2006-12-291-6/+6
| | | | | | | | | | | Unfortunately, bdist_wininst doesn't fix up #! lines, so python.exe or pythonw.exe have to be on PATH for generated scripts to work. This could probably be fixed up with a post-install script, but that's a job for another day. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053186
* Removed all special support for Sourceforge mirrors, as Sourceforge'sPJ Eby2006-12-291-3/+3
| | | | | | | | | mirror system now works well for non-browser downloads. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053178
* Fixed a problem with ``.pth`` testing on Windows when ``sys.executable``PJ Eby2006-12-011-1/+1
| | | | | | | | | has a space in it (e.g., the user installed Python to a ``Program Files`` directory). (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4052887
* Use cross-platform relative paths in ``easy-install.pth`` when doingPJ Eby2006-09-291-3/+44
| | | | | | | | | | ``develop`` and the source directory is a subdirectory of the installation target directory. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4052047
* Allow explicit selection of Sourceforge mirror(s) with ``--sf-mirror``, andPJ Eby2006-09-271-4/+4
| | | | | | | | | further refine download/retry algorithm. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4052013
* Add support for "eggsecutable" headers: a /bin/sh script that is prependedPJ Eby2006-09-221-4/+4
| | | | | | | | | | | to an .egg file to allow it to be run as a script on Unix-ish platforms. (This is mainly so that setuptools itself can have a single-file installer on Unix, without doing multiple downloads, dealing with firewalls, etc.) (Backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051969
* Fix easy_install not recognizing win32.exe files that include a custom bitmap.PJ Eby2006-09-211-1/+1
| | | | | | | | (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051957