--- distribute-0.6.36.orig/setup.py +++ distribute-0.6.36/setup.py @@ -55,8 +55,13 @@ scripts = [] console_scripts = ["easy_install = setuptools.command.easy_install:main"] -if os.environ.get("DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT") is None: - console_scripts.append("easy_install-%s = setuptools.command.easy_install:main" % sys.version[:3]) +if 'XPYVERS' in os.environ: + for version in os.environ['XPYVERS'].split(): + console_scripts.append("easy_install-%s = setuptools.command.easy_install:main" + % version) +else: + console_scripts.append("easy_install-%s = setuptools.command.easy_install:main" + % sys.version[:3]) # specific command that is used to generate windows .exe files class build_py(_build_py): --- distribute-0.6.36.orig/distribute_setup.py +++ distribute-0.6.36/distribute_setup.py @@ -319,8 +319,7 @@ log.warn('Could not find the install location') return pyver = '%s.%s' % (sys.version_info[0], sys.version_info[1]) - setuptools_file = 'setuptools-%s-py%s.egg-info' % \ - (SETUPTOOLS_FAKED_VERSION, pyver) + setuptools_file = 'setuptools-%s.egg-info' % SETUPTOOLS_FAKED_VERSION pkg_info = os.path.join(placeholder, setuptools_file) if os.path.exists(pkg_info): log.warn('%s already exists', pkg_info) --- distribute-0.6.36.orig/debian/control +++ distribute-0.6.36/debian/control @@ -0,0 +1,96 @@ +Source: distribute +Section: python +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Matthias Klose +Build-Depends-Indep: python-all-dev (>= 2.6.6-2~), python3-all-dev (>= 3.1.2-8~), python-sphinx (>= 1.0.7+dfsg), python3.3-dev (>= 3.3.0) +Build-Depends: debhelper (>= 5.0.37.1) +XS-Python-Version: 2.7 +Standards-Version: 3.9.4 +Homepage: http://packages.python.org/distribute + +#Package: python-distribute +#Architecture: all +#Depends: ${python:Depends}, python-setuptools (= ${binary:Version}), ${misc:Depends} +#Suggests: python-distribute-doc +#Provides: ${python:Provides} +#XB-Python-Version: ${python:Versions} +#Description: Python Distutils Enhancements (based on distribute) +# Extensions to the Python distutils for large or complex distributions. +# . +# distribute is a "fork" of setuptools, which is supposed to replace setuptools. +# This package only contains the distribute egg. + +Package: python-pkg-resources +Architecture: all +Depends: ${python:Depends}, ${misc:Depends} +Suggests: python-distribute, python-distribute-doc +Conflicts: python2.3-setuptools (<< 0.6b2), python2.4-setuptools (<< 0.6b2), python-setuptools (<< 0.6c8-3) +Replaces: python2.3-setuptools, python2.4-setuptools +Provides: ${python:Provides} +XB-Python-Version: ${python:Versions} +Description: Package Discovery and Resource Access using pkg_resources + The pkg_resources module provides an API for Python libraries to + access their resource files, and for extensible applications and + frameworks to automatically discover plugins. It also provides + runtime support for using C extensions that are inside zipfile-format + eggs, support for merging packages that have separately-distributed + modules or subpackages, and APIs for managing Python's current + "working set" of active packages. + +Package: python-setuptools +Architecture: all +Depends: ${python:Depends}, python-pkg-resources (= ${binary:Version}), ${misc:Depends} +Conflicts: python2.3-setuptools (<< 0.6b2), python2.4-setuptools (<< 0.6b2), python-distribute (<< 0.7) +Replaces: python2.3-setuptools, python2.4-setuptools, python-distribute (<< 0.6.6) +Provides: ${python:Provides}, python-distribute +XB-Python-Version: ${python:Versions} +Description: Python Distutils Enhancements (setuptools compatibility) + Extensions to the python-distutils for large or complex distributions. + . + Package providing compatibility with old setuptools (0.6c9). + +Package: python-distribute-doc +Architecture: all +Section: doc +Depends: libjs-jquery, ${misc:Depends} +Description: Python Distutils Enhancements (based on distribute), documentation + Extensions to the Python distutils for large or complex distributions. + The package contains the documentation in html format. + . + distribute is a "fork" of setuptools, which is supposed to replace setuptools. + +#Package: python3-distribute +#Architecture: all +#Depends: ${python:Depends}, python3-pkg-resources (= ${binary:Version}), ${misc:Depends} +#Provides: ${python:Provides} +#XB-Python-Version: ${python:Versions} +#Description: Python3 Distutils Enhancements (based on distribute) +# Extensions to the Python3 distutils for large or complex distributions. +# . +# distribute is a "fork" of setuptools, which is supposed to replace setuptools. + +Package: python3-pkg-resources +Architecture: all +Depends: ${python3:Depends}, ${misc:Depends} +Provides: ${python3:Provides} +Suggests: python3-setuptools +Conflicts: python-pkg-resources (= 0.6.10-2) +Description: Package Discovery and Resource Access using pkg_resources + The pkg_resources module provides an API for Python libraries to + access their resource files, and for extensible applications and + frameworks to automatically discover plugins. It also provides + runtime support for using C extensions that are inside zipfile-format + eggs, support for merging packages that have separately-distributed + modules or subpackages, and APIs for managing Python's current + "working set" of active packages. + +Package: python3-setuptools +Architecture: all +Depends: ${python3:Depends}, python3-pkg-resources (= ${binary:Version}), ${misc:Depends} +Provides: ${python3:Provides} +Conflicts: python-setuptools (= 0.6.10-2) +Description: Python3 Distutils Enhancements (setuptools compatibility) + Extensions to the python-distutils for large or complex distributions. + . + Package providing compatibility with old setuptools (0.6c9). --- distribute-0.6.36.orig/debian/watch +++ distribute-0.6.36/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pypi.python.org/packages/source/d/distribute/distribute-([0-9.]*).tar.gz --- distribute-0.6.36.orig/debian/README.Debian +++ distribute-0.6.36/debian/README.Debian @@ -0,0 +1,6 @@ +python-setuptools for Debian +---------------------------- + +Snapshot, taken from the sandbox CVS. + + -- Matthias Klose , Tue, 14 Dec 2004 12:45:14 +0100 --- distribute-0.6.36.orig/debian/rules +++ distribute-0.6.36/debian/rules @@ -0,0 +1,188 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +# setuptools doesn't handle translated messages +export LC_ALL=C + +#PYVERS := 2.3 2.5 $(shell pyversions -vr debian/control) +XPYVERS := 2.7 +PYVERS := 2.7 +PYVERS3 := 3.3 +PYVER := $(shell python -c 'import sys; print sys.version[:3]') +SETUPTOOLSVER=0.6c11 +export XPYVERS + +include /usr/share/python3/python.mk + +pname = $(if $(findstring 3.,$(2)),$(subst python-,python3-,$(1)),$(1)) + +p_dist = python-distribute +p_pkgr = python-pkg-resources +p_setp = python-setuptools +p_doc = python-distribute-doc + +d_dist = debian/$(p_dist) +d_pkgr = debian/$(p_pkgr) +d_setp = debian/$(p_setp) +d_doc = debian/$(p_doc) + +build: build-stamp +build-arch: build-stamp +build-indep: build-stamp build-doc-stamp +build-stamp: $(PYVERS:%=build-python%) $(PYVERS3:%=build-python%) build-doc-stamp + touch $@ +build-doc-stamp: + cd docs && sphinx-build -b html -d build/doctrees . build/html + touch $@ +build-python%: + python$* setup.py build + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-python* build-doc-stamp build-stamp + rm -rf build dist + -find -name '*.py[co]' | xargs rm -f + rm -rf docs/build + dh_clean + +install: build install-prereq $(PYVERS:%=install-python%) $(PYVERS3:%=install-python%) + find debian -name 'setuptools_boot.py*' | xargs -r rm -f + find debian -name '*.py[co]' | xargs -r rm -f + pkgs=$$(dh_listpackages); cd debian && find $$pkgs -mindepth 1 -type d -empty -print -delete + + rm -f debian/python-*/usr/bin/easy_install-3* + rm -f debian/python3-*/usr/bin/easy_install-2* + mv debian/python3-setuptools/usr/bin/easy_install \ + debian/python3-setuptools/usr/bin/easy_install3 + + : # Replace all '#!' calls to python with $(PYTHON) + : # and make them executable + for i in \ + `find debian/python-*/usr/lib debian/python-*/usr/bin -type f`; \ + do \ + case "$$i" in *-[0-9].[0-9]) continue; esac; \ + sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python\1,' \ + $$i > $$i.temp; \ + if cmp --quiet $$i $$i.temp; then \ + rm -f $$i.temp; \ + else \ + mv -f $$i.temp $$i; \ + chmod 755 $$i; \ + echo "fixed interpreter: $$i"; \ + fi; \ + done + + for i in \ + `find debian/python3-*/usr/lib debian/python3-*/usr/bin -type f`; \ + do \ + case "$$i" in *-[0-9].[0-9]) continue; esac; \ + sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python3\1,' \ + $$i > $$i.temp; \ + if cmp --quiet $$i $$i.temp; then \ + rm -f $$i.temp; \ + else \ + mv -f $$i.temp $$i; \ + chmod 755 $$i; \ + echo "fixed interpreter: $$i"; \ + fi; \ + done + +install-prereq: + dh_testdir + dh_testroot + dh_clean -k + +install-python%: + dh_installdirs -A usr/bin /$(call py_libdir,$*) + python$* setup.py install \ + --root=$(CURDIR)/$(call pname,$(d_setp),$*) --install-layout=deb + + mv $(call pname,$(d_setp),$*)/$(call py_libdir,$*)/pkg_resources.py \ + $(call pname,$(d_pkgr),$*)/$(call py_libdir,$*)/ + +# mv $(call pname,$(d_setp),$*)/$(call py_libdir,$*)/distribute-*.egg-info \ +# $(call pname,$(d_dist),$*)/$(call py_libdir,$*)/ + + mv $(call pname,$(d_setp),$*)/$(call py_libdir,$*)/setuptools-$(SETUPTOOLSVER).egg-info \ + $(call pname,$(d_setp),$*)/$(call py_libdir,$*)/setuptools.egg-info + + rm -f $(call pname,$(d_dist),$*)/$(call py_libdir,$*)/setuptools.pth + echo setuptools-$(SETUPTOOLSVER).egg-info \ + > $(call pname,$(d_setp),$*)/$(call py_libdir,$*)/setuptools.pth + +binary-arch: + +binary-indep: build install + dh_testdir + dh_testroot +# dh_installchangelogs -p$(p_dist) CHANGES.txt +# dh_installchangelogs -N$(p_dist) + dh_installchangelogs -p$(p_setp) CHANGES.txt + dh_installchangelogs -N$(p_setp) + dh_installdocs -N$(p_setp) -N$(p_pkgr) + dh_installdocs -p$(p_pkgr) docs/pkg_resources.txt + dh_installdocs -p$(p_setp) -Xpkg_resources docs/*.txt + mkdir -p $(d_doc)/usr/share/doc/$(p_dist) + cp -pr docs/build/html $(d_doc)/usr/share/doc/$(p_dist)/ + dh_sphinxdoc -p$(p_doc) + dh_link -p$(p_doc) \ + /usr/share/doc/$(p_dist)/html /usr/share/doc/$(p_doc)/html \ + /usr/share/doc/$(p_dist)/html /usr/share/doc/$(p_setp)/html \ + +# /usr/share/javacript/jquery/jquery.js /usr/share/doc/$(p_dist)/html/_static/jquery.js + dh_compress -i + dh_fixperms -i + + for v in $(filter-out 3.%, $(PYVERS)); do \ + sed -i "s/python2\../python$$v/g" $(d_setp)/usr/bin/easy_install-$$v; \ + done +# for v in $(filter-out 2.%, $(PYVERS)); do \ +# sed -i "s/python3\../python$$v/g" debian/$(call pname,$(p_setp),3.1)/usr/bin/easy_install-$$v; \ +# done + + dh_python2 -p$(p_pkgr) -p$(p_setp) #-p$(p_dist) + cat $(d_setp).substvars + ( \ + echo 'python:Versions=2.7'; \ + echo 'python:Provides=python2.7-setuptools'; \ + echo 'python:Depends=python (>= 2.7), python (<< 2.8)'; \ + ) > $(d_setp).substvars + cp $(d_setp).substvars $(d_pkgr).substvars + + dh_python3 -p$(call pname,$(p_pkgr),3.2) -p$(call pname,$(p_setp),3.2) # -p$(call pname,$(p_dist),3.2) + cat debian/$(call pname,$(p_setp),3.2).substvars + cat debian/$(call pname,$(p_pkgr),3.2).substvars + +## cp $(d_setp).substvars $(d_dist).substvars + + ( \ + echo 'python3:Versions=3.3'; \ + echo 'python3:Provides=python3.3-setuptools'; \ + echo 'python3:Depends=python3 (>= 3.2), python3 (<< 3.4)'; \ + ) > $(call pname,$(d_setp),3.2).substvars + cp $(call pname,$(d_setp),3.2).substvars $(call pname,$(d_pkgr),3.2).substvars + + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary install --- distribute-0.6.36.orig/debian/compat +++ distribute-0.6.36/debian/compat @@ -0,0 +1 @@ +5 --- distribute-0.6.36.orig/debian/changelog +++ distribute-0.6.36/debian/changelog @@ -0,0 +1,339 @@ +distribute (0.6.36-1ubuntu1) saucy; urgency=low + + * Merge from Debian unstable. Remaining changes: + - debian/control: Remove python3-sphinx from Build-Depends, as it is in + universe. + - debian/rules: Don't build for Python 2.7 and 3.2. + + -- Logan Rosen Mon, 06 May 2013 17:32:15 -0400 + +distribute (0.6.36-1) unstable; urgency=low + + * New upstream version. + + -- Matthias Klose Sun, 07 Apr 2013 21:56:28 +0200 + +distribute (0.6.34-1) experimental; urgency=low + + * New upstream version. + + -- Matthias Klose Sun, 20 Jan 2013 17:46:12 +0100 + +distribute (0.6.34-0ubuntu1) raring; urgency=low + + * New upstream release. + + -- Logan Rosen Tue, 15 Jan 2013 21:13:37 -0500 + +distribute (0.6.30-0ubuntu1) raring; urgency=low + + * New upstream release. + + -- Barry Warsaw Mon, 19 Nov 2012 17:10:25 -0500 + +distribute (0.6.29-1ubuntu2) raring; urgency=low + + * Don't build for python 3.2. + + -- Matthias Klose Wed, 07 Nov 2012 23:59:55 +0100 + +distribute (0.6.29-1ubuntu1) raring; urgency=low + + * Don't build for python 2.6. + + -- Matthias Klose Sun, 21 Oct 2012 22:15:11 +0200 + +distribute (0.6.29-1) experimental; urgency=low + + * New upstream version. + + -- Matthias Klose Sun, 21 Oct 2012 19:41:01 +0200 + +distribute (0.6.28-1) experimental; urgency=low + + * New upstream version. + + -- Matthias Klose Wed, 29 Aug 2012 11:43:26 +0200 + +distribute (0.6.24-1) unstable; urgency=low + + * New upstream version. Closes: #632516. + + -- Matthias Klose Sat, 22 Oct 2011 22:38:22 +0200 + +distribute (0.6.16-1) unstable; urgency=medium + + * New upstream version. + * Support Python >=3.1.4 and >=3.2.1. + + -- Matthias Klose Fri, 20 May 2011 11:30:25 +0200 + +distribute (0.6.15-2) unstable; urgency=low + + * Stop building for python2.5 and python3.1. + + -- Matthias Klose Mon, 18 Apr 2011 21:58:45 +0200 + +distribute (0.6.15-1) unstable; urgency=low + + * New upstream version. + + -- Matthias Klose Mon, 21 Mar 2011 01:37:31 +0100 + +distribute (0.6.14-5) experimental; urgency=low + + * Build for python 2.7 and 3.2. + + -- Matthias Klose Thu, 14 Oct 2010 15:45:57 +0200 + +distribute (0.6.14-4) unstable; urgency=low + + * Upload to unstable. + + -- Matthias Klose Wed, 06 Oct 2010 01:54:38 +0200 + +distribute (0.6.14-3) experimental; urgency=low + + * Tighten build dependency on python3, remove b-d on python-central. + + -- Matthias Klose Sun, 12 Sep 2010 16:56:04 +0200 + +distribute (0.6.14-2) experimental; urgency=low + + * For python3, install into /usr/lib/python3/dist-packages by + default, when setup.py install is called with --install-layout=deb. + + -- Matthias Klose Thu, 09 Sep 2010 19:04:09 +0200 + +distribute (0.6.14-1) unstable; urgency=low + + * New upstream version. + + -- Matthias Klose Sat, 17 Jul 2010 13:41:28 +0200 + +distribute (0.6.10-4) unstable; urgency=low + + * Don't include 3.1 related files in the filelists of python-* packages. + Closes: #574153. + + -- Matthias Klose Thu, 18 Mar 2010 12:27:47 +0100 + +distribute (0.6.10-3) unstable; urgency=low + + * Don't ship the python3 files in the python-* packages. Closes: #574079. + + -- Matthias Klose Tue, 16 Mar 2010 08:23:18 +0100 + +distribute (0.6.10-2) unstable; urgency=low + + * Build packages for python3.1. + + -- Matthias Klose Sun, 14 Mar 2010 16:51:00 +0100 + +distribute (0.6.10-1) unstable; urgency=low + + * New upstream version. + * Stop building for python2.4. Closes: #557000. + + -- Matthias Klose Mon, 28 Dec 2009 23:52:40 +0100 + +distribute (0.6.8-1) unstable; urgency=low + + * New upstream version. + * Stop building for python2.4. Closes: #557000. + + -- Matthias Klose Thu, 12 Nov 2009 02:12:16 +0100 + +distribute (0.6.6-1) unstable; urgency=low + + * New upstream version. + * Don't build python-distribute (yet). Move the egg-info into + python-setuptools. Closes: #552154. + + -- Matthias Klose Sat, 24 Oct 2009 13:13:23 +0200 + +distribute (0.6.4-1) unstable; urgency=low + + * Build python-setuptools from the `distribute' fork. + + -- Matthias Klose Tue, 20 Oct 2009 00:12:26 +0200 + +python-setuptools (0.6c9-0ubuntu5) karmic; urgency=low + + * Fix building extensions with recent python 2.6.2+. Patch taken from + http://bitbucket.org/tarek/distribute/issue/41/. LP: #428004. + + -- Matthias Klose Sun, 13 Sep 2009 12:11:58 +0200 + +python-setuptools (0.6c9-0ubuntu4) jaunty; urgency=low + + * Update the installation schemes in easy_install to follow the modified + distutils install command: + - When the --prefix option is used for setup.py install, Use the + `posix' scheme. LP: #344410. + - Use the `deb_system' scheme if --install-layout=deb is specified. + - Use the the `unix_local' scheme if neither --install-layout=deb + nor --prefix is specified. + * Always use the `posix' scheme for setup.py install in a virtualenv + setup. LP: #339904. + * Error out when easy_install tries to install into /usr, unless the + (new) option --force-installation-into-system-dir is given (heh, this + option name is even longer than --single-version-externally-managed). + + -- Matthias Klose Sat, 04 Apr 2009 13:13:59 +0200 + +python-setuptools (0.6c9-0ubuntu3) jaunty; urgency=low + + * Fix interpreter name for the easy_install-2.6 script. LP: #332656. + + -- Matthias Klose Sun, 22 Feb 2009 22:25:32 +0100 + +python-setuptools (0.6c9-0ubuntu2) jaunty; urgency=low + + * Rebuild to add python2.6 support. + + -- Matthias Klose Wed, 18 Feb 2009 19:05:11 +0100 + +python-setuptools (0.6c9-0ubuntu1) intrepid; urgency=low + + * New upstream version (bug fixes from the stable branch). + - Adds subversion 1.5 compatibility. LP: #262636. + + -- Matthias Klose Thu, 25 Sep 2008 10:40:35 +0200 + +python-setuptools (0.6c8-4) unstable; urgency=low + + * Don't break with subversion-1.5. Closes: #489263. + + -- Matthias Klose Sat, 12 Jul 2008 09:25:36 +0200 + +python-setuptools (0.6c8-3) unstable; urgency=low + + * Move site.py into the python-pkg-resources package. + + -- Matthias Klose Wed, 09 Apr 2008 22:44:47 +0200 + +python-setuptools (0.6c8-2) unstable; urgency=low + + * python-pkg-resources: Conflict with python-setuptools. Closes: #468944. + + -- Matthias Klose Sun, 02 Mar 2008 15:34:10 +0100 + +python-setuptools (0.6c8-1) unstable; urgency=low + + * New upstream version. Closes: #467012. + * Split out a python-pkg-resources package (to be used as a runtime + dependency instead of python-setuptools). + + -- Matthias Klose Fri, 29 Feb 2008 01:20:15 +0100 + +python-setuptools (0.6c7-1) unstable; urgency=low + + * New upstream version. + + -- Matthias Klose Fri, 02 Nov 2007 10:57:34 -0400 + +python-setuptools (0.6c6-1) unstable; urgency=low + + * New upstream version (release candidate 6). Closes: #433556. + + -- Matthias Klose Wed, 25 Jul 2007 02:11:49 +0200 + +python-setuptools (0.6c5-1ubuntu1) feisty; urgency=low + + * Use the unversioned interpreter name for scripts without + version suffix. Ubuntu #94309. + + -- Matthias Klose Thu, 29 Mar 2007 10:18:33 +0000 + +python-setuptools (0.6c5-1) unstable; urgency=low + + * New upstream version (release candidate 5). + + -- Matthias Klose Wed, 17 Jan 2007 18:00:39 +0000 + +python-setuptools (0.6c3-3) unstable; urgency=low + + * Drop 2.3. + + -- Matthias Klose Tue, 24 Oct 2006 00:47:58 +0200 + +python-setuptools (0.6c3-2) unstable; urgency=low + + * Build for 2.3, 2.4, 2.5. + + -- Matthias Klose Sun, 22 Oct 2006 22:03:03 +0000 + +python-setuptools (0.6c3-1) unstable; urgency=medium + + * New upstream version (release candidate 3). Closes: #389780. + + -- Matthias Klose Wed, 4 Oct 2006 00:49:36 +0200 + +python-setuptools (0.6c2-1) unstable; urgency=low + + * New upstream version (release candidate 2). Closes: #382573. + * /usr/bin/easy_install-2.3: Use python2.3 s interpreter. Closes: #386318. + + -- Matthias Klose Fri, 8 Sep 2006 03:19:43 +0200 + +python-setuptools (0.6b3-3) unstable; urgency=low + + * Workaround #375437. + + -- Matthias Klose Mon, 3 Jul 2006 14:08:53 +0000 + +python-setuptools (0.6b3-2) unstable; urgency=low + + * Add entry points for all versioned console scripts. Closes: #375975. + + -- Matthias Klose Sun, 2 Jul 2006 15:14:35 +0000 + +python-setuptools (0.6b3-1) unstable; urgency=low + + * New upstream version (closes: #354621). + - OverflowError for amd64 build fixed (closes: #352176). + + -- Matthias Klose Fri, 9 Jun 2006 22:14:10 +0200 + +python-setuptools (0.6a8-0.1) unstable; urgency=low + + * NMU with maintainer approval + * New upstream release + * debian/rules: Create setuptools.pth to instruct python where the + module is located. Closes: #330562 + + -- Otavio Salvador Thu, 24 Nov 2005 19:26:43 -0200 + +python-setuptools (0.6a6-1) unstable; urgency=low + + * New upstream version (closes: #335101). + + -- Matthias Klose Sun, 23 Oct 2005 13:14:22 +0000 + +python-setuptools (0.6a2-0.1) unstable; urgency=low + + * NMU with maintainer approval + * New upstream release + * Include a watch file to be easier to upgrade next time + * Bump Standards-Version to 3.6.2 (no changes need) + * Use Build-Depends-Indep since we don't build architecture dependent + packages + * Don't remove setuptools.egg-info directory on clean target since it's + used now on building system since it use entry_points feature to its + install + + -- Otavio Salvador Sat, 24 Sep 2005 17:00:56 -0300 + +python-setuptools (0.5a13-1) unstable; urgency=low + + * New upstream version 0.5a13. + + -- Matthias Klose Mon, 18 Jul 2005 12:58:21 +0200 + +python-setuptools (0.0.1.041214-0ubuntu1) hoary; urgency=low + + * Initial Release. + + -- Matthias Klose Tue, 14 Dec 2004 12:45:14 +0100 + --- distribute-0.6.36.orig/debian/copyright +++ distribute-0.6.36/debian/copyright @@ -0,0 +1,333 @@ +This package was debianized by Matthias Klose on +Tue, 14 Dec 2004 12:45:14 +0100. + +It was downloaded from +http://pypi.python.org/pypi/distribute/ + +Copyright: + +Upstream Author: Phillip J. Eby, Tarek Ziade and the distutils SIG + +License: + +PSF or ZPL (both appended in this file) + + +PSF +------------------------------------------------------------------------------ + +A. HISTORY OF THE SOFTWARE +========================== + +Python was created in the early 1990s by Guido van Rossum at Stichting +Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands +as a successor of a language called ABC. Guido remains Python's +principal author, although it includes many contributions from others. + +In 1995, Guido continued his work on Python at the Corporation for +National Research Initiatives (CNRI, see http://www.cnri.reston.va.us) +in Reston, Virginia where he released several versions of the +software. + +In May 2000, Guido and the Python core development team moved to +BeOpen.com to form the BeOpen PythonLabs team. In October of the same +year, the PythonLabs team moved to Digital Creations (now Zope +Corporation, see http://www.zope.com). In 2001, the Python Software +Foundation (PSF, see http://www.python.org/psf/) was formed, a +non-profit organization created specifically to own Python-related +Intellectual Property. Zope Corporation is a sponsoring member of +the PSF. + +All Python releases are Open Source (see http://www.opensource.org for +the Open Source Definition). Historically, most, but not all, Python +releases have also been GPL-compatible; the table below summarizes +the various releases. + + Release Derived Year Owner GPL- + from compatible? (1) + + 0.9.0 thru 1.2 1991-1995 CWI yes + 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes + 1.6 1.5.2 2000 CNRI no + 2.0 1.6 2000 BeOpen.com no + 1.6.1 1.6 2001 CNRI yes (2) + 2.1 2.0+1.6.1 2001 PSF no + 2.0.1 2.0+1.6.1 2001 PSF yes + 2.1.1 2.1+2.0.1 2001 PSF yes + 2.2 2.1.1 2001 PSF yes + 2.1.2 2.1.1 2002 PSF yes + 2.1.3 2.1.2 2002 PSF yes + 2.2.1 2.2 2002 PSF yes + 2.2.2 2.2.1 2002 PSF yes + 2.3 2.2.2 2002-2003 PSF yes + +Footnotes: + +(1) GPL-compatible doesn't mean that we're distributing Python under + the GPL. All Python licenses, unlike the GPL, let you distribute + a modified version without making your changes open source. The + GPL-compatible licenses make it possible to combine Python with + other software that is released under the GPL; the others don't. + +(2) According to Richard Stallman, 1.6.1 is not GPL-compatible, + because its license has a choice of law clause. According to + CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1 + is "not incompatible" with the GPL. + +Thanks to the many outside volunteers who have worked under Guido's +direction to make these releases possible. + + +B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON +=============================================================== + +PSF LICENSE AGREEMENT FOR PYTHON 2.3 +------------------------------------ + +1. This LICENSE AGREEMENT is between the Python Software Foundation +("PSF"), and the Individual or Organization ("Licensee") accessing and +otherwise using Python 2.3 software in source or binary form and its +associated documentation. + +2. Subject to the terms and conditions of this License Agreement, PSF +hereby grants Licensee a nonexclusive, royalty-free, world-wide +license to reproduce, analyze, test, perform and/or display publicly, +prepare derivative works, distribute, and otherwise use Python 2.3 +alone or in any derivative version, provided, however, that PSF's +License Agreement and PSF's notice of copyright, i.e., "Copyright (c) +2001, 2002 Python Software Foundation; All Rights Reserved" are +retained in Python 2.3 alone or in any derivative version prepared by +Licensee. + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python 2.3 or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python 2.3. + +4. PSF is making Python 2.3 available to Licensee on an "AS IS" +basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 2.3 WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +2.3 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 2.3, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. Nothing in this License Agreement shall be deemed to create any +relationship of agency, partnership, or joint venture between PSF and +Licensee. This License Agreement does not grant permission to use PSF +trademarks or trade name in a trademark sense to endorse or promote +products or services of Licensee, or any third party. + +8. By copying, installing or otherwise using Python 2.3, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. + + +BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0 +------------------------------------------- + +BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1 + +1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an +office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the +Individual or Organization ("Licensee") accessing and otherwise using +this software in source or binary form and its associated +documentation ("the Software"). + +2. Subject to the terms and conditions of this BeOpen Python License +Agreement, BeOpen hereby grants Licensee a non-exclusive, +royalty-free, world-wide license to reproduce, analyze, test, perform +and/or display publicly, prepare derivative works, distribute, and +otherwise use the Software alone or in any derivative version, +provided, however, that the BeOpen Python License is retained in the +Software, alone or in any derivative version prepared by Licensee. + +3. BeOpen is making the Software available to Licensee on an "AS IS" +basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE +SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS +AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY +DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +5. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +6. This License Agreement shall be governed by and interpreted in all +respects by the law of the State of California, excluding conflict of +law provisions. Nothing in this License Agreement shall be deemed to +create any relationship of agency, partnership, or joint venture +between BeOpen and Licensee. This License Agreement does not grant +permission to use BeOpen trademarks or trade names in a trademark +sense to endorse or promote products or services of Licensee, or any +third party. As an exception, the "BeOpen Python" logos available at +http://www.pythonlabs.com/logos.html may be used according to the +permissions granted on that web page. + +7. By copying, installing or otherwise using the software, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. + + +CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1 +--------------------------------------- + +1. This LICENSE AGREEMENT is between the Corporation for National +Research Initiatives, having an office at 1895 Preston White Drive, +Reston, VA 20191 ("CNRI"), and the Individual or Organization +("Licensee") accessing and otherwise using Python 1.6.1 software in +source or binary form and its associated documentation. + +2. Subject to the terms and conditions of this License Agreement, CNRI +hereby grants Licensee a nonexclusive, royalty-free, world-wide +license to reproduce, analyze, test, perform and/or display publicly, +prepare derivative works, distribute, and otherwise use Python 1.6.1 +alone or in any derivative version, provided, however, that CNRI's +License Agreement and CNRI's notice of copyright, i.e., "Copyright (c) +1995-2001 Corporation for National Research Initiatives; All Rights +Reserved" are retained in Python 1.6.1 alone or in any derivative +version prepared by Licensee. Alternately, in lieu of CNRI's License +Agreement, Licensee may substitute the following text (omitting the +quotes): "Python 1.6.1 is made available subject to the terms and +conditions in CNRI's License Agreement. This Agreement together with +Python 1.6.1 may be located on the Internet using the following +unique, persistent identifier (known as a handle): 1895.22/1013. This +Agreement may also be obtained from a proxy server on the Internet +using the following URL: http://hdl.handle.net/1895.22/1013". + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python 1.6.1 or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python 1.6.1. + +4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" +basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. This License Agreement shall be governed by the federal +intellectual property law of the United States, including without +limitation the federal copyright law, and, to the extent such +U.S. federal law does not apply, by the law of the Commonwealth of +Virginia, excluding Virginia's conflict of law provisions. +Notwithstanding the foregoing, with regard to derivative works based +on Python 1.6.1 that incorporate non-separable material that was +previously distributed under the GNU General Public License (GPL), the +law of the Commonwealth of Virginia shall govern this License +Agreement only as to issues arising under or with respect to +Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this +License Agreement shall be deemed to create any relationship of +agency, partnership, or joint venture between CNRI and Licensee. This +License Agreement does not grant permission to use CNRI trademarks or +trade name in a trademark sense to endorse or promote products or +services of Licensee, or any third party. + +8. By clicking on the "ACCEPT" button where indicated, or by copying, +installing or otherwise using Python 1.6.1, Licensee agrees to be +bound by the terms and conditions of this License Agreement. + + ACCEPT + + +CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2 +-------------------------------------------------- + +Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, +The Netherlands. All rights reserved. + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name of Stichting Mathematisch +Centrum or CWI not be used in advertising or publicity pertaining to +distribution of the software without specific, written prior +permission. + +STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO +THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE +FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + + +Zope Public License (ZPL) Version 2.1 +------------------------------------------------------------------------------ + +A copyright notice accompanies this license document that +identifies the copyright holders. + +This license has been certified as open source. It has also +been designated as GPL compatible by the Free Software +Foundation (FSF). + +Redistribution and use in source and binary forms, with or +without modification, are permitted provided that the +following conditions are met: + +1. Redistributions in source code must retain the + accompanying copyright notice, this list of conditions, + and the following disclaimer. + +2. Redistributions in binary form must reproduce the accompanying + copyright notice, this list of conditions, and the + following disclaimer in the documentation and/or other + materials provided with the distribution. + +3. Names of the copyright holders must not be used to + endorse or promote products derived from this software + without prior written permission from the copyright + holders. + +4. The right to distribute this software or to use it for + any purpose does not give you the right to use + Servicemarks (sm) or Trademarks (tm) of the copyright + holders. Use of them is covered by separate agreement + with the copyright holders. + +5. If any files are modified, you must cause the modified + files to carry prominent notices stating that you changed + the files and the date of any change. + +Disclaimer + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' + AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT + NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN + NO EVENT SHALL THE COPYRIGHT HOLDERS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. --- distribute-0.6.36.orig/distribute.egg-info/entry_points.txt +++ distribute-0.6.36/distribute.egg-info/entry_points.txt @@ -1,62 +1,63 @@ -[distutils.commands] -bdist_rpm = setuptools.command.bdist_rpm:bdist_rpm -rotate = setuptools.command.rotate:rotate -develop = setuptools.command.develop:develop -setopt = setuptools.command.setopt:setopt -build_py = setuptools.command.build_py:build_py -saveopts = setuptools.command.saveopts:saveopts -egg_info = setuptools.command.egg_info:egg_info -register = setuptools.command.register:register -upload_docs = setuptools.command.upload_docs:upload_docs -install_egg_info = setuptools.command.install_egg_info:install_egg_info -alias = setuptools.command.alias:alias -easy_install = setuptools.command.easy_install:easy_install -install_scripts = setuptools.command.install_scripts:install_scripts -bdist_wininst = setuptools.command.bdist_wininst:bdist_wininst -bdist_egg = setuptools.command.bdist_egg:bdist_egg -install = setuptools.command.install:install -test = setuptools.command.test:test -install_lib = setuptools.command.install_lib:install_lib -build_ext = setuptools.command.build_ext:build_ext -sdist = setuptools.command.sdist:sdist - [egg_info.writers] -dependency_links.txt = setuptools.command.egg_info:overwrite_arg -requires.txt = setuptools.command.egg_info:write_requirements +entry_points.txt = setuptools.command.egg_info:write_entries PKG-INFO = setuptools.command.egg_info:write_pkg_info +depends.txt = setuptools.command.egg_info:warn_depends_obsolete eager_resources.txt = setuptools.command.egg_info:overwrite_arg -top_level.txt = setuptools.command.egg_info:write_toplevel_names namespace_packages.txt = setuptools.command.egg_info:overwrite_arg -entry_points.txt = setuptools.command.egg_info:write_entries -depends.txt = setuptools.command.egg_info:warn_depends_obsolete +requires.txt = setuptools.command.egg_info:write_requirements +top_level.txt = setuptools.command.egg_info:write_toplevel_names +dependency_links.txt = setuptools.command.egg_info:overwrite_arg -[console_scripts] -easy_install = setuptools.command.easy_install:main -easy_install-2.7 = setuptools.command.easy_install:main +[setuptools.installation] +eggsecutable = setuptools.command.easy_install:bootstrap [setuptools.file_finders] svn_cvs = setuptools.command.sdist:_default_revctrl [distutils.setup_keywords] dependency_links = setuptools.dist:assert_string_list -entry_points = setuptools.dist:check_entry_points -extras_require = setuptools.dist:check_extras -use_2to3_exclude_fixers = setuptools.dist:assert_string_list -package_data = setuptools.dist:check_package_data -install_requires = setuptools.dist:check_requirements +test_suite = setuptools.dist:check_test_suite +convert_2to3_doctests = setuptools.dist:assert_string_list +exclude_package_data = setuptools.dist:check_package_data +packages = setuptools.dist:check_packages use_2to3 = setuptools.dist:assert_bool use_2to3_fixers = setuptools.dist:assert_string_list -include_package_data = setuptools.dist:assert_bool -exclude_package_data = setuptools.dist:check_package_data -namespace_packages = setuptools.dist:check_nsp -test_suite = setuptools.dist:check_test_suite -eager_resources = setuptools.dist:assert_string_list +extras_require = setuptools.dist:check_extras +install_requires = setuptools.dist:check_requirements zip_safe = setuptools.dist:assert_bool +eager_resources = setuptools.dist:assert_string_list test_loader = setuptools.dist:check_importable -packages = setuptools.dist:check_packages -convert_2to3_doctests = setuptools.dist:assert_string_list +use_2to3_exclude_fixers = setuptools.dist:assert_string_list tests_require = setuptools.dist:check_requirements +entry_points = setuptools.dist:check_entry_points +namespace_packages = setuptools.dist:check_nsp +include_package_data = setuptools.dist:assert_bool +package_data = setuptools.dist:check_package_data -[setuptools.installation] -eggsecutable = setuptools.command.easy_install:bootstrap +[distutils.commands] +setopt = setuptools.command.setopt:setopt +install_scripts = setuptools.command.install_scripts:install_scripts +upload_docs = setuptools.command.upload_docs:upload_docs +alias = setuptools.command.alias:alias +build_ext = setuptools.command.build_ext:build_ext +bdist_wininst = setuptools.command.bdist_wininst:bdist_wininst +sdist = setuptools.command.sdist:sdist +easy_install = setuptools.command.easy_install:easy_install +install_lib = setuptools.command.install_lib:install_lib +bdist_egg = setuptools.command.bdist_egg:bdist_egg +saveopts = setuptools.command.saveopts:saveopts +register = setuptools.command.register:register +egg_info = setuptools.command.egg_info:egg_info +test = setuptools.command.test:test +develop = setuptools.command.develop:develop +install_egg_info = setuptools.command.install_egg_info:install_egg_info +rotate = setuptools.command.rotate:rotate +build_py = setuptools.command.build_py:build_py +install = setuptools.command.install:install +bdist_rpm = setuptools.command.bdist_rpm:bdist_rpm + +[console_scripts] +easy_install-2.6 = setuptools.command.easy_install:main +easy_install-2.7 = setuptools.command.easy_install:main +easy_install = setuptools.command.easy_install:main --- distribute-0.6.36.orig/distribute.egg-info/SOURCES.txt +++ distribute-0.6.36/distribute.egg-info/SOURCES.txt @@ -11,6 +11,7 @@ setup.cfg setup.py site.py +template.py _markerlib/__init__.py _markerlib/markers.py distribute.egg-info/PKG-INFO --- distribute-0.6.36.orig/distribute.egg-info/PKG-INFO +++ distribute-0.6.36/distribute.egg-info/PKG-INFO @@ -1,883 +1,883 @@ -Metadata-Version: 1.1 -Name: distribute -Version: 0.6.36 -Summary: Easily download, build, install, upgrade, and uninstall Python packages -Home-page: http://packages.python.org/distribute -Author: The fellowship of the packaging -Author-email: distutils-sig@python.org -License: PSF or ZPL -Description: =============================== - Installing and Using Distribute - =============================== - - .. contents:: **Table of Contents** - - ----------- - Disclaimers - ----------- - - About the fork - ============== - - `Distribute` is a fork of the `Setuptools` project. - - Distribute is intended to replace Setuptools as the standard method - for working with Python module distributions. - - The fork has two goals: - - - Providing a backward compatible version to replace Setuptools - and make all distributions that depend on Setuptools work as - before, but with less bugs and behaviorial issues. - - This work is done in the 0.6.x series. - - Starting with version 0.6.2, Distribute supports Python 3. - Installing and using distribute for Python 3 code works exactly - the same as for Python 2 code, but Distribute also helps you to support - Python 2 and Python 3 from the same source code by letting you run 2to3 - on the code as a part of the build process, by setting the keyword parameter - ``use_2to3`` to True. See http://packages.python.org/distribute for more - information. - - - Refactoring the code, and releasing it in several distributions. - This work is being done in the 0.7.x series but not yet released. - - The roadmap is still evolving, and the page that is up-to-date is - located at : `http://packages.python.org/distribute/roadmap`. - - If you install `Distribute` and want to switch back for any reason to - `Setuptools`, get to the `Uninstallation instructions`_ section. - - More documentation - ================== - - You can get more information in the Sphinx-based documentation, located - at http://packages.python.org/distribute. This documentation includes the old - Setuptools documentation that is slowly replaced, and brand new content. - - About the installation process - ============================== - - The `Distribute` installer modifies your installation by de-activating an - existing installation of `Setuptools` in a bootstrap process. This process - has been tested in various installation schemes and contexts but in case of a - bug during this process your Python installation might be left in a broken - state. Since all modified files and directories are copied before the - installation starts, you will be able to get back to a normal state by reading - the instructions in the `Uninstallation instructions`_ section. - - In any case, it is recommended to save you `site-packages` directory before - you start the installation of `Distribute`. - - ------------------------- - Installation Instructions - ------------------------- - - Distribute is only released as a source distribution. - - It can be installed using pip, and can be done so with the source tarball, - or by using the ``distribute_setup.py`` script provided online. - - ``distribute_setup.py`` is the simplest and preferred way on all systems. - - distribute_setup.py - =================== - - Download - `distribute_setup.py `_ - and execute it, using the Python interpreter of your choice. - - If your shell has the ``curl`` program you can do:: - - $ curl -O http://python-distribute.org/distribute_setup.py - $ python distribute_setup.py - - Notice this file is also provided in the source release. - - pip - === - - Run easy_install or pip:: - - $ pip install distribute - - Source installation - =================== - - Download the source tarball, uncompress it, then run the install command:: - - $ curl -O http://pypi.python.org/packages/source/d/distribute/distribute-0.6.36.tar.gz - $ tar -xzvf distribute-0.6.36.tar.gz - $ cd distribute-0.6.36 - $ python setup.py install - - --------------------------- - Uninstallation Instructions - --------------------------- - - Like other distutils-based distributions, Distribute doesn't provide an - uninstaller yet. It's all done manually! We are all waiting for PEP 376 - support in Python. - - Distribute is installed in three steps: - - 1. it gets out of the way an existing installation of Setuptools - 2. it installs a `fake` setuptools installation - 3. it installs distribute - - Distribute can be removed like this: - - - remove the ``distribute*.egg`` file located in your site-packages directory - - remove the ``setuptools.pth`` file located in you site-packages directory - - remove the easy_install script located in you ``sys.prefix/bin`` directory - - remove the ``setuptools*.egg`` directory located in your site-packages directory, - if any. - - If you want to get back to setuptools: - - - reinstall setuptools using its instruction. - - Lastly: - - - remove the *.OLD.* directory located in your site-packages directory if any, - **once you have checked everything was working correctly again**. - - ------------------------- - Quick help for developers - ------------------------- - - To create an egg which is compatible with Distribute, use the same - practice as with Setuptools, e.g.:: - - from setuptools import setup - - setup(... - ) - - To use `pkg_resources` to access data files in the egg, you should - require the Setuptools distribution explicitly:: - - from setuptools import setup - - setup(... - install_requires=['setuptools'] - ) - - Only if you need Distribute-specific functionality should you depend - on it explicitly. In this case, replace the Setuptools dependency:: - - from setuptools import setup - - setup(... - install_requires=['distribute'] - ) - - ----------- - Install FAQ - ----------- - - - **Why is Distribute wrapping my Setuptools installation?** - - Since Distribute is a fork, and since it provides the same package - and modules, it renames the existing Setuptools egg and inserts a - new one which merely wraps the Distribute code. This way, full - backwards compatibility is kept for packages which rely on the - Setuptools modules. - - At the same time, packages can meet their dependency on Setuptools - without actually installing it (which would disable Distribute). - - - **How does Distribute interact with virtualenv?** - - Everytime you create a virtualenv it will install setuptools by default. - You either need to re-install Distribute in it right after or pass the - ``--distribute`` option when creating it. - - Once installed, your virtualenv will use Distribute transparently. - - Although, if you have Setuptools installed in your system-wide Python, - and if the virtualenv you are in was generated without the `--no-site-packages` - option, the Distribute installation will stop. - - You need in this case to build a virtualenv with the `--no-site-packages` - option or to install `Distribute` globally. - - - **How does Distribute interacts with zc.buildout?** - - You can use Distribute in your zc.buildout, with the --distribute option, - starting at zc.buildout 1.4.2:: - - $ python bootstrap.py --distribute - - For previous zc.buildout versions, *the only thing* you need to do - is use the bootstrap at `http://python-distribute.org/bootstrap.py`. Run - that bootstrap and ``bin/buildout`` (and all other buildout-generated - scripts) will transparently use distribute instead of setuptools. You do - not need a specific buildout release. - - A shared eggs directory is no problem (since 0.6.6): the setuptools egg is - left in place unmodified. So other buildouts that do not yet use the new - bootstrap continue to work just fine. And there is no need to list - ``distribute`` somewhere in your eggs: using the bootstrap is enough. - - The source code for the bootstrap script is located at - `http://bitbucket.org/tarek/buildout-distribute`. - - - - ----------------------------- - Feedback and getting involved - ----------------------------- - - - Mailing list: http://mail.python.org/mailman/listinfo/distutils-sig - - Issue tracker: http://bitbucket.org/tarek/distribute/issues/ - - Code Repository: http://bitbucket.org/tarek/distribute - - ======= - CHANGES - ======= - - ------ - 0.6.36 - ------ - - * Pull Request #35: In `Buildout `issue 64`_ - `_, it was reported that - under Python 3, installation of distutils scripts could attempt to copy - the ``__pycache__`` directory as a file, causing an error, apparently only - under Windows. Easy_install now skips all directories when processing - metadata scripts. - - ------ - 0.6.35 - ------ - - Note this release is backward-incompatible with distribute 0.6.23-0.6.34 in - how it parses version numbers. - - * `Issue #278`_: Restored compatibility with distribute 0.6.22 and setuptools - 0.6. Updated the documentation to match more closely with the version - parsing 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-dependent - import would trigger hook load failures on Mercurial. See pull request 32 - for details. - * `Issue #341`_: Fix a ResourceWarning. - - ------ - 0.6.32 - ------ - - * Fix test suite with Python 2.6. - * Fix some DeprecationWarnings and ResourceWarnings. - * `Issue #335`_: Backed out `setup_requires` superceding installed requirements - until 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 with - Jython. - * Work around Jython bugs `#1980 `_ and - `#1981 `_. - * `Issue #334`_: Provide workaround for packages that reference `sys.__stdout__` - such as numpy does. This change should address - `virtualenv #359 `_ as long - as the system encoding is UTF-8 or the IO encoding is specified in the - environment, i.e.:: - - PYTHONIOENCODING=utf8 pip install numpy - - * Fix for encoding issue when installing from Windows executable on Python 3. - * `Issue #323`_: Allow `setup_requires` requirements to supercede installed - requirements. Added some new keyword arguments to existing pkg_resources - methods. Also had to updated how __path__ is handled for namespace packages - to ensure that when a new egg distribution containing a namespace package is - placed on sys.path, the entries in __path__ are found in the same order they - would have been in had that egg been on the path when pkg_resources was - first 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 fix https://github.com/pypa/virtualenv/issues/301. - * If Sphinx is installed, the `upload_docs` command now runs `build_sphinx` - to 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 code - in build/lib makes it work, although you will have to rebuild the module - before 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 of `package_data` and - `include_package_data`. Files indicated by `package_data` are now included - in the manifest. - * `distribute_setup.py` now allows a `--download-base` argument for retrieving - distribute 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 on - Python 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 the - installation of a source distribution; now fulfillment of setup_requires - dependencies 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 for - Python 2.6 and later. - * `Issue #262`_: package_index.open_with_auth no longer throws LookupError - on Python 3. - * `Issue #269`_: AttributeError when an exception occurs reading Manifest.in - on late releases of Python. - * `Issue #272`_: Prevent TypeError when namespace package names are unicode - and single-install-externally-managed is used. Also fixes PIP `issue - 449`_. - * `Issue #273`_: Legacy script launchers now install with Python2/3 support. - - ------ - 0.6.24 - ------ - - * `Issue #249`_: Added options to exclude 2to3 fixers - - ------ - 0.6.23 - ------ - - * `Issue #244`_: Fixed a test - * `Issue #243`_: Fixed a test - * `Issue #239`_: Fixed a test - * `Issue #240`_: Fixed a test - * `Issue #241`_: Fixed a test - * `Issue #237`_: Fixed a test - * `Issue #238`_: easy_install now uses 64bit executable wrappers on 64bit Python - * `Issue #208`_: Fixed parsed_versions, it now honors post-releases as noted in the documentation - * `Issue #207`_: Windows cli and gui wrappers pass CTRL-C to child python process - * `Issue #227`_: easy_install now passes its arguments to setup.py bdist_egg - * `Issue #225`_: Fixed a NameError on Python 2.5, 2.4 - - ------ - 0.6.21 - ------ - - * `Issue #225`_: FIxed a regression on py2.4 - - ------ - 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 - ------ - - * `Issue 210`_: Fixed a regression introduced by `Issue 204`_ fix. - - ------ - 0.6.17 - ------ - - * Support 'DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT' environment - variable 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 in - declare_namespace - * `Issue 196`_: Tolerate responses with multiple Content-Length headers - * `Issue 205`_: Sandboxing doesn't preserve working_set. Leads to setup_requires - problems. - - ------ - 0.6.16 - ------ - - * Builds sdist gztar even on Windows (avoiding `Issue 193`_). - * `Issue 192`_: Fixed metadata omitted on Windows when package_dir - specified 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 when - comparing two distributions - - ------ - 0.6.12 - ------ - - * `Issue 149`_: Fixed various failures on 2.3/2.4 - - ------ - 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 because - zc.buildout uses the exception message to get the name of the - distribution. - - ----- - 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 anymore - Initial 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 it - only if triggered by ``install_requires`` from a setup.py call - (install, develop, etc). - * `Issue 101`_: Allowing ``os.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 run - anymore 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 when - the 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 point - in the standard "if name == 'main'" - * Added the 'DONT_PATCH_SETUPTOOLS' environment variable, so virtualenv - can drive an installation that doesn't patch a global setuptools. - * Reviewed unladen-swallow specific change from - http://code.google.com/p/unladen-swallow/source/detail?spec=svn875&r=719 - and determined that it no longer applies. Distribute should work fine with - Unladen Swallow 2009Q3. - * `Issue 21`_: Allow PackageIndex.open_url to gracefully handle all cases of a - httplib.HTTPException instead of just InvalidURL and BadStatusLine. - * Removed virtual-python.py from this distribution and updated documentation - to point to the actively maintained virtualenv instead. - * `Issue 64`_: use_setuptools no longer rebuilds the distribute egg every - time it is run - * use_setuptools now properly respects the requested version - * use_setuptools will no longer try to import a distribute egg for the - wrong 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-series - setuptools. And an error is raised when installing a 0.7 setuptools with - distribute. - - * When run from within buildout, no attempt is made to modify an existing - setuptools egg, whether in a shared egg directory or a system setuptools. - - * Fixed a hole in sandboxing allowing builtin file to write outside of - the sandbox. - - ----- - 0.6.4 - ----- - - * Added the generation of `distribute_setup_3k.py` during the release. - This closes `issue #52`_. - - * Added an upload_docs command to easily upload project documentation to - PyPI's http://packages.python.org. This close `issue #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 - ========== - - * Added Python 3 support; see docs/python3.txt. - This closes http://bugs.python.org/setuptools/issue39. - - * Added option to run 2to3 automatically when installing on Python 3. - This closes `issue #31`_. - - * Fixed invalid usage of requirement.parse, that broke develop -d. - This closes http://bugs.python.org/setuptools/issue44. - - * Fixed script launcher for 64-bit Windows. - This closes http://bugs.python.org/setuptools/issue2. - - * KeyError when compiling extensions. - This closes http://bugs.python.org/setuptools/issue41. - - bootstrapping - ============= - - * Fixed bootstrap not working on Windows. This closes `issue #49`_. - - * Fixed 2.6 dependencies. This closes `issue #50`_. - - * Make sure setuptools is patched when running through easy_install - This closes http://bugs.python.org/setuptools/issue40. - - ----- - 0.6.1 - ----- - - setuptools - ========== - - * package_index.urlopen now catches BadStatusLine and malformed url errors. - This closes `issue #16`_ and `issue #18`_. - - * zip_ok is now False by default. This closes - http://bugs.python.org/setuptools/issue33. - - * Fixed invalid URL error catching. http://bugs.python.org/setuptools/issue20. - - * Fixed invalid bootstraping with easy_install installation (`issue #40`_). - Thanks to Florian Schulze for the help. - - * Removed buildout/bootstrap.py. A new repository will create a specific - bootstrap.py script. - - - bootstrapping - ============= - - * The boostrap process leave setuptools alone if detected in the system - and --root or --prefix is provided, but is not in the same location. - This closes `issue #10`_. - - --- - 0.6 - --- - - setuptools - ========== - - * Packages required at build time where not fully present at install time. - This closes `issue #12`_. - - * Protected against failures in tarfile extraction. This closes `issue #10`_. - - * Made Jython api_tests.txt doctest compatible. This closes `issue #7`_. - - * sandbox.py replaced builtin type file with builtin function open. This - closes `issue #6`_. - - * Immediately close all file handles. This closes `issue #3`_. - - * Added compatibility with Subversion 1.6. This references `issue #1`_. - - pkg_resources - ============= - - * Avoid a call to /usr/bin/sw_vers on OSX and use the official platform API - instead. Based on a patch from ronaldoussoren. This closes `issue #5`_. - - * Fixed a SandboxViolation for mkdir that could occur in certain cases. - This closes `issue #13`_. - - * Allow to find_on_path on systems with tight permissions to fail gracefully. - This closes `issue #9`_. - - * Corrected inconsistency between documentation and code of add_entry. - This closes `issue #8`_. - - * Immediately close all file handles. This closes `issue #3`_. - - easy_install - ============ - - * Immediately close all file handles. This closes `issue #3`_. - - - .. _`Issue #135`: http://bitbucket.org/tarek/distribute/issue/135 - .. _`Issue #183`: http://bitbucket.org/tarek/distribute/issue/183 - .. _`Issue #207`: http://bitbucket.org/tarek/distribute/issue/207 - .. _`Issue #208`: http://bitbucket.org/tarek/distribute/issue/208 - .. _`Issue #212`: http://bitbucket.org/tarek/distribute/issue/212 - .. _`Issue #213`: http://bitbucket.org/tarek/distribute/issue/213 - .. _`Issue #218`: http://bitbucket.org/tarek/distribute/issue/218 - .. _`Issue #225`: http://bitbucket.org/tarek/distribute/issue/225 - .. _`Issue #227`: http://bitbucket.org/tarek/distribute/issue/227 - .. _`Issue #231`: http://bitbucket.org/tarek/distribute/issue/231 - .. _`Issue #237`: http://bitbucket.org/tarek/distribute/issue/237 - .. _`Issue #238`: http://bitbucket.org/tarek/distribute/issue/238 - .. _`Issue #239`: http://bitbucket.org/tarek/distribute/issue/239 - .. _`Issue #240`: http://bitbucket.org/tarek/distribute/issue/240 - .. _`Issue #241`: http://bitbucket.org/tarek/distribute/issue/241 - .. _`Issue #243`: http://bitbucket.org/tarek/distribute/issue/243 - .. _`Issue #244`: http://bitbucket.org/tarek/distribute/issue/244 - .. _`Issue #249`: http://bitbucket.org/tarek/distribute/issue/249 - .. _`Issue #258`: http://bitbucket.org/tarek/distribute/issue/258 - .. _`Issue #260`: http://bitbucket.org/tarek/distribute/issue/260 - .. _`Issue #262`: http://bitbucket.org/tarek/distribute/issue/262 - .. _`Issue #269`: http://bitbucket.org/tarek/distribute/issue/269 - .. _`Issue #272`: http://bitbucket.org/tarek/distribute/issue/272 - .. _`Issue #273`: http://bitbucket.org/tarek/distribute/issue/273 - .. _`Issue #278`: http://bitbucket.org/tarek/distribute/issue/278 - .. _`Issue #283`: http://bitbucket.org/tarek/distribute/issue/283 - .. _`Issue #294`: http://bitbucket.org/tarek/distribute/issue/294 - .. _`Issue #299`: http://bitbucket.org/tarek/distribute/issue/299 - .. _`Issue #301`: http://bitbucket.org/tarek/distribute/issue/301 - .. _`Issue #303`: http://bitbucket.org/tarek/distribute/issue/303 - .. _`Issue #304`: http://bitbucket.org/tarek/distribute/issue/304 - .. _`Issue #305`: http://bitbucket.org/tarek/distribute/issue/305 - .. _`Issue #306`: http://bitbucket.org/tarek/distribute/issue/306 - .. _`Issue #307`: http://bitbucket.org/tarek/distribute/issue/307 - .. _`Issue #310`: http://bitbucket.org/tarek/distribute/issue/310 - .. _`Issue #311`: http://bitbucket.org/tarek/distribute/issue/311 - .. _`Issue #313`: http://bitbucket.org/tarek/distribute/issue/313 - .. _`Issue #314`: http://bitbucket.org/tarek/distribute/issue/314 - .. _`Issue #320`: http://bitbucket.org/tarek/distribute/issue/320 - .. _`Issue #323`: http://bitbucket.org/tarek/distribute/issue/323 - .. _`Issue #326`: http://bitbucket.org/tarek/distribute/issue/326 - .. _`Issue #327`: http://bitbucket.org/tarek/distribute/issue/327 - .. _`Issue #328`: http://bitbucket.org/tarek/distribute/issue/328 - .. _`Issue #329`: http://bitbucket.org/tarek/distribute/issue/329 - .. _`Issue #334`: http://bitbucket.org/tarek/distribute/issue/334 - .. _`Issue #335`: http://bitbucket.org/tarek/distribute/issue/335 - .. _`Issue #336`: http://bitbucket.org/tarek/distribute/issue/336 - .. _`Issue #341`: http://bitbucket.org/tarek/distribute/issue/341 - .. _`Issue 100`: http://bitbucket.org/tarek/distribute/issue/100 - .. _`Issue 101`: http://bitbucket.org/tarek/distribute/issue/101 - .. _`Issue 103`: http://bitbucket.org/tarek/distribute/issue/103 - .. _`Issue 104`: http://bitbucket.org/tarek/distribute/issue/104 - .. _`Issue 108`: http://bitbucket.org/tarek/distribute/issue/108 - .. _`Issue 11`: http://bitbucket.org/tarek/distribute/issue/11 - .. _`Issue 112`: http://bitbucket.org/tarek/distribute/issue/112 - .. _`Issue 121`: http://bitbucket.org/tarek/distribute/issue/121 - .. _`Issue 133`: http://bitbucket.org/tarek/distribute/issue/133 - .. _`Issue 134`: http://bitbucket.org/tarek/distribute/issue/134 - .. _`Issue 138`: http://bitbucket.org/tarek/distribute/issue/138 - .. _`Issue 143`: http://bitbucket.org/tarek/distribute/issue/143 - .. _`Issue 146`: http://bitbucket.org/tarek/distribute/issue/146 - .. _`Issue 147`: http://bitbucket.org/tarek/distribute/issue/147 - .. _`Issue 149`: http://bitbucket.org/tarek/distribute/issue/149 - .. _`Issue 15`: http://bitbucket.org/tarek/distribute/issue/15 - .. _`Issue 150`: http://bitbucket.org/tarek/distribute/issue/150 - .. _`Issue 160`: http://bitbucket.org/tarek/distribute/issue/160 - .. _`Issue 163`: http://bitbucket.org/tarek/distribute/issue/163 - .. _`Issue 170`: http://bitbucket.org/tarek/distribute/issue/170 - .. _`Issue 171`: http://bitbucket.org/tarek/distribute/issue/171 - .. _`Issue 174`: http://bitbucket.org/tarek/distribute/issue/174 - .. _`Issue 192`: http://bitbucket.org/tarek/distribute/issue/192 - .. _`Issue 193`: http://bitbucket.org/tarek/distribute/issue/193 - .. _`Issue 195`: http://bitbucket.org/tarek/distribute/issue/195 - .. _`Issue 196`: http://bitbucket.org/tarek/distribute/issue/196 - .. _`Issue 200`: http://bitbucket.org/tarek/distribute/issue/200 - .. _`Issue 204`: http://bitbucket.org/tarek/distribute/issue/204 - .. _`Issue 205`: http://bitbucket.org/tarek/distribute/issue/205 - .. _`Issue 206`: http://bitbucket.org/tarek/distribute/issue/206 - .. _`Issue 21`: http://bitbucket.org/tarek/distribute/issue/21 - .. _`Issue 210`: http://bitbucket.org/tarek/distribute/issue/210 - .. _`Issue 58`: http://bitbucket.org/tarek/distribute/issue/58 - .. _`Issue 64`: http://bitbucket.org/tarek/distribute/issue/64 - .. _`Issue 65`: http://bitbucket.org/tarek/distribute/issue/65 - .. _`Issue 67`: http://bitbucket.org/tarek/distribute/issue/67 - .. _`Issue 70`: http://bitbucket.org/tarek/distribute/issue/70 - .. _`Issue 72`: http://bitbucket.org/tarek/distribute/issue/72 - .. _`Issue 74`: http://bitbucket.org/tarek/distribute/issue/74 - .. _`Issue 80`: http://bitbucket.org/tarek/distribute/issue/80 - .. _`Issue 86`: http://bitbucket.org/tarek/distribute/issue/86 - .. _`Issue 87`: http://bitbucket.org/tarek/distribute/issue/87 - .. _`Issue 89`: http://bitbucket.org/tarek/distribute/issue/89 - .. _`Issue 90`: http://bitbucket.org/tarek/distribute/issue/90 - .. _`Issue 92`: http://bitbucket.org/tarek/distribute/issue/92 - .. _`Issue 93`: http://bitbucket.org/tarek/distribute/issue/93 - .. _`Issue 99`: http://bitbucket.org/tarek/distribute/issue/99 - .. _`issue - 449`: http://bitbucket.org/tarek/distribute/issue/449 - .. _`issue #1`: http://bitbucket.org/tarek/distribute/issue/1 - .. _`issue #10`: http://bitbucket.org/tarek/distribute/issue/10 - .. _`issue #12`: http://bitbucket.org/tarek/distribute/issue/12 - .. _`issue #13`: http://bitbucket.org/tarek/distribute/issue/13 - .. _`issue #16`: http://bitbucket.org/tarek/distribute/issue/16 - .. _`issue #18`: http://bitbucket.org/tarek/distribute/issue/18 - .. _`issue #3`: http://bitbucket.org/tarek/distribute/issue/3 - .. _`issue #31`: http://bitbucket.org/tarek/distribute/issue/31 - .. _`issue #40`: http://bitbucket.org/tarek/distribute/issue/40 - .. _`issue #49`: http://bitbucket.org/tarek/distribute/issue/49 - .. _`issue #5`: http://bitbucket.org/tarek/distribute/issue/5 - .. _`issue #50`: http://bitbucket.org/tarek/distribute/issue/50 - .. _`issue #52`: http://bitbucket.org/tarek/distribute/issue/52 - .. _`issue #56`: http://bitbucket.org/tarek/distribute/issue/56 - .. _`issue #6`: http://bitbucket.org/tarek/distribute/issue/6 - .. _`issue #7`: http://bitbucket.org/tarek/distribute/issue/7 - .. _`issue #8`: http://bitbucket.org/tarek/distribute/issue/8 - .. _`issue #9`: http://bitbucket.org/tarek/distribute/issue/9 - .. _`issue 64`: http://bitbucket.org/tarek/distribute/issue/64 - - -Keywords: CPAN PyPI distutils eggs package management -Platform: UNKNOWN -Classifier: Development Status :: 5 - Production/Stable -Classifier: Intended Audience :: Developers -Classifier: License :: OSI Approved :: Python Software Foundation License -Classifier: License :: OSI Approved :: Zope Public License -Classifier: Operating System :: OS Independent -Classifier: Programming Language :: Python :: 2.4 -Classifier: Programming Language :: Python :: 2.5 -Classifier: Programming Language :: Python :: 2.6 -Classifier: Programming Language :: Python :: 2.7 -Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.1 -Classifier: Programming Language :: Python :: 3.2 -Classifier: Programming Language :: Python :: 3.3 -Classifier: Topic :: Software Development :: Libraries :: Python Modules -Classifier: Topic :: System :: Archiving :: Packaging -Classifier: Topic :: System :: Systems Administration -Classifier: Topic :: Utilities +Metadata-Version: 1.1 +Name: distribute +Version: 0.6.36 +Summary: Easily download, build, install, upgrade, and uninstall Python packages +Home-page: http://packages.python.org/distribute +Author: The fellowship of the packaging +Author-email: distutils-sig@python.org +License: PSF or ZPL +Description: =============================== + Installing and Using Distribute + =============================== + + .. contents:: **Table of Contents** + + ----------- + Disclaimers + ----------- + + About the fork + ============== + + `Distribute` is a fork of the `Setuptools` project. + + Distribute is intended to replace Setuptools as the standard method + for working with Python module distributions. + + The fork has two goals: + + - Providing a backward compatible version to replace Setuptools + and make all distributions that depend on Setuptools work as + before, but with less bugs and behaviorial issues. + + This work is done in the 0.6.x series. + + Starting with version 0.6.2, Distribute supports Python 3. + Installing and using distribute for Python 3 code works exactly + the same as for Python 2 code, but Distribute also helps you to support + Python 2 and Python 3 from the same source code by letting you run 2to3 + on the code as a part of the build process, by setting the keyword parameter + ``use_2to3`` to True. See http://packages.python.org/distribute for more + information. + + - Refactoring the code, and releasing it in several distributions. + This work is being done in the 0.7.x series but not yet released. + + The roadmap is still evolving, and the page that is up-to-date is + located at : `http://packages.python.org/distribute/roadmap`. + + If you install `Distribute` and want to switch back for any reason to + `Setuptools`, get to the `Uninstallation instructions`_ section. + + More documentation + ================== + + You can get more information in the Sphinx-based documentation, located + at http://packages.python.org/distribute. This documentation includes the old + Setuptools documentation that is slowly replaced, and brand new content. + + About the installation process + ============================== + + The `Distribute` installer modifies your installation by de-activating an + existing installation of `Setuptools` in a bootstrap process. This process + has been tested in various installation schemes and contexts but in case of a + bug during this process your Python installation might be left in a broken + state. Since all modified files and directories are copied before the + installation starts, you will be able to get back to a normal state by reading + the instructions in the `Uninstallation instructions`_ section. + + In any case, it is recommended to save you `site-packages` directory before + you start the installation of `Distribute`. + + ------------------------- + Installation Instructions + ------------------------- + + Distribute is only released as a source distribution. + + It can be installed using pip, and can be done so with the source tarball, + or by using the ``distribute_setup.py`` script provided online. + + ``distribute_setup.py`` is the simplest and preferred way on all systems. + + distribute_setup.py + =================== + + Download + `distribute_setup.py `_ + and execute it, using the Python interpreter of your choice. + + If your shell has the ``curl`` program you can do:: + + $ curl -O http://python-distribute.org/distribute_setup.py + $ python distribute_setup.py + + Notice this file is also provided in the source release. + + pip + === + + Run easy_install or pip:: + + $ pip install distribute + + Source installation + =================== + + Download the source tarball, uncompress it, then run the install command:: + + $ curl -O http://pypi.python.org/packages/source/d/distribute/distribute-0.6.36.tar.gz + $ tar -xzvf distribute-0.6.36.tar.gz + $ cd distribute-0.6.36 + $ python setup.py install + + --------------------------- + Uninstallation Instructions + --------------------------- + + Like other distutils-based distributions, Distribute doesn't provide an + uninstaller yet. It's all done manually! We are all waiting for PEP 376 + support in Python. + + Distribute is installed in three steps: + + 1. it gets out of the way an existing installation of Setuptools + 2. it installs a `fake` setuptools installation + 3. it installs distribute + + Distribute can be removed like this: + + - remove the ``distribute*.egg`` file located in your site-packages directory + - remove the ``setuptools.pth`` file located in you site-packages directory + - remove the easy_install script located in you ``sys.prefix/bin`` directory + - remove the ``setuptools*.egg`` directory located in your site-packages directory, + if any. + + If you want to get back to setuptools: + + - reinstall setuptools using its instruction. + + Lastly: + + - remove the *.OLD.* directory located in your site-packages directory if any, + **once you have checked everything was working correctly again**. + + ------------------------- + Quick help for developers + ------------------------- + + To create an egg which is compatible with Distribute, use the same + practice as with Setuptools, e.g.:: + + from setuptools import setup + + setup(... + ) + + To use `pkg_resources` to access data files in the egg, you should + require the Setuptools distribution explicitly:: + + from setuptools import setup + + setup(... + install_requires=['setuptools'] + ) + + Only if you need Distribute-specific functionality should you depend + on it explicitly. In this case, replace the Setuptools dependency:: + + from setuptools import setup + + setup(... + install_requires=['distribute'] + ) + + ----------- + Install FAQ + ----------- + + - **Why is Distribute wrapping my Setuptools installation?** + + Since Distribute is a fork, and since it provides the same package + and modules, it renames the existing Setuptools egg and inserts a + new one which merely wraps the Distribute code. This way, full + backwards compatibility is kept for packages which rely on the + Setuptools modules. + + At the same time, packages can meet their dependency on Setuptools + without actually installing it (which would disable Distribute). + + - **How does Distribute interact with virtualenv?** + + Everytime you create a virtualenv it will install setuptools by default. + You either need to re-install Distribute in it right after or pass the + ``--distribute`` option when creating it. + + Once installed, your virtualenv will use Distribute transparently. + + Although, if you have Setuptools installed in your system-wide Python, + and if the virtualenv you are in was generated without the `--no-site-packages` + option, the Distribute installation will stop. + + You need in this case to build a virtualenv with the `--no-site-packages` + option or to install `Distribute` globally. + + - **How does Distribute interacts with zc.buildout?** + + You can use Distribute in your zc.buildout, with the --distribute option, + starting at zc.buildout 1.4.2:: + + $ python bootstrap.py --distribute + + For previous zc.buildout versions, *the only thing* you need to do + is use the bootstrap at `http://python-distribute.org/bootstrap.py`. Run + that bootstrap and ``bin/buildout`` (and all other buildout-generated + scripts) will transparently use distribute instead of setuptools. You do + not need a specific buildout release. + + A shared eggs directory is no problem (since 0.6.6): the setuptools egg is + left in place unmodified. So other buildouts that do not yet use the new + bootstrap continue to work just fine. And there is no need to list + ``distribute`` somewhere in your eggs: using the bootstrap is enough. + + The source code for the bootstrap script is located at + `http://bitbucket.org/tarek/buildout-distribute`. + + + + ----------------------------- + Feedback and getting involved + ----------------------------- + + - Mailing list: http://mail.python.org/mailman/listinfo/distutils-sig + - Issue tracker: http://bitbucket.org/tarek/distribute/issues/ + - Code Repository: http://bitbucket.org/tarek/distribute + + ======= + CHANGES + ======= + + ------ + 0.6.36 + ------ + + * Pull Request #35: In `Buildout `issue 64`_ + `_, it was reported that + under Python 3, installation of distutils scripts could attempt to copy + the ``__pycache__`` directory as a file, causing an error, apparently only + under Windows. Easy_install now skips all directories when processing + metadata scripts. + + ------ + 0.6.35 + ------ + + Note this release is backward-incompatible with distribute 0.6.23-0.6.34 in + how it parses version numbers. + + * `Issue #278`_: Restored compatibility with distribute 0.6.22 and setuptools + 0.6. Updated the documentation to match more closely with the version + parsing 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-dependent + import would trigger hook load failures on Mercurial. See pull request 32 + for details. + * `Issue #341`_: Fix a ResourceWarning. + + ------ + 0.6.32 + ------ + + * Fix test suite with Python 2.6. + * Fix some DeprecationWarnings and ResourceWarnings. + * `Issue #335`_: Backed out `setup_requires` superceding installed requirements + until 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 with + Jython. + * Work around Jython bugs `#1980 `_ and + `#1981 `_. + * `Issue #334`_: Provide workaround for packages that reference `sys.__stdout__` + such as numpy does. This change should address + `virtualenv #359 `_ as long + as the system encoding is UTF-8 or the IO encoding is specified in the + environment, i.e.:: + + PYTHONIOENCODING=utf8 pip install numpy + + * Fix for encoding issue when installing from Windows executable on Python 3. + * `Issue #323`_: Allow `setup_requires` requirements to supercede installed + requirements. Added some new keyword arguments to existing pkg_resources + methods. Also had to updated how __path__ is handled for namespace packages + to ensure that when a new egg distribution containing a namespace package is + placed on sys.path, the entries in __path__ are found in the same order they + would have been in had that egg been on the path when pkg_resources was + first 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 fix https://github.com/pypa/virtualenv/issues/301. + * If Sphinx is installed, the `upload_docs` command now runs `build_sphinx` + to 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 code + in build/lib makes it work, although you will have to rebuild the module + before 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 of `package_data` and + `include_package_data`. Files indicated by `package_data` are now included + in the manifest. + * `distribute_setup.py` now allows a `--download-base` argument for retrieving + distribute 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 on + Python 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 the + installation of a source distribution; now fulfillment of setup_requires + dependencies 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 for + Python 2.6 and later. + * `Issue #262`_: package_index.open_with_auth no longer throws LookupError + on Python 3. + * `Issue #269`_: AttributeError when an exception occurs reading Manifest.in + on late releases of Python. + * `Issue #272`_: Prevent TypeError when namespace package names are unicode + and single-install-externally-managed is used. Also fixes PIP `issue + 449`_. + * `Issue #273`_: Legacy script launchers now install with Python2/3 support. + + ------ + 0.6.24 + ------ + + * `Issue #249`_: Added options to exclude 2to3 fixers + + ------ + 0.6.23 + ------ + + * `Issue #244`_: Fixed a test + * `Issue #243`_: Fixed a test + * `Issue #239`_: Fixed a test + * `Issue #240`_: Fixed a test + * `Issue #241`_: Fixed a test + * `Issue #237`_: Fixed a test + * `Issue #238`_: easy_install now uses 64bit executable wrappers on 64bit Python + * `Issue #208`_: Fixed parsed_versions, it now honors post-releases as noted in the documentation + * `Issue #207`_: Windows cli and gui wrappers pass CTRL-C to child python process + * `Issue #227`_: easy_install now passes its arguments to setup.py bdist_egg + * `Issue #225`_: Fixed a NameError on Python 2.5, 2.4 + + ------ + 0.6.21 + ------ + + * `Issue #225`_: FIxed a regression on py2.4 + + ------ + 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 + ------ + + * `Issue 210`_: Fixed a regression introduced by `Issue 204`_ fix. + + ------ + 0.6.17 + ------ + + * Support 'DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT' environment + variable 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 in + declare_namespace + * `Issue 196`_: Tolerate responses with multiple Content-Length headers + * `Issue 205`_: Sandboxing doesn't preserve working_set. Leads to setup_requires + problems. + + ------ + 0.6.16 + ------ + + * Builds sdist gztar even on Windows (avoiding `Issue 193`_). + * `Issue 192`_: Fixed metadata omitted on Windows when package_dir + specified 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 when + comparing two distributions + + ------ + 0.6.12 + ------ + + * `Issue 149`_: Fixed various failures on 2.3/2.4 + + ------ + 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 because + zc.buildout uses the exception message to get the name of the + distribution. + + ----- + 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 anymore + Initial 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 it + only if triggered by ``install_requires`` from a setup.py call + (install, develop, etc). + * `Issue 101`_: Allowing ``os.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 run + anymore 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 when + the 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 point + in the standard "if name == 'main'" + * Added the 'DONT_PATCH_SETUPTOOLS' environment variable, so virtualenv + can drive an installation that doesn't patch a global setuptools. + * Reviewed unladen-swallow specific change from + http://code.google.com/p/unladen-swallow/source/detail?spec=svn875&r=719 + and determined that it no longer applies. Distribute should work fine with + Unladen Swallow 2009Q3. + * `Issue 21`_: Allow PackageIndex.open_url to gracefully handle all cases of a + httplib.HTTPException instead of just InvalidURL and BadStatusLine. + * Removed virtual-python.py from this distribution and updated documentation + to point to the actively maintained virtualenv instead. + * `Issue 64`_: use_setuptools no longer rebuilds the distribute egg every + time it is run + * use_setuptools now properly respects the requested version + * use_setuptools will no longer try to import a distribute egg for the + wrong 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-series + setuptools. And an error is raised when installing a 0.7 setuptools with + distribute. + + * When run from within buildout, no attempt is made to modify an existing + setuptools egg, whether in a shared egg directory or a system setuptools. + + * Fixed a hole in sandboxing allowing builtin file to write outside of + the sandbox. + + ----- + 0.6.4 + ----- + + * Added the generation of `distribute_setup_3k.py` during the release. + This closes `issue #52`_. + + * Added an upload_docs command to easily upload project documentation to + PyPI's http://packages.python.org. This close `issue #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 + ========== + + * Added Python 3 support; see docs/python3.txt. + This closes http://bugs.python.org/setuptools/issue39. + + * Added option to run 2to3 automatically when installing on Python 3. + This closes `issue #31`_. + + * Fixed invalid usage of requirement.parse, that broke develop -d. + This closes http://bugs.python.org/setuptools/issue44. + + * Fixed script launcher for 64-bit Windows. + This closes http://bugs.python.org/setuptools/issue2. + + * KeyError when compiling extensions. + This closes http://bugs.python.org/setuptools/issue41. + + bootstrapping + ============= + + * Fixed bootstrap not working on Windows. This closes `issue #49`_. + + * Fixed 2.6 dependencies. This closes `issue #50`_. + + * Make sure setuptools is patched when running through easy_install + This closes http://bugs.python.org/setuptools/issue40. + + ----- + 0.6.1 + ----- + + setuptools + ========== + + * package_index.urlopen now catches BadStatusLine and malformed url errors. + This closes `issue #16`_ and `issue #18`_. + + * zip_ok is now False by default. This closes + http://bugs.python.org/setuptools/issue33. + + * Fixed invalid URL error catching. http://bugs.python.org/setuptools/issue20. + + * Fixed invalid bootstraping with easy_install installation (`issue #40`_). + Thanks to Florian Schulze for the help. + + * Removed buildout/bootstrap.py. A new repository will create a specific + bootstrap.py script. + + + bootstrapping + ============= + + * The boostrap process leave setuptools alone if detected in the system + and --root or --prefix is provided, but is not in the same location. + This closes `issue #10`_. + + --- + 0.6 + --- + + setuptools + ========== + + * Packages required at build time where not fully present at install time. + This closes `issue #12`_. + + * Protected against failures in tarfile extraction. This closes `issue #10`_. + + * Made Jython api_tests.txt doctest compatible. This closes `issue #7`_. + + * sandbox.py replaced builtin type file with builtin function open. This + closes `issue #6`_. + + * Immediately close all file handles. This closes `issue #3`_. + + * Added compatibility with Subversion 1.6. This references `issue #1`_. + + pkg_resources + ============= + + * Avoid a call to /usr/bin/sw_vers on OSX and use the official platform API + instead. Based on a patch from ronaldoussoren. This closes `issue #5`_. + + * Fixed a SandboxViolation for mkdir that could occur in certain cases. + This closes `issue #13`_. + + * Allow to find_on_path on systems with tight permissions to fail gracefully. + This closes `issue #9`_. + + * Corrected inconsistency between documentation and code of add_entry. + This closes `issue #8`_. + + * Immediately close all file handles. This closes `issue #3`_. + + easy_install + ============ + + * Immediately close all file handles. This closes `issue #3`_. + + + .. _`Issue #135`: http://bitbucket.org/tarek/distribute/issue/135 + .. _`Issue #183`: http://bitbucket.org/tarek/distribute/issue/183 + .. _`Issue #207`: http://bitbucket.org/tarek/distribute/issue/207 + .. _`Issue #208`: http://bitbucket.org/tarek/distribute/issue/208 + .. _`Issue #212`: http://bitbucket.org/tarek/distribute/issue/212 + .. _`Issue #213`: http://bitbucket.org/tarek/distribute/issue/213 + .. _`Issue #218`: http://bitbucket.org/tarek/distribute/issue/218 + .. _`Issue #225`: http://bitbucket.org/tarek/distribute/issue/225 + .. _`Issue #227`: http://bitbucket.org/tarek/distribute/issue/227 + .. _`Issue #231`: http://bitbucket.org/tarek/distribute/issue/231 + .. _`Issue #237`: http://bitbucket.org/tarek/distribute/issue/237 + .. _`Issue #238`: http://bitbucket.org/tarek/distribute/issue/238 + .. _`Issue #239`: http://bitbucket.org/tarek/distribute/issue/239 + .. _`Issue #240`: http://bitbucket.org/tarek/distribute/issue/240 + .. _`Issue #241`: http://bitbucket.org/tarek/distribute/issue/241 + .. _`Issue #243`: http://bitbucket.org/tarek/distribute/issue/243 + .. _`Issue #244`: http://bitbucket.org/tarek/distribute/issue/244 + .. _`Issue #249`: http://bitbucket.org/tarek/distribute/issue/249 + .. _`Issue #258`: http://bitbucket.org/tarek/distribute/issue/258 + .. _`Issue #260`: http://bitbucket.org/tarek/distribute/issue/260 + .. _`Issue #262`: http://bitbucket.org/tarek/distribute/issue/262 + .. _`Issue #269`: http://bitbucket.org/tarek/distribute/issue/269 + .. _`Issue #272`: http://bitbucket.org/tarek/distribute/issue/272 + .. _`Issue #273`: http://bitbucket.org/tarek/distribute/issue/273 + .. _`Issue #278`: http://bitbucket.org/tarek/distribute/issue/278 + .. _`Issue #283`: http://bitbucket.org/tarek/distribute/issue/283 + .. _`Issue #294`: http://bitbucket.org/tarek/distribute/issue/294 + .. _`Issue #299`: http://bitbucket.org/tarek/distribute/issue/299 + .. _`Issue #301`: http://bitbucket.org/tarek/distribute/issue/301 + .. _`Issue #303`: http://bitbucket.org/tarek/distribute/issue/303 + .. _`Issue #304`: http://bitbucket.org/tarek/distribute/issue/304 + .. _`Issue #305`: http://bitbucket.org/tarek/distribute/issue/305 + .. _`Issue #306`: http://bitbucket.org/tarek/distribute/issue/306 + .. _`Issue #307`: http://bitbucket.org/tarek/distribute/issue/307 + .. _`Issue #310`: http://bitbucket.org/tarek/distribute/issue/310 + .. _`Issue #311`: http://bitbucket.org/tarek/distribute/issue/311 + .. _`Issue #313`: http://bitbucket.org/tarek/distribute/issue/313 + .. _`Issue #314`: http://bitbucket.org/tarek/distribute/issue/314 + .. _`Issue #320`: http://bitbucket.org/tarek/distribute/issue/320 + .. _`Issue #323`: http://bitbucket.org/tarek/distribute/issue/323 + .. _`Issue #326`: http://bitbucket.org/tarek/distribute/issue/326 + .. _`Issue #327`: http://bitbucket.org/tarek/distribute/issue/327 + .. _`Issue #328`: http://bitbucket.org/tarek/distribute/issue/328 + .. _`Issue #329`: http://bitbucket.org/tarek/distribute/issue/329 + .. _`Issue #334`: http://bitbucket.org/tarek/distribute/issue/334 + .. _`Issue #335`: http://bitbucket.org/tarek/distribute/issue/335 + .. _`Issue #336`: http://bitbucket.org/tarek/distribute/issue/336 + .. _`Issue #341`: http://bitbucket.org/tarek/distribute/issue/341 + .. _`Issue 100`: http://bitbucket.org/tarek/distribute/issue/100 + .. _`Issue 101`: http://bitbucket.org/tarek/distribute/issue/101 + .. _`Issue 103`: http://bitbucket.org/tarek/distribute/issue/103 + .. _`Issue 104`: http://bitbucket.org/tarek/distribute/issue/104 + .. _`Issue 108`: http://bitbucket.org/tarek/distribute/issue/108 + .. _`Issue 11`: http://bitbucket.org/tarek/distribute/issue/11 + .. _`Issue 112`: http://bitbucket.org/tarek/distribute/issue/112 + .. _`Issue 121`: http://bitbucket.org/tarek/distribute/issue/121 + .. _`Issue 133`: http://bitbucket.org/tarek/distribute/issue/133 + .. _`Issue 134`: http://bitbucket.org/tarek/distribute/issue/134 + .. _`Issue 138`: http://bitbucket.org/tarek/distribute/issue/138 + .. _`Issue 143`: http://bitbucket.org/tarek/distribute/issue/143 + .. _`Issue 146`: http://bitbucket.org/tarek/distribute/issue/146 + .. _`Issue 147`: http://bitbucket.org/tarek/distribute/issue/147 + .. _`Issue 149`: http://bitbucket.org/tarek/distribute/issue/149 + .. _`Issue 15`: http://bitbucket.org/tarek/distribute/issue/15 + .. _`Issue 150`: http://bitbucket.org/tarek/distribute/issue/150 + .. _`Issue 160`: http://bitbucket.org/tarek/distribute/issue/160 + .. _`Issue 163`: http://bitbucket.org/tarek/distribute/issue/163 + .. _`Issue 170`: http://bitbucket.org/tarek/distribute/issue/170 + .. _`Issue 171`: http://bitbucket.org/tarek/distribute/issue/171 + .. _`Issue 174`: http://bitbucket.org/tarek/distribute/issue/174 + .. _`Issue 192`: http://bitbucket.org/tarek/distribute/issue/192 + .. _`Issue 193`: http://bitbucket.org/tarek/distribute/issue/193 + .. _`Issue 195`: http://bitbucket.org/tarek/distribute/issue/195 + .. _`Issue 196`: http://bitbucket.org/tarek/distribute/issue/196 + .. _`Issue 200`: http://bitbucket.org/tarek/distribute/issue/200 + .. _`Issue 204`: http://bitbucket.org/tarek/distribute/issue/204 + .. _`Issue 205`: http://bitbucket.org/tarek/distribute/issue/205 + .. _`Issue 206`: http://bitbucket.org/tarek/distribute/issue/206 + .. _`Issue 21`: http://bitbucket.org/tarek/distribute/issue/21 + .. _`Issue 210`: http://bitbucket.org/tarek/distribute/issue/210 + .. _`Issue 58`: http://bitbucket.org/tarek/distribute/issue/58 + .. _`Issue 64`: http://bitbucket.org/tarek/distribute/issue/64 + .. _`Issue 65`: http://bitbucket.org/tarek/distribute/issue/65 + .. _`Issue 67`: http://bitbucket.org/tarek/distribute/issue/67 + .. _`Issue 70`: http://bitbucket.org/tarek/distribute/issue/70 + .. _`Issue 72`: http://bitbucket.org/tarek/distribute/issue/72 + .. _`Issue 74`: http://bitbucket.org/tarek/distribute/issue/74 + .. _`Issue 80`: http://bitbucket.org/tarek/distribute/issue/80 + .. _`Issue 86`: http://bitbucket.org/tarek/distribute/issue/86 + .. _`Issue 87`: http://bitbucket.org/tarek/distribute/issue/87 + .. _`Issue 89`: http://bitbucket.org/tarek/distribute/issue/89 + .. _`Issue 90`: http://bitbucket.org/tarek/distribute/issue/90 + .. _`Issue 92`: http://bitbucket.org/tarek/distribute/issue/92 + .. _`Issue 93`: http://bitbucket.org/tarek/distribute/issue/93 + .. _`Issue 99`: http://bitbucket.org/tarek/distribute/issue/99 + .. _`issue + 449`: http://bitbucket.org/tarek/distribute/issue/449 + .. _`issue #1`: http://bitbucket.org/tarek/distribute/issue/1 + .. _`issue #10`: http://bitbucket.org/tarek/distribute/issue/10 + .. _`issue #12`: http://bitbucket.org/tarek/distribute/issue/12 + .. _`issue #13`: http://bitbucket.org/tarek/distribute/issue/13 + .. _`issue #16`: http://bitbucket.org/tarek/distribute/issue/16 + .. _`issue #18`: http://bitbucket.org/tarek/distribute/issue/18 + .. _`issue #3`: http://bitbucket.org/tarek/distribute/issue/3 + .. _`issue #31`: http://bitbucket.org/tarek/distribute/issue/31 + .. _`issue #40`: http://bitbucket.org/tarek/distribute/issue/40 + .. _`issue #49`: http://bitbucket.org/tarek/distribute/issue/49 + .. _`issue #5`: http://bitbucket.org/tarek/distribute/issue/5 + .. _`issue #50`: http://bitbucket.org/tarek/distribute/issue/50 + .. _`issue #52`: http://bitbucket.org/tarek/distribute/issue/52 + .. _`issue #56`: http://bitbucket.org/tarek/distribute/issue/56 + .. _`issue #6`: http://bitbucket.org/tarek/distribute/issue/6 + .. _`issue #7`: http://bitbucket.org/tarek/distribute/issue/7 + .. _`issue #8`: http://bitbucket.org/tarek/distribute/issue/8 + .. _`issue #9`: http://bitbucket.org/tarek/distribute/issue/9 + .. _`issue 64`: http://bitbucket.org/tarek/distribute/issue/64 + + +Keywords: CPAN PyPI distutils eggs package management +Platform: UNKNOWN +Classifier: Development Status :: 5 - Production/Stable +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved :: Python Software Foundation License +Classifier: License :: OSI Approved :: Zope Public License +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python :: 2.4 +Classifier: Programming Language :: Python :: 2.5 +Classifier: Programming Language :: Python :: 2.6 +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.1 +Classifier: Programming Language :: Python :: 3.2 +Classifier: Programming Language :: Python :: 3.3 +Classifier: Topic :: Software Development :: Libraries :: Python Modules +Classifier: Topic :: System :: Archiving :: Packaging +Classifier: Topic :: System :: Systems Administration +Classifier: Topic :: Utilities --- distribute-0.6.36.orig/distribute.egg-info/top_level.txt +++ distribute-0.6.36/distribute.egg-info/top_level.txt @@ -1,5 +1,5 @@ +site _markerlib -easy_install pkg_resources setuptools -site +easy_install --- distribute-0.6.36.orig/setuptools/command/install_egg_info.py +++ distribute-0.6.36/setuptools/command/install_egg_info.py @@ -1,7 +1,7 @@ from setuptools import Command from setuptools.archive_util import unpack_archive from distutils import log, dir_util -import os, shutil, pkg_resources +import os, sys, shutil, pkg_resources class install_egg_info(Command): """Install an .egg-info directory for the package""" @@ -14,13 +14,30 @@ def initialize_options(self): self.install_dir = None + self.install_layout = None + self.prefix_option = None def finalize_options(self): self.set_undefined_options('install_lib',('install_dir','install_dir')) + self.set_undefined_options('install',('install_layout','install_layout')) + if sys.hexversion > 0x2060000: + self.set_undefined_options('install',('prefix_option','prefix_option')) ei_cmd = self.get_finalized_command("egg_info") basename = pkg_resources.Distribution( None, None, ei_cmd.egg_name, ei_cmd.egg_version ).egg_name()+'.egg-info' + + if self.install_layout: + if not self.install_layout.lower() in ['deb']: + raise DistutilsOptionError( + "unknown value for --install-layout") + basename = basename.replace('-py%s' % pkg_resources.PY_MAJOR, '') + elif self.prefix_option or 'real_prefix' in sys.__dict__: + # don't modify for virtualenv + pass + else: + basename = basename.replace('-py%s' % pkg_resources.PY_MAJOR, '') + self.source = ei_cmd.egg_info self.target = os.path.join(self.install_dir, basename) self.outputs = [self.target] --- distribute-0.6.36.orig/setuptools/command/easy_install.py +++ distribute-0.6.36/setuptools/command/easy_install.py @@ -117,13 +117,15 @@ ('allow-hosts=', 'H', "pattern(s) that hostnames must match"), ('local-snapshots-ok', 'l', "allow building eggs from local checkouts"), ('version', None, "print version information and exit"), + ('install-layout=', None, "installation layout to choose (known values: deb)"), + ('force-installation-into-system-dir', '0', "force installation into /usr"), ('no-find-links', None, "Don't load find-links defined in packages being installed") ] boolean_options = [ 'zip-ok', 'multi-version', 'exclude-scripts', 'upgrade', 'always-copy', 'delete-conflicting', 'ignore-conflicts-at-my-risk', 'editable', - 'no-deps', 'local-snapshots-ok', 'version' + 'no-deps', 'local-snapshots-ok', 'version', 'force-installation-into-system-dir' ] if HAS_USER_SITE: @@ -177,6 +179,10 @@ self.site_dirs = None self.installed_projects = {} self.sitepy_installed = False + # enable custom installation, known values: deb + self.install_layout = None + self.force_installation_into_system_dir = None + # Always read easy_install options, even if we are subclassed, or have # an independent instance created. This ensures that defaults will # always come from the standard configuration file(s)' "easy_install" @@ -240,6 +246,10 @@ self.expand_basedirs() self.expand_dirs() + if self.install_layout: + if not self.install_layout.lower() in ['deb']: + raise DistutilsOptionError("unknown value for --install-layout") + self._expand('install_dir','script_dir','build_directory','site_dirs') # If a non-default installation directory was specified, default the # script directory to match it. @@ -263,6 +273,15 @@ if self.user and self.install_purelib: self.install_dir = self.install_purelib self.script_dir = self.install_scripts + + if self.prefix == '/usr' and not self.force_installation_into_system_dir: + raise DistutilsOptionError("""installation into /usr + +Trying to install into the system managed parts of the file system. Please +consider to install to another location, or use the option +--force-installation-into-system-dir to overwrite this warning. +""") + # default --record from the install command self.set_undefined_options('install', ('record', 'record')) normpath = map(normalize_path, sys.path) @@ -1323,11 +1342,28 @@ + if sys.version[:3] in ('2.3', '2.4', '2.5') or 'real_prefix' in sys.__dict__: + sitedir_name = 'site-packages' + else: + sitedir_name = 'dist-packages' + INSTALL_SCHEMES = dict( posix = dict( install_dir = '$base/lib/python$py_version_short/site-packages', script_dir = '$base/bin', ), + unix_local = dict( + install_dir = '$base/local/lib/python$py_version_short/%s' % sitedir_name, + script_dir = '$base/local/bin', + ), + posix_local = dict( + install_dir = '$base/local/lib/python$py_version_short/%s' % sitedir_name, + script_dir = '$base/local/bin', + ), + deb_system = dict( + install_dir = '$base/lib/python3/%s' % sitedir_name, + script_dir = '$base/bin', + ), ) DEFAULT_SCHEME = dict( @@ -1338,11 +1374,18 @@ def _expand(self, *attrs): config_vars = self.get_finalized_command('install').config_vars - if self.prefix: + if self.prefix or self.install_layout: + if self.install_layout and self.install_layout.lower() in ['deb']: + scheme_name = "deb_system" + self.prefix = '/usr' + elif self.prefix or 'real_prefix' in sys.__dict__: + scheme_name = os.name + else: + scheme_name = "posix_local" # Set default install_dir/scripts from --prefix config_vars = config_vars.copy() config_vars['base'] = self.prefix - scheme = self.INSTALL_SCHEMES.get(os.name,self.DEFAULT_SCHEME) + scheme = self.INSTALL_SCHEMES.get(scheme_name,self.DEFAULT_SCHEME) for attr,val in scheme.items(): if getattr(self,attr,None) is None: setattr(self,attr,val) @@ -1381,9 +1424,14 @@ "site-packages"), os.path.join(prefix, "lib", "site-python")]) else: + if sys.version[:3] in ('2.3', '2.4', '2.5'): + sdir = "site-packages" + else: + sdir = "dist-packages" sitedirs.extend( - [prefix, os.path.join(prefix, "lib", "site-packages")] - ) + [os.path.join(prefix, "local/lib", "python" + sys.version[:3], sdir), + os.path.join(prefix, "lib", "python" + sys.version[:3], sdir)] + ) if sys.platform == 'darwin': # for framework builds *only* we add the standard Apple # locations. Currently only per-user, but /Library and