aboutsummaryrefslogtreecommitdiffstats
path: root/easy_install.py
Commit message (Collapse)AuthorAgeFilesLines
* Revert "drop easy_install script and associated documentation"Benoit Pierre2019-11-161-0/+5
| | | | This reverts commit 6e1838a9fb5feb000ba9b6a3c37c8b39d7e872b3.
* drop easy_install script and associated documentationBenoit Pierre2019-11-151-5/+0
|
* Remove spurious executable permissionsMiro HronĨok2018-07-271-0/+0
|
* Backport all known 2.5-compatibility fixesPJ Eby2006-09-201-13/+3
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051935
* Improve backward compatibility, so that users running easy_install.py orPJ Eby2005-09-241-16/+9
| | | | | | | | python -m easy_install get a clearer error message. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041249
* Added support to solve the infamous "we want .py on Windows, noPJ Eby2005-09-171-0/+3
| | | | | | | | | | | | | | extension elsewhere" problem, while also bypassing the need for PATHEXT on Windows, and in fact the need to even write script files at all, for any platform. Instead, you define "entry points" in your setup script, in this case the names of the scripts you want (without extensions) and the functions that should be imported and run to implement the scripts. Setuptools will then generate platform-appropriate script files at install time, including an .exe wrapper when installing on Windows. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041246
* Made ``easy_install`` a standard ``setuptools`` command, moving it fromPJ Eby2005-07-061-803/+2
| | | | | | | | | | | the ``easy_install`` module to ``setuptools.command.easy_install``. Note that if you were importing or extending it, you must now change your imports accordingly. ``easy_install.py`` is still installed as a script, but not as a module. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041079
* Fix typoPJ Eby2005-07-041-1/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041075
* EasyInstall/setuptools 0.5a4: significant new features, including automaticPJ Eby2005-06-271-65/+188
| | | | | | | | | installation of dependencies, the ability to specify dependencies in a setup script, and several new options to control EasyInstall's behavior. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041073
* 0.5a3 bugfix releasePJ Eby2005-06-251-4/+4
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041072
* Add support for installing from .win32.exe's created by distutils (byPJ Eby2005-06-151-37/+201
| | | | | | | | converting them to eggs). Bump version to 0.5a1. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041070
* Add support for quiet/verbose/dry-run/optimize flags.PJ Eby2005-06-141-58/+181
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041064
* Cosmetic improvements to progress messages.PJ Eby2005-06-141-4/+4
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041057
* Add 'ez_setup' bootstrap installer. Prep for 0.4a2 release.PJ Eby2005-06-121-1/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041054
* Add script installation support. Use distutils' exceptions for optionPJ Eby2005-06-121-17/+58
| | | | | | | | | | errors. Include Python version in setuptools' egg name for compatibility w/installs via easy_install. Add isdir/listdir facilities for metadata, along with support for running scripts from eggs. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041053
* Restructure easy_install as a distutils "Command" object, so that it canPJ Eby2005-06-121-97/+138
| | | | | | | | | | access the distutils configuration and logging infrastructure, and can "inherit" options from a distutils setup script that wants to use it to install its own dependencies. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041052
* Move package index/downloading stuff to setuptools.package_index module.PJ Eby2005-06-121-334/+6
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041051
* Rebalance responsibilities between PackageIndex, Installer, and main() soPJ Eby2005-06-121-205/+246
| | | | | | | | | | | | that PackageIndex handles all downloading of any kind, Installers can be reused for multiple packages, and main() manages temporary directories and all communication between PackageIndex and Installer. Also, change run_setup to take an argument sequence, because later we will probably need other arguments to control other aspects of run_setup's behavior. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041050
* Split setup-running and archive-extraction utilities into separate modules,PJ Eby2005-06-121-275/+29
| | | | | | | | for easy use by tools other than EasyInstall. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041049
* Implement PyPI screenscraping for EasyInstall. Fix a bug in requirementPJ Eby2005-06-051-104/+104
| | | | | | | | version checking. Document new options for screen scraping. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041041
* Partial support for autolocation of packages via link harvesting. StillPJ Eby2005-06-051-50/+173
| | | | | | | | | | | | | | needs a little work to get PyPI support working, and automatic dependency resolution. But for now you can do: easy_install -s http://example.com/download.html SomePackage And easy_install will find the best-looking download link on the page for instaling SomePackage. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041039
* Fix a minor problem with -b option, and prep for 0.3a4 release.PJ Eby2005-06-041-2/+2
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041035
* Ditch outdated TODO file, move docs to a new 'EasyInstall.txt' file. FixPJ Eby2005-05-311-148/+25
| | | | | | | | installation report for .egg files/directories. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041032
* Add option to allow specifying a download/extract/build directory, whichPJ Eby2005-05-301-27/+109
| | | | | | | | | | | | will be kept after installation completes. Added an "installation report" that tells you how to use 'require()' to activate a particular package version. Installer.install_eggs() now returns a list of Distribution objects for the eggs it found and installed, so that the command-line tool can print an installation report for each one. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041031
* Add setup script "sandboxing" -- abort a setup script if it tries to writePJ Eby2005-05-301-8/+172
| | | | | | | | | | to the filesystem outside of the installer's temporary directory. This is accomplished by temporarily replacing 'os.*' functions and the 'open' builtin with path-validation wrappers. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041029
* Add SourceForge download support, graciously contributed by Ian Bicking.PJ Eby2005-05-301-15/+56
| | | | | | | | Also, move some more imports to the top. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041027
* Add subversion support, loosely based on an implementation by Ian Bicking.PJ Eby2005-05-291-35/+76
| | | | | | | | | | | EasyInstall now recognizes both 'svn' URLs (including 'svn+ssh' et al), and notices when it connects to an HTTP server that's actually a subversion repository. In either case it does a subversion checkout of the package. Also, fixed a bug on platforms with os.samefile(). --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041025
* Add support for using Installer subclasses, especially ones with supportPJ Eby2005-05-291-8/+8
| | | | | | | | for searching a package database. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041023
* Oddly enough, some setup.py files actually check __name__=='__main__'PJ Eby2005-05-291-8/+8
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041022
* Add link to Python Eggs page in doc; fix a problem with non-standard sourcePJ Eby2005-05-291-4/+4
| | | | | | | | distros (where setup.py is in the archive root). --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041019
* Remove exemaker spew from easy_install.pyPJ Eby2005-05-291-3/+0
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041018
* Add "easy_install" script that downloads distutils source (or .egg files)PJ Eby2005-05-291-0/+536
and builds and installs them as eggs, with support for managing .pth files. Built distributions are installed in individual subdirectories, so you can either add the directory to a .pth (automatically done by default), or you can use pkg_resources.require() to manage your dependencies explicitly. Because each distribution is in its own directory (or .egg file), uninstallation and clean upgrades are trivial, without the aid of any sort of package manager. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041017