summaryrefslogtreecommitdiff
path: root/setuptools/command/easy_install.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
* Backport all known 2.5-compatibility fixesPJ Eby2006-09-201-1/+1
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051935
* Generated scripts now use ``-x`` on the ``#!`` line when ``sys.executable``PJ Eby2006-09-061-11/+11
| | | | | | | | | | contains non-ASCII characters, to prevent deprecation warnings about an unspecified encoding when the script is run. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051791
* Don't check installation directory writability and site/.pth setup whenPJ Eby2006-09-061-2/+2
| | | | | | | | using --editable. --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051782
* Fix ``sys.path_importer_cache`` not being updated when an existing zipfilePJ Eby2006-07-101-9/+9
| | | | | | | | or directory is deleted/overwritten. --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050546
* Implement detection of non-Python scripts, as described inPJ Eby2006-06-151-5/+46
| | | | | | | | | http://mail.python.org/pipermail/distutils-sig/2006-June/006359.html (merge from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4046986
* Fix sometimes not detecting local packages installed outside of "site"PJ Eby2006-06-091-1/+1
| | | | | | | | | directories. (merge from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4046782
* Fix local --find-links eggs not being copied except with --always-copy.PJ Eby2006-06-071-11/+11
| | | | | | | | (merge from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4046726
* Construct ``.pth`` file paths in such a way that installing an egg whosePJ Eby2006-05-301-3/+3
| | | | | | | | name begins with ``import`` doesn't cause a syntax error. --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4046564
* Don't make things warnings that aren't; update info text forPJ Eby2006-05-261-6/+6
| | | | | | | | --multi-version. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4046390
* Don't install or update a ``site.py`` patch when installing to aPJ Eby2006-05-231-5/+3
| | | | | | | | | | | ``PYTHONPATH`` directory with ``--multi-version``, unless an ``easy-install.pth`` file is already in use there. (Bugfix merge from 0.7 trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4046143
* Backport 'module' fixes to 0.6PJ Eby2006-04-241-3/+3
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4045696
* Implement dependency_links feature, courtesy of Tres Seaver's roughPJ Eby2006-03-291-4/+6
| | | | | | | | draft of a patch. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043423
* Support complex .pth files in win32.exe->.egg conversion; this additionPJ Eby2006-03-291-5/+5
| | | | | | | | | lets easy_install handle pywin32... well, almost. You still have to deal with the "system" DLLs yourself. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043417
* Fix ZipImportError when overwriting a zipfile with the same name/versionPJ Eby2006-03-241-13/+13
| | | | | | | | but different contents. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043297
* Use relative paths in ``.pth`` files when eggs are being installed to thePJ Eby2006-03-201-14/+14
| | | | | | | | | same directory as the ``.pth`` file. This maximizes portability of the target directory when building applications that contain eggs. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043178
* Support namespace packages in conjunction with system packagers, by omittingPJ Eby2006-03-171-2/+2
| | | | | | | | | the installation of any ``__init__.py`` files for namespace packages, and adding a special ``.pth`` file to create a working package in ``sys.modules``. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043119
* Added automatic handling of installation conflicts. Eggs are now shifted toPJ Eby2006-03-111-22/+63
| | | | | | | | | | | | | the front of sys.path, in an order consistent with where they came from, making EasyInstall seamlessly co-operate with system package managers. The ``--delete-conflicting`` and ``--ignore-conflicts-at-my-risk`` options are now no longer necessary, and will generate warnings at the end of a run if you use them. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042965
* When installing setup_requires/tests_require packages, usePJ Eby2006-02-281-2/+2
| | | | | | | | --multi-version so that '.' doesn't have to support .pth files. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042681