Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
PyPI

setuptools 0.7.7

pip install setuptools==0.7.7

Newer version available (80.9.0)

Released:

Easily download, build, install, upgrade, and uninstall Python packages

Verified details

These details have beenverified by PyPI
Maintainers
Avatar for abravalheri from gravatar.comabravalheriAvatar for dstufft from gravatar.comdstufftAvatar for jaraco from gravatar.comjaraco

Unverified details

These details havenot been verified by PyPI
Project links
Meta
  • License: Python Software Foundation License, Zope Public License (PSF or ZPL)
  • Author:The fellowship of the packaging
  • Tags CPAN, PyPI, distutils, eggs, package, management

Project description

Installing and Using Setuptools

Installation Instructions

Upgrading from Distribute

Currently, Distribute disallows installing Setuptools 0.7+ over Distribute.You must first uninstall any active version of Distribute first (seeUninstalling).

Upgrading from Setuptools 0.6

Upgrading from prior versions of Setuptools is supported. Initial reportsgood success in this regard.

Windows

The recommended way to install setuptools on Windows is to downloadez_setup.py and run it. The script will download the appropriate .eggfile and install it for you.

For best results, uninstall previous versions FIRST (seeUninstalling).

Once installation is complete, you will find aneasy_install.exe program inyour PythonScripts subdirectory. For simple invocation and best results,add this directory to yourPATH environment variable, if it is not alreadypresent.

Unix-based Systems including Mac OS X

Downloadez_setup.py and run it using the target Python version. The scriptwill download the appropriate version and install it for you:

> wget https://bitbucket.org/pypa/setuptools/raw/0.7.7/ez_setup.py -O - | python

Note that you will may need to invoke the command with superuser privileges toinstall to the system Python.

Alternatively, on Python 2.6 and later, Setuptools may be installed to auser-local path:

> wget https://bitbucket.org/pypa/setuptools/raw/0.7.7/ez_setup.py> python ez_setup.py --user

Advanced Installation

For more advanced installation options, such as installing to customlocations or prefixes, download and extract the sourcetarball fromSetuptools on PyPIand run setup.py with any supported distutils and Setuptools options.For example:

setuptools-0.7.7$ python setup.py --prefix=/opt/setuptools

Use--help to get a full options list, but we recommend consultingtheEasyInstall manual for detailed instructions, especiallythe sectionon custom installation locations.

Downloads

All setuptools downloads can be found atthe project’s home page in the PythonPackage Index. Scroll to the very bottom of the page to find the links.

In addition to the PyPI downloads, the development version ofsetuptoolsis available from theBitbucket repo, and in-development versions of the0.6 branch are available as well.

Uninstalling

On Windows, if Setuptools was installed using an.exe or.msiinstaller, simply use the uninstall feature of “Add/Remove Programs” in theControl Panel.

Otherwise, to uninstall Setuptools or Distribute, regardless of the Pythonversion, delete allsetuptools* anddistribute* files anddirectories from your system’ssite-packages directory(and any othersys.path directories) FIRST.

If you are upgrading or otherwise plan to re-install Setuptools or Distribute,nothing further needs to be done. If you want to completely remove Setuptools,you may also want to remove the ‘easy_install’ and ‘easy_install-x.x’ scriptsand associated executables installed to the Python scripts directory.

Using Setuptools and EasyInstall

Here are some of the available manuals, tutorials, and other resources forlearning about Setuptools, Python Eggs, and EasyInstall:

Questions, comments, and bug reports should be directed to thedistutils-sigmailing list. If you have written (or know of) any tutorials, documentation,plug-ins, or other resources for setuptools users, please let us know aboutthem there, so this reference list can be updated. If you have working,tested patches to correct problems or add features, you may submit them tothesetuptools bug tracker.

