Source

setuptools / easy_install.py

Author Commit Message Labels Comments Date
PJ Eby
Backport all known 2.5-compatibility fixes
Branches
setuptools-0.6
PJ Eby
Improve backward compatibility, so that users running easy_install.py or python -m easy_install get a clearer error message.
Branches
setuptools
PJ Eby
Added support to solve the infamous "we want .py on Windows, no 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-a…
Branches
setuptools
PJ Eby
Made ``easy_install`` a standard ``setuptools`` command, moving it from 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.
Branches
setuptools
PJ Eby
Fix typo
Branches
setuptools
PJ Eby
EasyInstall/setuptools 0.5a4: significant new features, including automatic installation of dependencies, the ability to specify dependencies in a setup script, and several new options to control EasyInstall's behavior.
Branches
setuptools
PJ Eby
0.5a3 bugfix release
Branches
setuptools
PJ Eby
Add support for installing from .win32.exe's created by distutils (by converting them to eggs). Bump version to 0.5a1.
Branches
setuptools
PJ Eby
Add support for quiet/verbose/dry-run/optimize flags.
Branches
setuptools
PJ Eby
Cosmetic improvements to progress messages.
Branches
setuptools
PJ Eby
Add 'ez_setup' bootstrap installer. Prep for 0.4a2 release.
Branches
setuptools
PJ Eby
Add script installation support. Use distutils' exceptions for option 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.
Branches
setuptools
PJ Eby
Restructure easy_install as a distutils "Command" object, so that it can 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.
Branches
setuptools
PJ Eby
Move package index/downloading stuff to setuptools.package_index module.
Branches
setuptools
PJ Eby
Rebalance responsibilities between PackageIndex, Installer, and main() so 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.
Branches
setuptools
PJ Eby
Split setup-running and archive-extraction utilities into separate modules, for easy use by tools other than EasyInstall.
Branches
setuptools
PJ Eby
Implement PyPI screenscraping for EasyInstall. Fix a bug in requirement version checking. Document new options for screen scraping.
Branches
setuptools
PJ Eby
Partial support for autolocation of packages via link harvesting. Still 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.
Branches
setuptools
PJ Eby
Fix a minor problem with -b option, and prep for 0.3a4 release.
Branches
setuptools
PJ Eby
Ditch outdated TODO file, move docs to a new 'EasyInstall.txt' file. Fix installation report for .egg files/directories.
Branches
setuptools
PJ Eby
Add option to allow specifying a download/extract/build directory, which 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.
Branches
setuptools
PJ Eby
Add setup script "sandboxing" -- abort a setup script if it tries to write 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.
Branches
setuptools
PJ Eby
Add SourceForge download support, graciously contributed by Ian Bicking. Also, move some more imports to the top.
Branches
setuptools
PJ Eby
Add subversion support, loosely based on an implementation by Ian Bicking. 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().
Branches
setuptools
PJ Eby
Add support for using Installer subclasses, especially ones with support for searching a package database.
Branches
setuptools
PJ Eby
Oddly enough, some setup.py files actually check __name__=='__main__'
Branches
setuptools
PJ Eby
Add link to Python Eggs page in doc; fix a problem with non-standard source distros (where setup.py is in the archive root).
Branches
setuptools
PJ Eby
Remove exemaker spew from easy_install.py
Branches
setuptools
PJ Eby
Add "easy_install" script that downloads distutils source (or .egg files) 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 ar…
Branches
setuptools