Credits

  • The original design for the.egg format and thepkg_resources API wasco-created by Phillip Eby and Bob Ippolito. Bob also implemented the firstversion ofpkg_resources, and supplied the OS X operating system versioncompatibility algorithm.

  • Ian Bicking implemented many early “creature comfort” features ofeasy_install, including support for downloading via Sourceforge andSubversion repositories. Ian’s comments on the Web-SIG about WSGIapplication deployment also inspired the concept of “entry points” in eggs,and he has given talks at PyCon and elsewhere to inform and educate thecommunity about eggs and setuptools.

  • Jim Fulton contributed time and effort to build automated tests of variousaspects ofeasy_install, and supplied the doctests for the command-line.exe wrappers on Windows.

  • Phillip J. Eby is the principal author and maintainer of setuptools, andfirst proposed the idea of an importable binary distribution format forPython application plug-ins.

  • Significant parts of the implementation of setuptools were funded by the OpenSource Applications Foundation, to provide a plug-in infrastructure for theChandler PIM application. In addition, many OSAF staffers (such as Mike“Code Bear” Taylor) contributed their time and stress as guinea pigs for theuse of eggs and setuptools, even before eggs were “cool”. (Thanks, guys!)

CHANGES

0.7.7

  • Distribute #375: Repair AttributeError created in last release (redo).

  • Issue #30: Added test for get_cache_path.

0.7.6

  • Distribute #375: Repair AttributeError created in last release.

0.7.5

  • Issue #21: Restore Python 2.4 compatibility intest_easy_install.

  • Distribute #375: Merged additional warning from Distribute 0.6.46.

  • Now honor the environment variableSETUPTOOLS_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT in addition to the nowdeprecatedDISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT.

0.7.4

  • Issue #20: Fix comparison of parsed SVN version on Python 3.

0.7.3

  • Issue #1: Disable installation of Windows-specific files on non-Windows systems.

  • Use new sysconfig module with Python 2.7 or >=3.2.

0.7.2

  • Issue #14: Use markerlib when theparser module is not available.

  • Issue #10:ez_setup.py now uses HTTPS to download setuptools from PyPI.

0.7.1

  • Fix NameError (Issue #3) again - broken in bad merge.

0.7

  • Merged Setuptools and Distribute. See docs/merge.txt for details.

Added several features that were slated for setuptools 0.6c12:

  • Index URL now defaults to HTTPS.

  • Added experimental environment marker support. Now clients may designate aPEP-426 environment marker for “extra” dependencies. Setuptools uses thisfeature insetup.py for optional SSL and certificate validation supporton older platforms. Based on Distutils-SIG discussions, the syntax issomewhat tentative. There should probably be a PEP with a firmer spec beforethe feature should be considered suitable for use.

  • Added support for SSL certificate validation when installing packages froman HTTPS service.

0.7b4

  • Issue #3: Fixed NameError in SSL support.

0.6.48

  • Correct AttributeError inResourceManager.get_cache_path introduced in0.6.46 (redo).

0.6.47

  • Correct AttributeError inResourceManager.get_cache_path introduced in0.6.46.

0.6.46

  • Issue #375: Issue a warning if the PYTHON_EGG_CACHE or otherwisecustomized egg cache location specifies a directory that’s group- orworld-writable.

0.6.45

  • Issue #379:distribute_setup.py now traps VersionConflict as well,restoring ability to upgrade from an older setuptools version.

0.6.44

  • distribute_setup.py has been updated to allow Setuptools 0.7 tosatisfy use_setuptools.

0.6.43

  • Issue #378: Restore support for Python 2.4 Syntax (regression in 0.6.42).

0.6.42

  • External links finder no longer yields duplicate links.

  • Issue #337: Moved site.py to setuptools/site-patch.py (graft of very oldpatch from setuptools trunk which inspired PR #31).

0.6.41

  • Issue #27: Use public api for loading resources from zip files rather thanthe private method_zip_directory_cache.

  • Added a new functioneasy_install.get_win_launcher which may be used bythird-party libraries such as buildout to get a suitable script launcher.

0.6.40

  • Issue #376: brought back cli.exe and gui.exe that were deleted in theprevious release.

0.6.39

  • Add support for console launchers on ARM platforms.

  • Fix possible issue in GUI launchers where the subsystem was not supplied tothe linker.

  • Launcher build script now refactored for robustness.

  • Issue #375: Resources extracted from a zip egg to the file system now alsocheck the contents of the file against the zip contents during eachinvocation of get_resource_filename.

0.6.38

  • Issue #371: The launcher manifest file is now installed properly.

0.6.37

  • Issue #143: Launcher scripts, including easy_install itself, are nowaccompanied by a manifest on 32-bit Windows environments to avoid theInstaller Detection Technology and thus undesirable UAC elevation describedinthis Microsoft article.

0.6.36

  • Pull Request #35: InBuildout issue 64, it was reported thatunder Python 3, installation of distutils scripts could attempt to copythe__pycache__ directory as a file, causing an error, apparently onlyunder Windows. Easy_install now skips all directories when processingmetadata scripts.

0.6.35

Note this release is backward-incompatible with distribute 0.6.23-0.6.34 inhow it parses version numbers.

  • Issue #278: Restored compatibility with distribute 0.6.22 and setuptools0.6. Updated the documentation to match more closely with the versionparsing as intended in setuptools 0.6.

0.6.34

  • Issue #341: 0.6.33 fails to build under Python 2.4.

0.6.33

  • Fix 2 errors with Jython 2.5.

  • Fix 1 failure with Jython 2.5 and 2.7.

  • Disable workaround for Jython scripts on Linux systems.

  • Issue #336:setup.py no longer masks failure exit code when tests fail.

  • Fix issue in pkg_resources where try/except around a platform-dependentimport would trigger hook load failures on Mercurial. See pull request 32for details.

  • Issue #341: Fix a ResourceWarning.

0.6.32

  • Fix test suite with Python 2.6.

  • Fix some DeprecationWarnings and ResourceWarnings.

  • Issue #335: Backed outsetup_requires superceding installed requirementsuntil regression can be addressed.

0.6.31

  • Issue #303: Make sure the manifest only ever contains UTF-8 in Python 3.

  • Issue #329: Properly close files created by tests for compatibility withJython.

  • Work around Jython bugs#1980 and#1981.

  • Issue #334: Provide workaround for packages that referencesys.__stdout__such as numpy does. This change should addressvirtualenv #359 as longas the system encoding is UTF-8 or the IO encoding is specified in theenvironment, i.e.:

    PYTHONIOENCODING=utf8 pip install numpy
  • Fix for encoding issue when installing from Windows executable on Python 3.

  • Issue #323: Allowsetup_requires requirements to supercede installedrequirements. Added some new keyword arguments to existing pkg_resourcesmethods. Also had to updated how __path__ is handled for namespace packagesto ensure that when a new egg distribution containing a namespace package isplaced on sys.path, the entries in __path__ are found in the same order theywould have been in had that egg been on the path when pkg_resources wasfirst imported.

0.6.30

  • Issue #328: Clean up temporary directories in distribute_setup.py.

  • Fix fatal bug in distribute_setup.py.

0.6.29

  • Pull Request #14: Honor file permissions in zip files.

  • Issue #327: Merged pull request #24 to fix a dependency problem with pip.

  • Merged pull request #23 to fixhttps://github.com/pypa/virtualenv/issues/301.

  • If Sphinx is installed, theupload_docs command now runsbuild_sphinxto produce uploadable documentation.

  • Issue #326:upload_docs provided mangled auth credentials under Python 3.

  • Issue #320: Fix check for “createable” in distribute_setup.py.

  • Issue #305: Remove a warning that was triggered during normal operations.

  • Issue #311: Print metadata in UTF-8 independent of platform.

  • Issue #303: Read manifest file with UTF-8 encoding under Python 3.

  • Issue #301: Allow to run tests of namespace packages when using 2to3.

  • Issue #304: Prevent import loop in site.py under Python 3.3.

  • Issue #283: Reenable scanning of*.pyc /*.pyo files on Python 3.3.

  • Issue #299: The develop command didn’t work on Python 3, when using 2to3,as the egg link would go to the Python 2 source. Linking to the 2to3’d codein build/lib makes it work, although you will have to rebuild the modulebefore testing it.

  • Issue #306: Even if 2to3 is used, we build in-place under Python 2.

  • Issue #307: Prints the full path when .svn/entries is broken.

  • Issue #313: Support for sdist subcommands (Python 2.7)

  • Issue #314: test_local_index() would fail an OS X.

  • Issue #310: Non-ascii characters in a namespace __init__.py causes errors.

  • Issue #218: Improved documentation on behavior ofpackage_data andinclude_package_data. Files indicated bypackage_data are now includedin the manifest.

  • distribute_setup.py now allows a–download-base argument for retrievingdistribute from a specified location.

0.6.28

  • Issue #294: setup.py can now be invoked from any directory.

  • Scripts are now installed honoring the umask.

  • Added support for .dist-info directories.

  • Issue #283: Fix and disable scanning of*.pyc /*.pyo files onPython 3.3.

0.6.27

  • Support current snapshots of CPython 3.3.

  • Distribute now recognizes README.rst as a standard, default readme file.

  • Exclude ‘encodings’ modules when removing modules from sys.modules.Workaround for #285.

  • Issue #231: Don’t fiddle with system python when used with buildout(bootstrap.py)

0.6.26

  • Issue #183: Symlinked files are now extracted from source distributions.

  • Issue #227: Easy_install fetch parameters are now passed during theinstallation of a source distribution; now fulfillment of setup_requiresdependencies will honor the parameters passed to easy_install.

0.6.25

  • Issue #258: Workaround a cache issue

  • Issue #260: distribute_setup.py now accepts the –user parameter forPython 2.6 and later.

  • Issue #262: package_index.open_with_auth no longer throws LookupErroron Python 3.

  • Issue #269: AttributeError when an exception occurs reading Manifest.inon late releases of Python.

  • Issue #272: Prevent TypeError when namespace package names are unicodeand single-install-externally-managed is used. Also fixes PIPissue449.

  • Issue #273: Legacy script launchers now install with Python2/3 support.

0.6.24

0.6.23

0.6.21

0.6.20

  • Issue #135: Include url in warning when processing URLs in package_index.

  • Issue #212: Fix issue where easy_instal fails on Python 3 on windows installer.

  • Issue #213: Fix typo in documentation.

0.6.19

  • Issue 206: AttributeError: ‘HTTPMessage’ object has no attribute ‘getheaders’

0.6.18

0.6.17

  • Support ‘DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT’ environmentvariable to allow to disable installation of easy_install-${version} script.

  • Support Python >=3.1.4 and >=3.2.1.

  • Issue 204: Don’t try to import the parent of a namespace package indeclare_namespace

  • Issue 196: Tolerate responses with multiple Content-Length headers

  • Issue 205: Sandboxing doesn’t preserve working_set. Leads to setup_requiresproblems.

0.6.16

  • Builds sdist gztar even on Windows (avoidingIssue 193).

  • Issue 192: Fixed metadata omitted on Windows when package_dirspecified with forward-slash.

  • Issue 195: Cython build support.

  • Issue 200: Issues with recognizing 64-bit packages on Windows.

0.6.15

  • Fixed typo in bdist_egg

  • Several issues under Python 3 has been solved.

  • Issue 146: Fixed missing DLL files after easy_install of windows exe package.

0.6.14

  • Issue 170: Fixed unittest failure. Thanks to Toshio.

  • Issue 171: Fixed race condition in unittests cause deadlocks in test suite.

  • Issue 143: Fixed a lookup issue with easy_install.Thanks to David and Zooko.

  • Issue 174: Fixed the edit mode when its used with setuptools itself

0.6.13

  • Issue 160: 2.7 gives ValueError(“Invalid IPv6 URL”)

  • Issue 150: Fixed using ~/.local even in a –no-site-packages virtualenv

  • Issue 163: scan index links before external links, and don’t use the md5 whencomparing two distributions

0.6.12

0.6.11

  • Found another case of SandboxViolation - fixed

  • Issue 15 and 48: Introduced a socket timeout of 15 seconds on url openings

  • Added indexsidebar.html into MANIFEST.in

  • Issue 108: Fixed TypeError with Python3.1

  • Issue 121: Fixed –help install command trying to actually install.

  • Issue 112: Added an os.makedirs so that Tarek’s solution will work.

  • Issue 133: Added –no-find-links to easy_install

  • Added easy_install –user

  • Issue 100: Fixed develop –user not taking ‘.’ in PYTHONPATH into account

  • Issue 134: removed spurious UserWarnings. Patch by VanLindberg

  • Issue 138: cant_write_to_target error when setup_requires is used.

  • Issue 147: respect the sys.dont_write_bytecode flag

0.6.10

  • Reverted change made for the DistributionNotFound exception becausezc.buildout uses the exception message to get the name of thedistribution.

0.6.9

  • Issue 90: unknown setuptools version can be added in the working set

  • Issue 87: setupt.py doesn’t try to convert distribute_setup.py anymoreInitial Patch by arfrever.

  • Issue 89: added a side bar with a download link to the doc.

  • Issue 86: fixed missing sentence in pkg_resources doc.

  • Added a nicer error message when a DistributionNotFound is raised.

  • Issue 80: test_develop now works with Python 3.1

  • Issue 93: upload_docs now works if there is an empty sub-directory.

  • Issue 70: exec bit on non-exec files

  • Issue 99: now the standalone easy_install command doesn’t uses a“setup.cfg” if any exists in the working directory. It will use itonly if triggered byinstall_requires from a setup.py call(install, develop, etc).

  • Issue 101: Allowingos.devnull in Sandbox

  • Issue 92: Fixed the “no eggs” found error with MacPort(platform.mac_ver() fails)

  • Issue 103: test_get_script_header_jython_workaround not runanymore under py3 with C or POSIX local. Contributed by Arfrever.

  • Issue 104: remvoved the assertion when the installation fails,with a nicer message for the end user.

  • Issue 100: making sure there’s no SandboxViolation whenthe setup script patches setuptools.

0.6.8

  • Added “check_packages” in dist. (added in Setuptools 0.6c11)

  • Fixed the DONT_PATCH_SETUPTOOLS state.

0.6.7

  • Issue 58: Added –user support to the develop command

  • Issue 11: Generated scripts now wrap their call to the script entry pointin the standard “if name == ‘main’”

  • Added the ‘DONT_PATCH_SETUPTOOLS’ environment variable, so virtualenvcan drive an installation that doesn’t patch a global setuptools.

  • Reviewed unladen-swallow specific change fromhttp://code.google.com/p/unladen-swallow/source/detail?spec=svn875&r=719and determined that it no longer applies. Distribute should work fine withUnladen Swallow 2009Q3.

  • Issue 21: Allow PackageIndex.open_url to gracefully handle all cases of ahttplib.HTTPException instead of just InvalidURL and BadStatusLine.

  • Removed virtual-python.py from this distribution and updated documentationto point to the actively maintained virtualenv instead.

  • Issue 64: use_setuptools no longer rebuilds the distribute egg everytime it is run

  • use_setuptools now properly respects the requested version

  • use_setuptools will no longer try to import a distribute egg for thewrong Python version

  • Issue 74: no_fake should be True by default.

  • Issue 72: avoid a bootstrapping issue with easy_install -U

0.6.6

  • Unified the bootstrap file so it works on both py2.x and py3k without 2to3(patch by Holger Krekel)

0.6.5

  • Issue 65: cli.exe and gui.exe are now generated at build time,depending on the platform in use.

  • Issue 67: Fixed doc typo (PEP 381/382)

  • Distribute no longer shadows setuptools if we require a 0.7-seriessetuptools. And an error is raised when installing a 0.7 setuptools withdistribute.

  • When run from within buildout, no attempt is made to modify an existingsetuptools egg, whether in a shared egg directory or a system setuptools.

  • Fixed a hole in sandboxing allowing builtin file to write outside ofthe sandbox.

0.6.4

  • Added the generation ofdistribute_setup_3k.py during the release.This closesissue #52.

  • Added an upload_docs command to easily upload project documentation toPyPI’shttps://pythonhosted.org. This closeissue #56.

  • Fixed a bootstrap bug on the use_setuptools() API.

0.6.3

setuptools

  • Fixed a bunch of calls to file() that caused crashes on Python 3.

bootstrapping

  • Fixed a bug in sorting that caused bootstrap to fail on Python 3.

0.6.2

setuptools

bootstrapping

0.6.1

setuptools

bootstrapping

  • The boostrap process leave setuptools alone if detected in the systemand –root or –prefix is provided, but is not in the same location.This closesissue #10.

0.6

setuptools

  • Packages required at build time where not fully present at install time.This closesissue #12.

  • Protected against failures in tarfile extraction. This closesissue #10.

  • Made Jython api_tests.txt doctest compatible. This closesissue #7.

  • sandbox.py replaced builtin type file with builtin function open. Thisclosesissue #6.

  • Immediately close all file handles. This closesissue #3.

  • Added compatibility with Subversion 1.6. This referencesissue #1.

pkg_resources

  • Avoid a call to /usr/bin/sw_vers on OSX and use the official platform APIinstead. Based on a patch from ronaldoussoren. This closesissue #5.

  • Fixed a SandboxViolation for mkdir that could occur in certain cases.This closesissue #13.

  • Allow to find_on_path on systems with tight permissions to fail gracefully.This closesissue #9.

  • Corrected inconsistency between documentation and code of add_entry.This closesissue #8.

  • Immediately close all file handles. This closesissue #3.

easy_install

  • Immediately close all file handles. This closesissue #3.

Project details

Verified details

These details have beenverified by PyPI
Maintainers
Avatar for abravalheri from gravatar.comabravalheriAvatar for dstufft from gravatar.comdstufftAvatar for jaraco from gravatar.comjaraco

Unverified details

These details havenot been verified by PyPI
Project links
Meta
  • License: Python Software Foundation License, Zope Public License (PSF or ZPL)
  • Author:The fellowship of the packaging
  • Tags CPAN, PyPI, distutils, eggs, package, management

Release historyRelease notifications |RSS feed

This version

0.7.7

Download files

Download the file for your platform. If you're not sure which to choose, learn more aboutinstalling packages.

Source Distributions

setuptools-0.7.7.zip (810.7 kBview details)

UploadedSource

setuptools-0.7.7.tar.gz (754.7 kBview details)

UploadedSource

File details

Details for the filesetuptools-0.7.7.zip.

File metadata

  • Download URL:setuptools-0.7.7.zip
  • Upload date:
  • Size: 810.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for setuptools-0.7.7.zip
AlgorithmHash digest
SHA256817cd90b4027c088550c031f294749ff4eb24d5fe44e4a030158a7a4a327f025
MD5b77049e5e3c44a660261ab076705577e
BLAKE2b-2569da59917277554697b42ca6e21996ede42519044f841e23f7489728b6eed98dd

See more details on using hashes here.

File details

Details for the filesetuptools-0.7.7.tar.gz.

File metadata

  • Download URL:setuptools-0.7.7.tar.gz
  • Upload date:
  • Size: 754.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for setuptools-0.7.7.tar.gz
AlgorithmHash digest
SHA2569a4415c570c0bf75e33f5dffe1bb62d2c9ad6f28525505aedb4ce380ac1068c4
MD50d7bc0e1a34b70a97e706ef74aa7f37f
BLAKE2b-256a1e9ace7f7b52bd4a1ab36e39bcf7a9fe1ce20ccf1d6e6f6625fec718856434f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security SponsorDatadog MonitoringDepot Continuous IntegrationFastly CDNGoogle Download AnalyticsPingdom MonitoringSentry Error loggingStatusPage Status page

[8]ページ先頭

©2009-2025 Movatter.jp