diff -Nru python-setuptools-20.3.1/CHANGES.txt python-setuptools-20.7.0/CHANGES.txt --- python-setuptools-20.3.1/CHANGES.txt 2016-03-18 14:48:53.000000000 +0000 +++ python-setuptools-20.7.0/CHANGES.txt 1970-01-01 00:00:00.000000000 +0000 @@ -1,2436 +0,0 @@ -======= -CHANGES -======= - -20.3.1 ------- - -* Issue #519: Remove import hook when reloading the - ``pkg_resources`` module. -* Pull Request #184: Update documentation in ``pkg_resources`` - around new ``Requirement`` implementation. - -20.3 ----- - -* Pull Request #179: ``pkg_resources.Requirement`` objects are - now a subclass of ``packaging.requirements.Requirement``, - allowing any environment markers and url (if any) to be - affiliated with the requirement -* Pull Request #179: Restore use of RequirementParseError - exception unintentionally dropped in 20.2. - -20.2.2 ------- - -* Issue #502: Correct regression in parsing of multiple - version specifiers separated by commas and spaces. - -20.2.1 ------- - -* Issue #499: Restore compatiblity for legacy versions - by bumping to packaging 16.4. - -20.2 ----- - -* Changelog now includes release dates and links to PEPs. -* Pull Request #173: Replace dual PEP 345 _markerlib implementation - and PEP 426 implementation of environment marker support from - packaging 16.1 and PEP 508. Fixes Issue #122. - See also Pull Request #175, Pull Request #168, and - Pull Request #164. Additionally: - - ``Requirement.parse`` no longer retains the order of extras. - - ``parse_requirements`` now requires that all versions be - PEP-440 compliant, as revealed in #499. Packages released - with invalid local versions should be re-released using - the proper local version syntax, e.g. ``mypkg-1.0+myorg.1``. - -20.1.1 ------- - -* Update ``upload_docs`` command to also honor keyring - for password resolution. - -20.1 ----- - -* Added support for using passwords from keyring in the upload - command. See `the upload docs - `_ - for details. - -20.0 ----- - -* Issue #118: Once again omit the package metadata (egg-info) - from the list of outputs in ``--record``. This version of setuptools - can no longer be used to upgrade pip earlier than 6.0. - -19.7 ----- - -* `Off-project PR `_: - For FreeBSD, also honor root certificates from ca_root_nss. - -19.6.2 ------- - -* Issue #491: Correct regression incurred in 19.4 where - a double-namespace package installed using pip would - cause a TypeError. - -19.6.1 ------- - -* Restore compatibility for PyPy 3 compatibility lost in - 19.4.1 addressing Issue #487. -* ``setuptools.launch`` shim now loads scripts in a new - namespace, avoiding getting relative imports from - the setuptools package on Python 2. - -19.6 ----- - -* Added a new entry script ``setuptools.launch``, - implementing the shim found in - ``pip.util.setuptools_build``. Use this command to launch - distutils-only packages under setuptools in the same way that - pip does, causing the setuptools monkeypatching of distutils - to be invoked prior to invoking a script. Useful for debugging - or otherwise installing a distutils-only package under - setuptools when pip isn't available or otherwise does not - expose the desired functionality. For example:: - - $ python -m setuptools.launch setup.py develop - -* Issue #488: Fix dual manifestation of Extension class in - extension packages installed as dependencies when Cython - is present. - -19.5 ----- - -* Issue #486: Correct TypeError when getfilesystemencoding - returns None. -* Issue #139: Clarified the license as MIT. -* Pull Request #169: Removed special handling of command - spec in scripts for Jython. - -19.4.1 ------- - -* Issue #487: Use direct invocation of ``importlib.machinery`` - in ``pkg_resources`` to avoid missing detection on relevant - platforms. - -19.4 ----- - -* Issue #341: Correct error in path handling of package data - files in ``build_py`` command when package is empty. -* Distribute #323, Issue #141, Issue #207, and - Pull Request #167: Another implementation of - ``pkg_resources.WorkingSet`` and ``pkg_resources.Distribution`` - that supports replacing an extant package with a new one, - allowing for setup_requires dependencies to supersede installed - packages for the session. - -19.3 ----- - -* Issue #229: Implement new technique for readily incorporating - dependencies conditionally from vendored copies or primary - locations. Adds a new dependency on six. - -19.2 ----- - -* Pull Request #163: Add get_command_list method to Distribution. -* Pull Request #162: Add missing whitespace to multiline string - literals. - -19.1.1 ------- - -* Issue #476: Cast version to string (using default encoding) - to avoid creating Unicode types on Python 2 clients. -* Issue #477: In Powershell downloader, use explicit rendering - of strings, rather than rely on ``repr``, which can be - incorrect (especially on Python 2). - -19.1 ----- - -* Issue #215: The bootstrap script ``ez_setup.py`` now - automatically detects - the latest version of setuptools (using PyPI JSON API) rather - than hard-coding a particular value. -* Issue #475: Fix incorrect usage in _translate_metadata2. - -19.0 ----- - -* Issue #442: Use RawConfigParser for parsing .pypirc file. - Interpolated values are no longer honored in .pypirc files. - -18.8.1 ------- - -* Issue #440: Prevent infinite recursion when a SandboxViolation - or other UnpickleableException occurs in a sandbox context - with setuptools hidden. Fixes regression introduced in Setuptools - 12.0. - -18.8 ----- - -* Deprecated ``egg_info.get_pkg_info_revision``. -* Issue #471: Don't rely on repr for an HTML attribute value in - package_index. -* Issue #419: Avoid errors in FileMetadata when the metadata directory - is broken. -* Issue #472: Remove deprecated use of 'U' in mode parameter - when opening files. - -18.7.1 ------- - -* Issue #469: Refactored logic for Issue #419 fix to re-use metadata - loading from Provider. - -18.7 ----- - -* Update dependency on certify. -* Pull Request #160: Improve detection of gui script in - ``easy_install._adjust_header``. -* Made ``test.test_args`` a non-data property; alternate fix - for the issue reported in Pull Request #155. -* Issue #453: In ``ez_setup`` bootstrap module, unload all - ``pkg_resources`` modules following download. -* Pull Request #158: Honor PEP-488 when excluding - files for namespace packages. -* Issue #419 and Pull Request #144: Add experimental support for - reading the version info from distutils-installed metadata rather - than using the version in the filename. - -18.6.1 ------- - -* Issue #464: Correct regression in invocation of superclass on old-style - class on Python 2. - -18.6 ----- - -* Issue #439: When installing entry_point scripts under development, - omit the version number of the package, allowing any version of the - package to be used. - -18.5 ----- - -* In preparation for dropping support for Python 3.2, a warning is - now logged when pkg_resources is imported on Python 3.2 or earlier - Python 3 versions. -* `Add support for python_platform_implementation environment marker - `_. -* `Fix dictionary mutation during iteration - `_. - -18.4 ----- - -* Issue #446: Test command now always invokes unittest, even - if no test suite is supplied. - -18.3.2 ------- - -* Correct another regression in setuptools.findall - where the fix for Python #12885 was lost. - -18.3.1 ------- - -* Issue #425: Correct regression in setuptools.findall. - -18.3 ----- - -* Setuptools now allows disabling of the manipulation of the sys.path - during the processing of the easy-install.pth file. To do so, set - the environment variable ``SETUPTOOLS_SYS_PATH_TECHNIQUE`` to - anything but "rewrite" (consider "raw"). During any install operation - with manipulation disabled, setuptools packages will be appended to - sys.path naturally. - - Future versions may change the default behavior to disable - manipulation. If so, the default behavior can be retained by setting - the variable to "rewrite". - -* Issue #257: ``easy_install --version`` now shows more detail - about the installation location and Python version. - -* Refactor setuptools.findall in preparation for re-submission - back to distutils. - -18.2 ----- - -* Issue #412: More efficient directory search in ``find_packages``. - -18.1 ----- - -* Upgrade to vendored packaging 15.3. - -18.0.1 ------- - -* Issue #401: Fix failure in test suite. - -18.0 ----- - -* Dropped support for builds with Pyrex. Only Cython is supported. -* Issue #288: Detect Cython later in the build process, after - ``setup_requires`` dependencies are resolved. - Projects backed by Cython can now be readily built - with a ``setup_requires`` dependency. For example:: - - ext = setuptools.Extension('mylib', ['src/CythonStuff.pyx', 'src/CStuff.c']) - setuptools.setup( - ... - ext_modules=[ext], - setup_requires=['cython'], - ) - - For compatibility with older versions of setuptools, packagers should - still include ``src/CythonMod.c`` in the source distributions or - require that Cython be present before building source distributions. - However, for systems with this build of setuptools, Cython will be - downloaded on demand. -* Issue #396: Fixed test failure on OS X. -* Pull Request #136: Remove excessive quoting from shebang headers - for Jython. - -17.1.1 ------- - -* Backed out unintended changes to pkg_resources, restoring removal of - deprecated imp module (`ref - `_). - -17.1 ----- - -* Issue #380: Add support for range operators on environment - marker evaluation. - -17.0 ----- - -* Issue #378: Do not use internal importlib._bootstrap module. -* Issue #390: Disallow console scripts with path separators in - the name. Removes unintended functionality and brings behavior - into parity with pip. - -16.0 ----- - -* Pull Request #130: Better error messages for errors in - parsed requirements. -* Pull Request #133: Removed ``setuptools.tests`` from the - installed packages. -* Pull Request #129: Address deprecation warning due to usage - of imp module. - -15.2 ----- - -* Issue #373: Provisionally expose - ``pkg_resources._initialize_master_working_set``, allowing for - imperative re-initialization of the master working set. - -15.1 ----- - -* Updated to Packaging 15.1 to address Packaging #28. -* Fix ``setuptools.sandbox._execfile()`` with Python 3.1. - -15.0 ----- - -* Pull Request #126: DistributionNotFound message now lists the package or - packages that required it. E.g.:: - - pkg_resources.DistributionNotFound: The 'colorama>=0.3.1' distribution was not found and is required by smlib.log. - - Note that zc.buildout once dependended on the string rendering of this - message to determine the package that was not found. This expectation - has since been changed, but older versions of buildout may experience - problems. See Buildout #242 for details. - -14.3.1 ------- - -* Issue #307: Removed PEP-440 warning during parsing of versions - in ``pkg_resources.Distribution``. -* Issue #364: Replace deprecated usage with recommended usage of - ``EntryPoint.load``. - -14.3 ----- - -* Issue #254: When creating temporary egg cache on Unix, use mode 755 - for creating the directory to avoid the subsequent warning if - the directory is group writable. - -14.2 ----- - -* Issue #137: Update ``Distribution.hashcmp`` so that Distributions with - None for pyversion or platform can be compared against Distributions - defining those attributes. - -14.1.1 ------- - -* Issue #360: Removed undesirable behavior from test runs, preventing - write tests and installation to system site packages. - -14.1 ----- - -* Pull Request #125: Add ``__ne__`` to Requirement class. -* Various refactoring of easy_install. - -14.0 ----- - -* Bootstrap script now accepts ``--to-dir`` to customize save directory or - allow for re-use of existing repository of setuptools versions. See - Pull Request #112 for background. -* Issue #285: ``easy_install`` no longer will default to installing - packages to the "user site packages" directory if it is itself installed - there. Instead, the user must pass ``--user`` in all cases to install - packages to the user site packages. - This behavior now matches that of "pip install". To configure - an environment to always install to the user site packages, consider - using the "install-dir" and "scripts-dir" parameters to easy_install - through an appropriate distutils config file. - -13.0.2 ------- - -* Issue #359: Include pytest.ini in the sdist so invocation of py.test on the - sdist honors the pytest configuration. - -13.0.1 ------- - -Re-release of 13.0. Intermittent connectivity issues caused the release -process to fail and PyPI uploads no longer accept files for 13.0. - -13.0 ----- - -* Issue #356: Back out Pull Request #119 as it requires Setuptools 10 or later - as the source during an upgrade. -* Removed build_py class from setup.py. According to 892f439d216e, this - functionality was added to support upgrades from old Distribute versions, - 0.6.5 and 0.6.6. - -12.4 ----- - -* Pull Request #119: Restore writing of ``setup_requires`` to metadata - (previously added in 8.4 and removed in 9.0). - -12.3 ----- - -* Documentation is now linked using the rst.linker package. -* Fix ``setuptools.command.easy_install.extract_wininst_cfg()`` - with Python 2.6 and 2.7. -* Issue #354. Added documentation on building setuptools - documentation. - -12.2 ----- - -* Issue #345: Unload all modules under pkg_resources during - ``ez_setup.use_setuptools()``. -* Issue #336: Removed deprecation from ``ez_setup.use_setuptools``, - as it is clearly still used by buildout's bootstrap. ``ez_setup`` - remains deprecated for use by individual packages. -* Simplified implementation of ``ez_setup.use_setuptools``. - -12.1 ----- - -* Pull Request #118: Soften warning for non-normalized versions in - Distribution. - -12.0.5 ------- - -* Issue #339: Correct Attribute reference in ``cant_write_to_target``. -* Issue #336: Deprecated ``ez_setup.use_setuptools``. - -12.0.4 ------- - -* Issue #335: Fix script header generation on Windows. - -12.0.3 ------- - -* Fixed incorrect class attribute in ``install_scripts``. Tests would be nice. - -12.0.2 ------- - -* Issue #331: Fixed ``install_scripts`` command on Windows systems corrupting - the header. - -12.0.1 ------- - -* Restore ``setuptools.command.easy_install.sys_executable`` for pbr - compatibility. For the future, tools should construct a CommandSpec - explicitly. - -12.0 ----- - -* Issue #188: Setuptools now support multiple entities in the value for - ``build.executable``, such that an executable of "/usr/bin/env my-python" may - be specified. This means that systems with a specified executable whose name - has spaces in the path must be updated to escape or quote that value. -* Deprecated ``easy_install.ScriptWriter.get_writer``, replaced by ``.best()`` - with slightly different semantics (no force_windows flag). - -11.3.1 ------- - -* Issue #327: Formalize and restore support for any printable character in an - entry point name. - -11.3 ----- - -* Expose ``EntryPoint.resolve`` in place of EntryPoint._load, implementing the - simple, non-requiring load. Deprecated all uses of ``EntryPoint._load`` - except for calling with no parameters, which is just a shortcut for - ``ep.require(); ep.resolve();``. - - Apps currently invoking ``ep.load(require=False)`` should instead do the - following if wanting to avoid the deprecating warning:: - - getattr(ep, "resolve", lambda: ep.load(require=False))() - -11.2 ----- - -* Pip #2326: Report deprecation warning at stacklevel 2 for easier diagnosis. - -11.1 ----- - -* Issue #281: Since Setuptools 6.1 (Issue #268), a ValueError would be raised - in certain cases where VersionConflict was raised with two arguments, which - occurred in ``pkg_resources.WorkingSet.find``. This release adds support - for indicating the dependent packages while maintaining support for - a VersionConflict when no dependent package context is known. New unit tests - now capture the expected interface. - -11.0 ----- - -* Interop #3: Upgrade to Packaging 15.0; updates to PEP 440 so that >1.7 does - not exclude 1.7.1 but does exclude 1.7.0 and 1.7.0.post1. - -10.2.1 ------- - -* Issue #323: Fix regression in entry point name parsing. - -10.2 ----- - -* Deprecated use of EntryPoint.load(require=False). Passing a boolean to a - function to select behavior is an anti-pattern. Instead use - ``Entrypoint._load()``. -* Substantial refactoring of all unit tests. Tests are now much leaner and - re-use a lot of fixtures and contexts for better clarity of purpose. - -10.1 ----- - -* Issue #320: Added a compatibility implementation of - ``sdist._default_revctrl`` - so that systems relying on that interface do not fail (namely, Ubuntu 12.04 - and similar Debian releases). - -10.0.1 ------- - -* Issue #319: Fixed issue installing pure distutils packages. - -10.0 ----- - -* Issue #313: Removed built-in support for subversion. Projects wishing to - retain support for subversion will need to use a third party library. The - extant implementation is being ported to `setuptools_svn - `_. -* Issue #315: Updated setuptools to hide its own loaded modules during - installation of another package. This change will enable setuptools to - upgrade (or downgrade) itself even when its own metadata and implementation - change. - -9.1 ---- - -* Prefer vendored packaging library `as recommended - `_. - -9.0.1 ------ - -* Issue #312: Restored presence of pkg_resources API tests (doctest) to sdist. - -9.0 ---- - -* Issue #314: Disabled support for ``setup_requires`` metadata to avoid issue - where Setuptools was unable to upgrade over earlier versions. - -8.4 ---- - -* Pull Request #106: Now write ``setup_requires`` metadata. - -8.3 ---- - -* Issue #311: Decoupled pkg_resources from setuptools once again. - ``pkg_resources`` is now a package instead of a module. - -8.2.1 ------ - -* Issue #306: Suppress warnings about Version format except in select scenarios - (such as installation). - -8.2 ---- - -* Pull Request #85: Search egg-base when adding egg-info to manifest. - -8.1 ---- - -* Upgrade ``packaging`` to 14.5, giving preference to "rc" as designator for - release candidates over "c". -* PEP-440 warnings are now raised as their own class, - ``pkg_resources.PEP440Warning``, instead of RuntimeWarning. -* Disabled warnings on empty versions. - -8.0.4 ------ - -* Upgrade ``packaging`` to 14.4, fixing an error where there is a - different result for if 2.0.5 is contained within >2.0dev and >2.0.dev even - though normalization rules should have made them equal. -* Issue #296: Add warning when a version is parsed as legacy. This warning will - make it easier for developers to recognize deprecated version numbers. - -8.0.3 ------ - -* Issue #296: Restored support for ``__hash__`` on parse_version results. - -8.0.2 ------ - -* Issue #296: Restored support for ``__getitem__`` and sort operations on - parse_version result. - -8.0.1 ------ - -* Issue #296: Restore support for iteration over parse_version result, but - deprecated that usage with a warning. Fixes failure with buildout. - -8.0 ---- - -* Implement PEP 440 within - pkg_resources and setuptools. This change - deprecates some version numbers such that they will no longer be installable - without using the ``===`` escape hatch. See `the changes to test_resources - `_ - for specific examples of version numbers and specifiers that are no longer - supported. Setuptools now "vendors" the `packaging - `_ library. - -7.0 ---- - -* Issue #80, Issue #209: Eggs that are downloaded for ``setup_requires``, - ``test_requires``, etc. are now placed in a ``./.eggs`` directory instead of - directly in the current directory. This choice of location means the files - can be readily managed (removed, ignored). Additionally, - later phases or invocations of setuptools will not detect the package as - already installed and ignore it for permanent install (See #209). - - This change is indicated as backward-incompatible as installations that - depend on the installation in the current directory will need to account for - the new location. Systems that ignore ``*.egg`` will probably need to be - adapted to ignore ``.eggs``. The files will need to be manually moved or - will be retrieved again. Most use cases will require no attention. - -6.1 ---- - -* Issue #268: When resolving package versions, a VersionConflict now reports - which package previously required the conflicting version. - -6.0.2 ------ - -* Issue #262: Fixed regression in pip install due to egg-info directories - being omitted. Re-opens Issue #118. - -6.0.1 ------ - -* Issue #259: Fixed regression with namespace package handling on ``single - version, externally managed`` installs. - -6.0 ---- - -* Issue #100: When building a distribution, Setuptools will no longer match - default files using platform-dependent case sensitivity, but rather will - only match the files if their case matches exactly. As a result, on Windows - and other case-insensitive file systems, files with names such as - 'readme.txt' or 'README.TXT' will be omitted from the distribution and a - warning will be issued indicating that 'README.txt' was not found. Other - filenames affected are: - - - README.rst - - README - - setup.cfg - - setup.py (or the script name) - - test/test*.py - - Any users producing distributions with filenames that match those above - case-insensitively, but not case-sensitively, should rename those files in - their repository for better portability. -* Pull Request #72: When using ``single_version_externally_managed``, the - exclusion list now includes Python 3.2 ``__pycache__`` entries. -* Pull Request #76 and Pull Request #78: lines in top_level.txt are now - ordered deterministically. -* Issue #118: The egg-info directory is now no longer included in the list - of outputs. -* Issue #258: Setuptools now patches distutils msvc9compiler to - recognize the specially-packaged compiler package for easy extension module - support on Python 2.6, 2.7, and 3.2. - -5.8 ---- - -* Issue #237: ``pkg_resources`` now uses explicit detection of Python 2 vs. - Python 3, supporting environments where builtins have been patched to make - Python 3 look more like Python 2. - -5.7 ---- - -* Issue #240: Based on real-world performance measures against 5.4, zip - manifests are now cached in all circumstances. The - ``PKG_RESOURCES_CACHE_ZIP_MANIFESTS`` environment variable is no longer - relevant. The observed "memory increase" referenced in the 5.4 release - notes and detailed in Issue #154 was likely not an increase over the status - quo, but rather only an increase over not storing the zip info at all. - -5.6 ---- - -* Issue #242: Use absolute imports in svn_utils to avoid issues if the - installing package adds an xml module to the path. - -5.5.1 ------ - -* Issue #239: Fix typo in 5.5 such that fix did not take. - -5.5 ---- - -* Issue #239: Setuptools now includes the setup_requires directive on - Distribution objects and validates the syntax just like install_requires - and tests_require directives. - -5.4.2 ------ - -* Issue #236: Corrected regression in execfile implementation for Python 2.6. - -5.4.1 ------ - -* Python #7776: (ssl_support) Correct usage of host for validation when - tunneling for HTTPS. - -5.4 ---- - -* Issue #154: ``pkg_resources`` will now cache the zip manifests rather than - re-processing the same file from disk multiple times, but only if the - environment variable ``PKG_RESOURCES_CACHE_ZIP_MANIFESTS`` is set. Clients - that package many modules in the same zip file will see some improvement - in startup time by enabling this feature. This feature is not enabled by - default because it causes a substantial increase in memory usage. - -5.3 ---- - -* Issue #185: Make svn tagging work on the new style SVN metadata. - Thanks cazabon! -* Prune revision control directories (e.g .svn) from base path - as well as sub-directories. - -5.2 ---- - -* Added a `Developer Guide - `_ to the official - documentation. -* Some code refactoring and cleanup was done with no intended behavioral - changes. -* During install_egg_info, the generated lines for namespace package .pth - files are now processed even during a dry run. - -5.1 ---- - -* Issue #202: Implemented more robust cache invalidation for the ZipImporter, - building on the work in Issue #168. Special thanks to Jurko Gospodnetic and - PJE. - -5.0.2 ------ - -* Issue #220: Restored script templates. - -5.0.1 ------ - -* Renamed script templates to end with .tmpl now that they no longer need - to be processed by 2to3. Fixes spurious syntax errors during build/install. - -5.0 ---- - -* Issue #218: Re-release of 3.8.1 to signal that it supersedes 4.x. -* Incidentally, script templates were updated not to include the triple-quote - escaping. - -3.7.1 and 3.8.1 and 4.0.1 -------------------------- - -* Issue #213: Use legacy StringIO behavior for compatibility under pbr. -* Issue #218: Setuptools 3.8.1 superseded 4.0.1, and 4.x was removed - from the available versions to install. - -4.0 ---- - -* Issue #210: ``setup.py develop`` now copies scripts in binary mode rather - than text mode, matching the behavior of the ``install`` command. - -3.8 ---- - -* Extend Issue #197 workaround to include all Python 3 versions prior to - 3.2.2. - -3.7 ---- - -* Issue #193: Improved handling of Unicode filenames when building manifests. - -3.6 ---- - -* Issue #203: Honor proxy settings for Powershell downloader in the bootstrap - routine. - -3.5.2 ------ - -* Issue #168: More robust handling of replaced zip files and stale caches. - Fixes ZipImportError complaining about a 'bad local header'. - -3.5.1 ------ - -* Issue #199: Restored ``install._install`` for compatibility with earlier - NumPy versions. - -3.5 ---- - -* Issue #195: Follow symbolic links in find_packages (restoring behavior - broken in 3.4). -* Issue #197: On Python 3.1, PKG-INFO is now saved in a UTF-8 encoding instead - of ``sys.getpreferredencoding`` to match the behavior on Python 2.6-3.4. -* Issue #192: Preferred bootstrap location is now - https://bootstrap.pypa.io/ez_setup.py (mirrored from former location). - -3.4.4 ------ - -* Issue #184: Correct failure where find_package over-matched packages - when directory traversal isn't short-circuited. - -3.4.3 ------ - -* Issue #183: Really fix test command with Python 3.1. - -3.4.2 ------ - -* Issue #183: Fix additional regression in test command on Python 3.1. - -3.4.1 ------ - -* Issue #180: Fix regression in test command not caught by py.test-run tests. - -3.4 ---- - -* Issue #176: Add parameter to the test command to support a custom test - runner: --test-runner or -r. -* Issue #177: Now assume most common invocation to install command on - platforms/environments without stack support (issuing a warning). Setuptools - now installs naturally on IronPython. Behavior on CPython should be - unchanged. - -3.3 ---- - -* Add ``include`` parameter to ``setuptools.find_packages()``. - -3.2 ---- - -* Pull Request #39: Add support for C++ targets from Cython ``.pyx`` files. -* Issue #162: Update dependency on certifi to 1.0.1. -* Issue #164: Update dependency on wincertstore to 0.2. - -3.1 ---- - -* Issue #161: Restore Features functionality to allow backward compatibility - (for Features) until the uses of that functionality is sufficiently removed. - -3.0.2 ------ - -* Correct typo in previous bugfix. - -3.0.1 ------ - -* Issue #157: Restore support for Python 2.6 in bootstrap script where - ``zipfile.ZipFile`` does not yet have support for context managers. - -3.0 ---- - -* Issue #125: Prevent Subversion support from creating a ~/.subversion - directory just for checking the presence of a Subversion repository. -* Issue #12: Namespace packages are now imported lazily. That is, the mere - declaration of a namespace package in an egg on ``sys.path`` no longer - causes it to be imported when ``pkg_resources`` is imported. Note that this - change means that all of a namespace package's ``__init__.py`` files must - include a ``declare_namespace()`` call in order to ensure that they will be - handled properly at runtime. In 2.x it was possible to get away without - including the declaration, but only at the cost of forcing namespace - packages to be imported early, which 3.0 no longer does. -* Issue #148: When building (bdist_egg), setuptools no longer adds - ``__init__.py`` files to namespace packages. Any packages that rely on this - behavior will need to create ``__init__.py`` files and include the - ``declare_namespace()``. -* Issue #7: Setuptools itself is now distributed as a zip archive in addition to - tar archive. ez_setup.py now uses zip archive. This approach avoids the potential - security vulnerabilities presented by use of tar archives in ez_setup.py. - It also leverages the security features added to ZipFile.extract in Python 2.7.4. -* Issue #65: Removed deprecated Features functionality. -* Pull Request #28: Remove backport of ``_bytecode_filenames`` which is - available in Python 2.6 and later, but also has better compatibility with - Python 3 environments. -* Issue #156: Fix spelling of __PYVENV_LAUNCHER__ variable. - -2.2 ---- - -* Issue #141: Restored fix for allowing setup_requires dependencies to - override installed dependencies during setup. -* Issue #128: Fixed issue where only the first dependency link was honored - in a distribution where multiple dependency links were supplied. - -2.1.2 ------ - -* Issue #144: Read long_description using codecs module to avoid errors - installing on systems where LANG=C. - -2.1.1 ------ - -* Issue #139: Fix regression in re_finder for CVS repos (and maybe Git repos - as well). - -2.1 ---- - -* Issue #129: Suppress inspection of ``*.whl`` files when searching for files - in a zip-imported file. -* Issue #131: Fix RuntimeError when constructing an egg fetcher. - -2.0.2 ------ - -* Fix NameError during installation with Python implementations (e.g. Jython) - not containing parser module. -* Fix NameError in ``sdist:re_finder``. - -2.0.1 ------ - -* Issue #124: Fixed error in list detection in upload_docs. - -2.0 ---- - -* Issue #121: Exempt lib2to3 pickled grammars from DirectorySandbox. -* Issue #41: Dropped support for Python 2.4 and Python 2.5. Clients requiring - setuptools for those versions of Python should use setuptools 1.x. -* Removed ``setuptools.command.easy_install.HAS_USER_SITE``. Clients - expecting this boolean variable should use ``site.ENABLE_USER_SITE`` - instead. -* Removed ``pkg_resources.ImpWrapper``. Clients that expected this class - should use ``pkgutil.ImpImporter`` instead. - -1.4.2 ------ - -* Issue #116: Correct TypeError when reading a local package index on Python - 3. - -1.4.1 ------ - -* Issue #114: Use ``sys.getfilesystemencoding`` for decoding config in - ``bdist_wininst`` distributions. - -* Issue #105 and Issue #113: Establish a more robust technique for - determining the terminal encoding:: - - 1. Try ``getpreferredencoding`` - 2. If that returns US_ASCII or None, try the encoding from - ``getdefaultlocale``. If that encoding was a "fallback" because Python - could not figure it out from the environment or OS, encoding remains - unresolved. - 3. If the encoding is resolved, then make sure Python actually implements - the encoding. - 4. On the event of an error or unknown codec, revert to fallbacks - (UTF-8 on Darwin, ASCII on everything else). - 5. On the encoding is 'mac-roman' on Darwin, use UTF-8 as 'mac-roman' was - a bug on older Python releases. - - On a side note, it would seem that the encoding only matters for when SVN - does not yet support ``--xml`` and when getting repository and svn version - numbers. The ``--xml`` technique should yield UTF-8 according to some - messages on the SVN mailing lists. So if the version numbers are always - 7-bit ASCII clean, it may be best to only support the file parsing methods - for legacy SVN releases and support for SVN without the subprocess command - would simple go away as support for the older SVNs does. - -1.4 ---- - -* Issue #27: ``easy_install`` will now use credentials from .pypirc if - present for connecting to the package index. -* Pull Request #21: Omit unwanted newlines in ``package_index._encode_auth`` - when the username/password pair length indicates wrapping. - -1.3.2 ------ - -* Issue #99: Fix filename encoding issues in SVN support. - -1.3.1 ------ - -* Remove exuberant warning in SVN support when SVN is not used. - -1.3 ---- - -* Address security vulnerability in SSL match_hostname check as reported in - Python #17997. -* Prefer `backports.ssl_match_hostname - `_ for backport - implementation if present. -* Correct NameError in ``ssl_support`` module (``socket.error``). - -1.2 ---- - -* Issue #26: Add support for SVN 1.7. Special thanks to Philip Thiem for the - contribution. -* Issue #93: Wheels are now distributed with every release. Note that as - reported in Issue #108, as of Pip 1.4, scripts aren't installed properly - from wheels. Therefore, if using Pip to install setuptools from a wheel, - the ``easy_install`` command will not be available. -* Setuptools "natural" launcher support, introduced in 1.0, is now officially - supported. - -1.1.7 ------ - -* Fixed behavior of NameError handling in 'script template (dev).py' (script - launcher for 'develop' installs). -* ``ez_setup.py`` now ensures partial downloads are cleaned up following - a failed download. -* Distribute #363 and Issue #55: Skip an sdist test that fails on locales - other than UTF-8. - -1.1.6 ------ - -* Distribute #349: ``sandbox.execfile`` now opens the target file in binary - mode, thus honoring a BOM in the file when compiled. - -1.1.5 ------ - -* Issue #69: Second attempt at fix (logic was reversed). - -1.1.4 ------ - -* Issue #77: Fix error in upload command (Python 2.4). - -1.1.3 ------ - -* Fix NameError in previous patch. - -1.1.2 ------ - -* Issue #69: Correct issue where 404 errors are returned for URLs with - fragments in them (such as #egg=). - -1.1.1 ------ - -* Issue #75: Add ``--insecure`` option to ez_setup.py to accommodate - environments where a trusted SSL connection cannot be validated. -* Issue #76: Fix AttributeError in upload command with Python 2.4. - -1.1 ---- - -* Issue #71 (Distribute #333): EasyInstall now puts less emphasis on the - condition when a host is blocked via ``--allow-hosts``. -* Issue #72: Restored Python 2.4 compatibility in ``ez_setup.py``. - -1.0 ---- - -* Issue #60: On Windows, Setuptools supports deferring to another launcher, - such as Vinay Sajip's `pylauncher `_ - (included with Python 3.3) to launch console and GUI scripts and not install - its own launcher executables. This experimental functionality is currently - only enabled if the ``SETUPTOOLS_LAUNCHER`` environment variable is set to - "natural". In the future, this behavior may become default, but only after - it has matured and seen substantial adoption. The ``SETUPTOOLS_LAUNCHER`` - also accepts "executable" to force the default behavior of creating launcher - executables. -* Issue #63: Bootstrap script (ez_setup.py) now prefers Powershell, curl, or - wget for retrieving the Setuptools tarball for improved security of the - install. The script will still fall back to a simple ``urlopen`` on - platforms that do not have these tools. -* Issue #65: Deprecated the ``Features`` functionality. -* Issue #52: In ``VerifyingHTTPSConn``, handle a tunnelled (proxied) - connection. - -Backward-Incompatible Changes -============================= - -This release includes a couple of backward-incompatible changes, but most if -not all users will find 1.0 a drop-in replacement for 0.9. - -* Issue #50: Normalized API of environment marker support. Specifically, - removed line number and filename from SyntaxErrors when returned from - `pkg_resources.invalid_marker`. Any clients depending on the specific - string representation of exceptions returned by that function may need to - be updated to account for this change. -* Issue #50: SyntaxErrors generated by `pkg_resources.invalid_marker` are - normalized for cross-implementation consistency. -* Removed ``--ignore-conflicts-at-my-risk`` and ``--delete-conflicting`` - options to easy_install. These options have been deprecated since 0.6a11. - -0.9.8 ------ - -* Issue #53: Fix NameErrors in `_vcs_split_rev_from_url`. - -0.9.7 ------ - -* Issue #49: Correct AttributeError on PyPy where a hashlib.HASH object does - not have a `.name` attribute. -* Issue #34: Documentation now refers to bootstrap script in code repository - referenced by bookmark. -* Add underscore-separated keys to environment markers (markerlib). - -0.9.6 ------ - -* Issue #44: Test failure on Python 2.4 when MD5 hash doesn't have a `.name` - attribute. - -0.9.5 ------ - -* Python #17980: Fix security vulnerability in SSL certificate validation. - -0.9.4 ------ - -* Issue #43: Fix issue (introduced in 0.9.1) with version resolution when - upgrading over other releases of Setuptools. - -0.9.3 ------ - -* Issue #42: Fix new ``AttributeError`` introduced in last fix. - -0.9.2 ------ - -* Issue #42: Fix regression where blank checksums would trigger an - ``AttributeError``. - -0.9.1 ------ - -* Distribute #386: Allow other positional and keyword arguments to os.open. -* Corrected dependency on certifi mis-referenced in 0.9. - -0.9 ---- - -* `package_index` now validates hashes other than MD5 in download links. - -0.8 ---- - -* Code base now runs on Python 2.4 - Python 3.3 without Python 2to3 - conversion. - -0.7.8 ------ - -* Distribute #375: Yet another fix for yet another regression. - -0.7.7 ------ - -* Distribute #375: Repair AttributeError created in last release (redo). -* Issue #30: Added test for get_cache_path. - -0.7.6 ------ - -* Distribute #375: Repair AttributeError created in last release. - -0.7.5 ------ - -* Issue #21: Restore Python 2.4 compatibility in ``test_easy_install``. -* Distribute #375: Merged additional warning from Distribute 0.6.46. -* Now honor the environment variable - ``SETUPTOOLS_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT`` in addition to the now - deprecated ``DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT``. - -0.7.4 ------ - -* Issue #20: Fix comparison of parsed SVN version on Python 3. - -0.7.3 ------ - -* Issue #1: Disable installation of Windows-specific files on non-Windows systems. -* Use new sysconfig module with Python 2.7 or >=3.2. - -0.7.2 ------ - -* Issue #14: Use markerlib when the `parser` module is not available. -* Issue #10: ``ez_setup.py`` now uses HTTPS to download setuptools from PyPI. - -0.7.1 ------ - -* Fix NameError (Issue #3) again - broken in bad merge. - -0.7 ---- - -* Merged Setuptools and Distribute. See docs/merge.txt for details. - -Added several features that were slated for setuptools 0.6c12: - -* Index URL now defaults to HTTPS. -* Added experimental environment marker support. Now clients may designate a - PEP-426 environment marker for "extra" dependencies. Setuptools uses this - feature in ``setup.py`` for optional SSL and certificate validation support - on older platforms. Based on Distutils-SIG discussions, the syntax is - somewhat tentative. There should probably be a PEP with a firmer spec before - the feature should be considered suitable for use. -* Added support for SSL certificate validation when installing packages from - an HTTPS service. - -0.7b4 ------ - -* Issue #3: Fixed NameError in SSL support. - -0.6.49 ------- - -* Move warning check in ``get_cache_path`` to follow the directory creation - to avoid errors when the cache path does not yet exist. Fixes the error - reported in Distribute #375. - -0.6.48 ------- - -* Correct AttributeError in ``ResourceManager.get_cache_path`` introduced in - 0.6.46 (redo). - -0.6.47 ------- - -* Correct AttributeError in ``ResourceManager.get_cache_path`` introduced in - 0.6.46. - -0.6.46 ------- - -* Distribute #375: Issue a warning if the PYTHON_EGG_CACHE or otherwise - customized egg cache location specifies a directory that's group- or - world-writable. - -0.6.45 ------- - -* Distribute #379: ``distribute_setup.py`` now traps VersionConflict as well, - restoring ability to upgrade from an older setuptools version. - -0.6.44 ------- - -* ``distribute_setup.py`` has been updated to allow Setuptools 0.7 to - satisfy use_setuptools. - -0.6.43 ------- - -* Distribute #378: Restore support for Python 2.4 Syntax (regression in 0.6.42). - -0.6.42 ------- - -* External links finder no longer yields duplicate links. -* Distribute #337: Moved site.py to setuptools/site-patch.py (graft of very old - patch from setuptools trunk which inspired PR #31). - -0.6.41 ------- - -* Distribute #27: Use public api for loading resources from zip files rather than - the private method `_zip_directory_cache`. -* Added a new function ``easy_install.get_win_launcher`` which may be used by - third-party libraries such as buildout to get a suitable script launcher. - -0.6.40 ------- - -* Distribute #376: brought back cli.exe and gui.exe that were deleted in the - previous release. - -0.6.39 ------- - -* Add support for console launchers on ARM platforms. -* Fix possible issue in GUI launchers where the subsystem was not supplied to - the linker. -* Launcher build script now refactored for robustness. -* Distribute #375: Resources extracted from a zip egg to the file system now also - check the contents of the file against the zip contents during each - invocation of get_resource_filename. - -0.6.38 ------- - -* Distribute #371: The launcher manifest file is now installed properly. - -0.6.37 ------- - -* Distribute #143: Launcher scripts, including easy_install itself, are now - accompanied by a manifest on 32-bit Windows environments to avoid the - Installer Detection Technology and thus undesirable UAC elevation described - in `this Microsoft article - `_. - -0.6.36 ------- - -* Pull Request #35: In Buildout #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. - -* Distribute #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 ------- - -* Distribute #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. -* Distribute #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. -* Distribute #341: Fix a ResourceWarning. - -0.6.32 ------- - -* Fix test suite with Python 2.6. -* Fix some DeprecationWarnings and ResourceWarnings. -* Distribute #335: Backed out `setup_requires` superceding installed requirements - until regression can be addressed. - -0.6.31 ------- - -* Distribute #303: Make sure the manifest only ever contains UTF-8 in Python 3. -* Distribute #329: Properly close files created by tests for compatibility with - Jython. -* Work around Jython #1980 and Jython #1981. -* Distribute #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. -* Distribute #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 ------- - -* Distribute #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. -* Distribute #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. -* Distribute #326: `upload_docs` provided mangled auth credentials under Python 3. -* Distribute #320: Fix check for "createable" in distribute_setup.py. -* Distribute #305: Remove a warning that was triggered during normal operations. -* Distribute #311: Print metadata in UTF-8 independent of platform. -* Distribute #303: Read manifest file with UTF-8 encoding under Python 3. -* Distribute #301: Allow to run tests of namespace packages when using 2to3. -* Distribute #304: Prevent import loop in site.py under Python 3.3. -* Distribute #283: Reenable scanning of `*.pyc` / `*.pyo` files on Python 3.3. -* Distribute #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. -* Distribute #306: Even if 2to3 is used, we build in-place under Python 2. -* Distribute #307: Prints the full path when .svn/entries is broken. -* Distribute #313: Support for sdist subcommands (Python 2.7) -* Distribute #314: test_local_index() would fail an OS X. -* Distribute #310: Non-ascii characters in a namespace __init__.py causes errors. -* Distribute #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 ------- - -* Distribute #294: setup.py can now be invoked from any directory. -* Scripts are now installed honoring the umask. -* Added support for .dist-info directories. -* Distribute #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. -* Distribute #231: Don't fiddle with system python when used with buildout - (bootstrap.py) - -0.6.26 ------- - -* Distribute #183: Symlinked files are now extracted from source distributions. -* Distribute #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 ------- - -* Distribute #258: Workaround a cache issue -* Distribute #260: distribute_setup.py now accepts the --user parameter for - Python 2.6 and later. -* Distribute #262: package_index.open_with_auth no longer throws LookupError - on Python 3. -* Distribute #269: AttributeError when an exception occurs reading Manifest.in - on late releases of Python. -* Distribute #272: Prevent TypeError when namespace package names are unicode - and single-install-externally-managed is used. Also fixes PIP issue - 449. -* Distribute #273: Legacy script launchers now install with Python2/3 support. - -0.6.24 ------- - -* Distribute #249: Added options to exclude 2to3 fixers - -0.6.23 ------- - -* Distribute #244: Fixed a test -* Distribute #243: Fixed a test -* Distribute #239: Fixed a test -* Distribute #240: Fixed a test -* Distribute #241: Fixed a test -* Distribute #237: Fixed a test -* Distribute #238: easy_install now uses 64bit executable wrappers on 64bit Python -* Distribute #208: Fixed parsed_versions, it now honors post-releases as noted in the documentation -* Distribute #207: Windows cli and gui wrappers pass CTRL-C to child python process -* Distribute #227: easy_install now passes its arguments to setup.py bdist_egg -* Distribute #225: Fixed a NameError on Python 2.5, 2.4 - -0.6.21 ------- - -* Distribute #225: FIxed a regression on py2.4 - -0.6.20 ------- - -* Distribute #135: Include url in warning when processing URLs in package_index. -* Distribute #212: Fix issue where easy_instal fails on Python 3 on windows installer. -* Distribute #213: Fix typo in documentation. - -0.6.19 ------- - -* Distribute #206: AttributeError: 'HTTPMessage' object has no attribute 'getheaders' - -0.6.18 ------- - -* Distribute #210: Fixed a regression introduced by Distribute #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. -* Distribute #204: Don't try to import the parent of a namespace package in - declare_namespace -* Distribute #196: Tolerate responses with multiple Content-Length headers -* Distribute #205: Sandboxing doesn't preserve working_set. Leads to setup_requires - problems. - -0.6.16 ------- - -* Builds sdist gztar even on Windows (avoiding Distribute #193). -* Distribute #192: Fixed metadata omitted on Windows when package_dir - specified with forward-slash. -* Distribute #195: Cython build support. -* Distribute #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. -* Distribute #146: Fixed missing DLL files after easy_install of windows exe package. - -0.6.14 ------- - -* Distribute #170: Fixed unittest failure. Thanks to Toshio. -* Distribute #171: Fixed race condition in unittests cause deadlocks in test suite. -* Distribute #143: Fixed a lookup issue with easy_install. - Thanks to David and Zooko. -* Distribute #174: Fixed the edit mode when its used with setuptools itself - -0.6.13 ------- - -* Distribute #160: 2.7 gives ValueError("Invalid IPv6 URL") -* Distribute #150: Fixed using ~/.local even in a --no-site-packages virtualenv -* Distribute #163: scan index links before external links, and don't use the md5 when - comparing two distributions - -0.6.12 ------- - -* Distribute #149: Fixed various failures on 2.3/2.4 - -0.6.11 ------- - -* Found another case of SandboxViolation - fixed -* Distribute #15 and Distribute #48: Introduced a socket timeout of 15 seconds on url openings -* Added indexsidebar.html into MANIFEST.in -* Distribute #108: Fixed TypeError with Python3.1 -* Distribute #121: Fixed --help install command trying to actually install. -* Distribute #112: Added an os.makedirs so that Tarek's solution will work. -* Distribute #133: Added --no-find-links to easy_install -* Added easy_install --user -* Distribute #100: Fixed develop --user not taking '.' in PYTHONPATH into account -* Distribute #134: removed spurious UserWarnings. Patch by VanLindberg -* Distribute #138: cant_write_to_target error when setup_requires is used. -* Distribute #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 ------ - -* Distribute #90: unknown setuptools version can be added in the working set -* Distribute #87: setupt.py doesn't try to convert distribute_setup.py anymore - Initial Patch by arfrever. -* Distribute #89: added a side bar with a download link to the doc. -* Distribute #86: fixed missing sentence in pkg_resources doc. -* Added a nicer error message when a DistributionNotFound is raised. -* Distribute #80: test_develop now works with Python 3.1 -* Distribute #93: upload_docs now works if there is an empty sub-directory. -* Distribute #70: exec bit on non-exec files -* Distribute #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). -* Distribute #101: Allowing ``os.devnull`` in Sandbox -* Distribute #92: Fixed the "no eggs" found error with MacPort - (platform.mac_ver() fails) -* Distribute #103: test_get_script_header_jython_workaround not run - anymore under py3 with C or POSIX local. Contributed by Arfrever. -* Distribute #104: remvoved the assertion when the installation fails, - with a nicer message for the end user. -* Distribute #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 ------ - -* Distribute #58: Added --user support to the develop command -* Distribute #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. -* Distribute #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. -* Distribute #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 -* Distribute #74: no_fake should be True by default. -* Distribute #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 ------ - -* Distribute #65: cli.exe and gui.exe are now generated at build time, - depending on the platform in use. - -* Distribute #67: Fixed doc typo (PEP 381/PEP 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 Distribute #52. - -* Added an upload_docs command to easily upload project documentation to - PyPI's https://pythonhosted.org. This close issue Distribute #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 Old Setuptools #39. - -* Added option to run 2to3 automatically when installing on Python 3. - This closes issue Distribute #31. - -* Fixed invalid usage of requirement.parse, that broke develop -d. - This closes Old Setuptools #44. - -* Fixed script launcher for 64-bit Windows. - This closes Old Setuptools #2. - -* KeyError when compiling extensions. - This closes Old Setuptools #41. - -bootstrapping -============= - -* Fixed bootstrap not working on Windows. This closes issue Distribute #49. - -* Fixed 2.6 dependencies. This closes issue Distribute #50. - -* Make sure setuptools is patched when running through easy_install - This closes Old Setuptools #40. - -0.6.1 ------ - -setuptools -========== - -* package_index.urlopen now catches BadStatusLine and malformed url errors. - This closes Distribute #16 and Distribute #18. - -* zip_ok is now False by default. This closes Old Setuptools #33. - -* Fixed invalid URL error catching. Old Setuptools #20. - -* Fixed invalid bootstraping with easy_install installation (Distribute #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 Distribute #10. - -0.6 ---- - -setuptools -========== - -* Packages required at build time where not fully present at install time. - This closes Distribute #12. - -* Protected against failures in tarfile extraction. This closes Distribute #10. - -* Made Jython api_tests.txt doctest compatible. This closes Distribute #7. - -* sandbox.py replaced builtin type file with builtin function open. This - closes Distribute #6. - -* Immediately close all file handles. This closes Distribute #3. - -* Added compatibility with Subversion 1.6. This references Distribute #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 Distribute #13. - -* Allow to find_on_path on systems with tight permissions to fail gracefully. - This closes Distribute #9. - -* Corrected inconsistency between documentation and code of add_entry. - This closes Distribute #8. - -* Immediately close all file handles. This closes Distribute #3. - -easy_install -============ - -* Immediately close all file handles. This closes Distribute #3. - -0.6c9 ------ - - * Fixed a missing files problem when using Windows source distributions on - non-Windows platforms, due to distutils not handling manifest file line - endings correctly. - - * Updated Pyrex support to work with Pyrex 0.9.6 and higher. - - * Minor changes for Jython compatibility, including skipping tests that can't - work on Jython. - - * Fixed not installing eggs in ``install_requires`` if they were also used for - ``setup_requires`` or ``tests_require``. - - * Fixed not fetching eggs in ``install_requires`` when running tests. - - * Allow ``ez_setup.use_setuptools()`` to upgrade existing setuptools - installations when called from a standalone ``setup.py``. - - * Added a warning if a namespace package is declared, but its parent package - is not also declared as a namespace. - - * Support Subversion 1.5 - - * Removed use of deprecated ``md5`` module if ``hashlib`` is available - - * Fixed ``bdist_wininst upload`` trying to upload the ``.exe`` twice - - * Fixed ``bdist_egg`` putting a ``native_libs.txt`` in the source package's - ``.egg-info``, when it should only be in the built egg's ``EGG-INFO``. - - * Ensure that _full_name is set on all shared libs before extensions are - checked for shared lib usage. (Fixes a bug in the experimental shared - library build support.) - - * Fix to allow unpacked eggs containing native libraries to fail more - gracefully under Google App Engine (with an ``ImportError`` loading the - C-based module, instead of getting a ``NameError``). - -0.6c7 ------ - - * Fixed ``distutils.filelist.findall()`` crashing on broken symlinks, and - ``egg_info`` command failing on new, uncommitted SVN directories. - - * Fix import problems with nested namespace packages installed via - ``--root`` or ``--single-version-externally-managed``, due to the - parent package not having the child package as an attribute. - -0.6c6 ------ - - * Added ``--egg-path`` option to ``develop`` command, allowing you to force - ``.egg-link`` files to use relative paths (allowing them to be shared across - platforms on a networked drive). - - * Fix not building binary RPMs correctly. - - * Fix "eggsecutables" (such as setuptools' own egg) only being runnable with - bash-compatible shells. - - * Fix ``#!`` parsing problems in Windows ``.exe`` script wrappers, when there - was whitespace inside a quoted argument or at the end of the ``#!`` line - (a regression introduced in 0.6c4). - - * Fix ``test`` command possibly failing if an older version of the project - being tested was installed on ``sys.path`` ahead of the test source - directory. - - * Fix ``find_packages()`` treating ``ez_setup`` and directories with ``.`` in - their names as packages. - -0.6c5 ------ - - * Fix uploaded ``bdist_rpm`` packages being described as ``bdist_egg`` - packages under Python versions less than 2.5. - - * Fix uploaded ``bdist_wininst`` packages being described as suitable for - "any" version by Python 2.5, even if a ``--target-version`` was specified. - -0.6c4 ------ - - * Overhauled Windows script wrapping to support ``bdist_wininst`` better. - Scripts installed with ``bdist_wininst`` will always use ``#!python.exe`` or - ``#!pythonw.exe`` as the executable name (even when built on non-Windows - platforms!), and the wrappers will look for the executable in the script's - parent directory (which should find the right version of Python). - - * Fix ``upload`` command not uploading files built by ``bdist_rpm`` or - ``bdist_wininst`` under Python 2.3 and 2.4. - - * Add support for "eggsecutable" headers: a ``#!/bin/sh`` script that is - prepended to an ``.egg`` file to allow it to be run as a script on Unix-ish - platforms. (This is mainly so that setuptools itself can have a single-file - installer on Unix, without doing multiple downloads, dealing with firewalls, - etc.) - - * Fix problem with empty revision numbers in Subversion 1.4 ``entries`` files - - * Use cross-platform relative paths in ``easy-install.pth`` when doing - ``develop`` and the source directory is a subdirectory of the installation - target directory. - - * Fix a problem installing eggs with a system packaging tool if the project - contained an implicit namespace package; for example if the ``setup()`` - listed a namespace package ``foo.bar`` without explicitly listing ``foo`` - as a namespace package. - -0.6c3 ------ - - * Fixed breakages caused by Subversion 1.4's new "working copy" format - -0.6c2 ------ - - * The ``ez_setup`` module displays the conflicting version of setuptools (and - its installation location) when a script requests a version that's not - available. - - * Running ``setup.py develop`` on a setuptools-using project will now install - setuptools if needed, instead of only downloading the egg. - -0.6c1 ------ - - * Fixed ``AttributeError`` when trying to download a ``setup_requires`` - dependency when a distribution lacks a ``dependency_links`` setting. - - * Made ``zip-safe`` and ``not-zip-safe`` flag files contain a single byte, so - as to play better with packaging tools that complain about zero-length - files. - - * Made ``setup.py develop`` respect the ``--no-deps`` option, which it - previously was ignoring. - - * Support ``extra_path`` option to ``setup()`` when ``install`` is run in - backward-compatibility mode. - - * Source distributions now always include a ``setup.cfg`` file that explicitly - sets ``egg_info`` options such that they produce an identical version number - to the source distribution's version number. (Previously, the default - version number could be different due to the use of ``--tag-date``, or if - the version was overridden on the command line that built the source - distribution.) - -0.6b4 ------ - - * Fix ``register`` not obeying name/version set by ``egg_info`` command, if - ``egg_info`` wasn't explicitly run first on the same command line. - - * Added ``--no-date`` and ``--no-svn-revision`` options to ``egg_info`` - command, to allow suppressing tags configured in ``setup.cfg``. - - * Fixed redundant warnings about missing ``README`` file(s); it should now - appear only if you are actually a source distribution. - -0.6b3 ------ - - * Fix ``bdist_egg`` not including files in subdirectories of ``.egg-info``. - - * Allow ``.py`` files found by the ``include_package_data`` option to be - automatically included. Remove duplicate data file matches if both - ``include_package_data`` and ``package_data`` are used to refer to the same - files. - -0.6b1 ------ - - * Strip ``module`` from the end of compiled extension modules when computing - the name of a ``.py`` loader/wrapper. (Python's import machinery ignores - this suffix when searching for an extension module.) - -0.6a11 ------- - - * Added ``test_loader`` keyword to support custom test loaders - - * Added ``setuptools.file_finders`` entry point group to allow implementing - revision control plugins. - - * Added ``--identity`` option to ``upload`` command. - - * Added ``dependency_links`` to allow specifying URLs for ``--find-links``. - - * Enhanced test loader to scan packages as well as modules, and call - ``additional_tests()`` if present to get non-unittest tests. - - * Support namespace packages in conjunction with system packagers, by omitting - the installation of any ``__init__.py`` files for namespace packages, and - adding a special ``.pth`` file to create a working package in - ``sys.modules``. - - * Made ``--single-version-externally-managed`` automatic when ``--root`` is - used, so that most system packagers won't require special support for - setuptools. - - * Fixed ``setup_requires``, ``tests_require``, etc. not using ``setup.cfg`` or - other configuration files for their option defaults when installing, and - also made the install use ``--multi-version`` mode so that the project - directory doesn't need to support .pth files. - - * ``MANIFEST.in`` is now forcibly closed when any errors occur while reading - it. Previously, the file could be left open and the actual error would be - masked by problems trying to remove the open file on Windows systems. - -0.6a10 ------- - - * Fixed the ``develop`` command ignoring ``--find-links``. - -0.6a9 ------ - - * The ``sdist`` command no longer uses the traditional ``MANIFEST`` file to - create source distributions. ``MANIFEST.in`` is still read and processed, - as are the standard defaults and pruning. But the manifest is built inside - the project's ``.egg-info`` directory as ``SOURCES.txt``, and it is rebuilt - every time the ``egg_info`` command is run. - - * Added the ``include_package_data`` keyword to ``setup()``, allowing you to - automatically include any package data listed in revision control or - ``MANIFEST.in`` - - * Added the ``exclude_package_data`` keyword to ``setup()``, allowing you to - trim back files included via the ``package_data`` and - ``include_package_data`` options. - - * Fixed ``--tag-svn-revision`` not working when run from a source - distribution. - - * Added warning for namespace packages with missing ``declare_namespace()`` - - * Added ``tests_require`` keyword to ``setup()``, so that e.g. packages - requiring ``nose`` to run unit tests can make this dependency optional - unless the ``test`` command is run. - - * Made all commands that use ``easy_install`` respect its configuration - options, as this was causing some problems with ``setup.py install``. - - * Added an ``unpack_directory()`` driver to ``setuptools.archive_util``, so - that you can process a directory tree through a processing filter as if it - were a zipfile or tarfile. - - * Added an internal ``install_egg_info`` command to use as part of old-style - ``install`` operations, that installs an ``.egg-info`` directory with the - package. - - * Added a ``--single-version-externally-managed`` option to the ``install`` - command so that you can more easily wrap a "flat" egg in a system package. - - * Enhanced ``bdist_rpm`` so that it installs single-version eggs that - don't rely on a ``.pth`` file. The ``--no-egg`` option has been removed, - since all RPMs are now built in a more backwards-compatible format. - - * Support full roundtrip translation of eggs to and from ``bdist_wininst`` - format. Running ``bdist_wininst`` on a setuptools-based package wraps the - egg in an .exe that will safely install it as an egg (i.e., with metadata - and entry-point wrapper scripts), and ``easy_install`` can turn the .exe - back into an ``.egg`` file or directory and install it as such. - - -0.6a8 ------ - - * Fixed some problems building extensions when Pyrex was installed, especially - with Python 2.4 and/or packages using SWIG. - - * Made ``develop`` command accept all the same options as ``easy_install``, - and use the ``easy_install`` command's configuration settings as defaults. - - * Made ``egg_info --tag-svn-revision`` fall back to extracting the revision - number from ``PKG-INFO`` in case it is being run on a source distribution of - a snapshot taken from a Subversion-based project. - - * Automatically detect ``.dll``, ``.so`` and ``.dylib`` files that are being - installed as data, adding them to ``native_libs.txt`` automatically. - - * Fixed some problems with fresh checkouts of projects that don't include - ``.egg-info/PKG-INFO`` under revision control and put the project's source - code directly in the project directory. If such a package had any - requirements that get processed before the ``egg_info`` command can be run, - the setup scripts would fail with a "Missing 'Version:' header and/or - PKG-INFO file" error, because the egg runtime interpreted the unbuilt - metadata in a directory on ``sys.path`` (i.e. the current directory) as - being a corrupted egg. Setuptools now monkeypatches the distribution - metadata cache to pretend that the egg has valid version information, until - it has a chance to make it actually be so (via the ``egg_info`` command). - -0.6a5 ------ - - * Fixed missing gui/cli .exe files in distribution. Fixed bugs in tests. - -0.6a3 ------ - - * Added ``gui_scripts`` entry point group to allow installing GUI scripts - on Windows and other platforms. (The special handling is only for Windows; - other platforms are treated the same as for ``console_scripts``.) - -0.6a2 ------ - - * Added ``console_scripts`` entry point group to allow installing scripts - without the need to create separate script files. On Windows, console - scripts get an ``.exe`` wrapper so you can just type their name. On other - platforms, the scripts are written without a file extension. - -0.6a1 ------ - - * Added support for building "old-style" RPMs that don't install an egg for - the target package, using a ``--no-egg`` option. - - * The ``build_ext`` command now works better when using the ``--inplace`` - option and multiple Python versions. It now makes sure that all extensions - match the current Python version, even if newer copies were built for a - different Python version. - - * The ``upload`` command no longer attaches an extra ``.zip`` when uploading - eggs, as PyPI now supports egg uploads without trickery. - - * The ``ez_setup`` script/module now displays a warning before downloading - the setuptools egg, and attempts to check the downloaded egg against an - internal MD5 checksum table. - - * Fixed the ``--tag-svn-revision`` option of ``egg_info`` not finding the - latest revision number; it was using the revision number of the directory - containing ``setup.py``, not the highest revision number in the project. - - * Added ``eager_resources`` setup argument - - * The ``sdist`` command now recognizes Subversion "deleted file" entries and - does not include them in source distributions. - - * ``setuptools`` now embeds itself more thoroughly into the distutils, so that - other distutils extensions (e.g. py2exe, py2app) will subclass setuptools' - versions of things, rather than the native distutils ones. - - * Added ``entry_points`` and ``setup_requires`` arguments to ``setup()``; - ``setup_requires`` allows you to automatically find and download packages - that are needed in order to *build* your project (as opposed to running it). - - * ``setuptools`` now finds its commands, ``setup()`` argument validators, and - metadata writers using entry points, so that they can be extended by - third-party packages. See `Creating distutils Extensions - `_ - for more details. - - * The vestigial ``depends`` command has been removed. It was never finished - or documented, and never would have worked without EasyInstall - which it - pre-dated and was never compatible with. - -0.5a12 ------- - - * The zip-safety scanner now checks for modules that might be used with - ``python -m``, and marks them as unsafe for zipping, since Python 2.4 can't - handle ``-m`` on zipped modules. - -0.5a11 ------- - - * Fix breakage of the "develop" command that was caused by the addition of - ``--always-unzip`` to the ``easy_install`` command. - -0.5a9 ------ - - * Include ``svn:externals`` directories in source distributions as well as - normal subversion-controlled files and directories. - - * Added ``exclude=patternlist`` option to ``setuptools.find_packages()`` - - * Changed --tag-svn-revision to include an "r" in front of the revision number - for better readability. - - * Added ability to build eggs without including source files (except for any - scripts, of course), using the ``--exclude-source-files`` option to - ``bdist_egg``. - - * ``setup.py install`` now automatically detects when an "unmanaged" package - or module is going to be on ``sys.path`` ahead of a package being installed, - thereby preventing the newer version from being imported. If this occurs, - a warning message is output to ``sys.stderr``, but installation proceeds - anyway. The warning message informs the user what files or directories - need deleting, and advises them they can also use EasyInstall (with the - ``--delete-conflicting`` option) to do it automatically. - - * The ``egg_info`` command now adds a ``top_level.txt`` file to the metadata - directory that lists all top-level modules and packages in the distribution. - This is used by the ``easy_install`` command to find possibly-conflicting - "unmanaged" packages when installing the distribution. - - * Added ``zip_safe`` and ``namespace_packages`` arguments to ``setup()``. - Added package analysis to determine zip-safety if the ``zip_safe`` flag - is not given, and advise the author regarding what code might need changing. - - * Fixed the swapped ``-d`` and ``-b`` options of ``bdist_egg``. - -0.5a8 ------ - - * The "egg_info" command now always sets the distribution metadata to "safe" - forms of the distribution name and version, so that distribution files will - be generated with parseable names (i.e., ones that don't include '-' in the - name or version). Also, this means that if you use the various ``--tag`` - options of "egg_info", any distributions generated will use the tags in the - version, not just egg distributions. - - * Added support for defining command aliases in distutils configuration files, - under the "[aliases]" section. To prevent recursion and to allow aliases to - call the command of the same name, a given alias can be expanded only once - per command-line invocation. You can define new aliases with the "alias" - command, either for the local, global, or per-user configuration. - - * Added "rotate" command to delete old distribution files, given a set of - patterns to match and the number of files to keep. (Keeps the most - recently-modified distribution files matching each pattern.) - - * Added "saveopts" command that saves all command-line options for the current - invocation to the local, global, or per-user configuration file. Useful for - setting defaults without having to hand-edit a configuration file. - - * Added a "setopt" command that sets a single option in a specified distutils - configuration file. - -0.5a7 ------ - - * Added "upload" support for egg and source distributions, including a bug - fix for "upload" and a temporary workaround for lack of .egg support in - PyPI. - -0.5a6 ------ - - * Beefed up the "sdist" command so that if you don't have a MANIFEST.in, it - will include all files under revision control (CVS or Subversion) in the - current directory, and it will regenerate the list every time you create a - source distribution, not just when you tell it to. This should make the - default "do what you mean" more often than the distutils' default behavior - did, while still retaining the old behavior in the presence of MANIFEST.in. - - * Fixed the "develop" command always updating .pth files, even if you - specified ``-n`` or ``--dry-run``. - - * Slightly changed the format of the generated version when you use - ``--tag-build`` on the "egg_info" command, so that you can make tagged - revisions compare *lower* than the version specified in setup.py (e.g. by - using ``--tag-build=dev``). - -0.5a5 ------ - - * Added ``develop`` command to ``setuptools``-based packages. This command - installs an ``.egg-link`` pointing to the package's source directory, and - script wrappers that ``execfile()`` the source versions of the package's - scripts. This lets you put your development checkout(s) on sys.path without - having to actually install them. (To uninstall the link, use - use ``setup.py develop --uninstall``.) - - * Added ``egg_info`` command to ``setuptools``-based packages. This command - just creates or updates the "projectname.egg-info" directory, without - building an egg. (It's used by the ``bdist_egg``, ``test``, and ``develop`` - commands.) - - * Enhanced the ``test`` command so that it doesn't install the package, but - instead builds any C extensions in-place, updates the ``.egg-info`` - metadata, adds the source directory to ``sys.path``, and runs the tests - directly on the source. This avoids an "unmanaged" installation of the - package to ``site-packages`` or elsewhere. - - * Made ``easy_install`` a standard ``setuptools`` command, moving it from - the ``easy_install`` module to ``setuptools.command.easy_install``. Note - that if you were importing or extending it, you must now change your imports - accordingly. ``easy_install.py`` is still installed as a script, but not as - a module. - -0.5a4 ------ - - * Setup scripts using setuptools can now list their dependencies directly in - the setup.py file, without having to manually create a ``depends.txt`` file. - The ``install_requires`` and ``extras_require`` arguments to ``setup()`` - are used to create a dependencies file automatically. If you are manually - creating ``depends.txt`` right now, please switch to using these setup - arguments as soon as practical, because ``depends.txt`` support will be - removed in the 0.6 release cycle. For documentation on the new arguments, - see the ``setuptools.dist.Distribution`` class. - - * Setup scripts using setuptools now always install using ``easy_install`` - internally, for ease of uninstallation and upgrading. - -0.5a1 ------ - - * Added support for "self-installation" bootstrapping. Packages can now - include ``ez_setup.py`` in their source distribution, and add the following - to their ``setup.py``, in order to automatically bootstrap installation of - setuptools as part of their setup process:: - - from ez_setup import use_setuptools - use_setuptools() - - from setuptools import setup - # etc... - -0.4a2 ------ - - * Added ``ez_setup.py`` installer/bootstrap script to make initial setuptools - installation easier, and to allow distributions using setuptools to avoid - having to include setuptools in their source distribution. - - * All downloads are now managed by the ``PackageIndex`` class (which is now - subclassable and replaceable), so that embedders can more easily override - download logic, give download progress reports, etc. The class has also - been moved to the new ``setuptools.package_index`` module. - - * The ``Installer`` class no longer handles downloading, manages a temporary - directory, or tracks the ``zip_ok`` option. Downloading is now handled - by ``PackageIndex``, and ``Installer`` has become an ``easy_install`` - command class based on ``setuptools.Command``. - - * There is a new ``setuptools.sandbox.run_setup()`` API to invoke a setup - script in a directory sandbox, and a new ``setuptools.archive_util`` module - with an ``unpack_archive()`` API. These were split out of EasyInstall to - allow reuse by other tools and applications. - - * ``setuptools.Command`` now supports reinitializing commands using keyword - arguments to set/reset options. Also, ``Command`` subclasses can now set - their ``command_consumes_arguments`` attribute to ``True`` in order to - receive an ``args`` option containing the rest of the command line. - -0.3a2 ------ - - * Added new options to ``bdist_egg`` to allow tagging the egg's version number - with a subversion revision number, the current date, or an explicit tag - value. Run ``setup.py bdist_egg --help`` to get more information. - - * Misc. bug fixes - -0.3a1 ------ - - * Initial release. - diff -Nru python-setuptools-20.3.1/debian/changelog python-setuptools-20.7.0/debian/changelog --- python-setuptools-20.3.1/debian/changelog 2016-03-18 16:09:18.000000000 +0000 +++ python-setuptools-20.7.0/debian/changelog 2016-04-14 20:07:00.000000000 +0000 @@ -1,3 +1,10 @@ +python-setuptools (20.7.0-1) unstable; urgency=medium + + * New upstream version. + * Re-add the changes file, missing upstream. + + -- Matthias Klose Thu, 14 Apr 2016 21:52:22 +0200 + python-setuptools (20.3.1-1) unstable; urgency=medium * New upstream version. diff -Nru python-setuptools-20.3.1/debian/patches/fix-changes-link.diff python-setuptools-20.7.0/debian/patches/fix-changes-link.diff --- python-setuptools-20.3.1/debian/patches/fix-changes-link.diff 2015-05-19 13:08:46.000000000 +0000 +++ python-setuptools-20.7.0/debian/patches/fix-changes-link.diff 2016-04-14 19:55:51.000000000 +0000 @@ -6,5 +6,5 @@ History ******* --.. include:: ../CHANGES (links).txt +-.. include:: ../CHANGES (links).rst +.. include:: ../CHANGES.txt diff -Nru python-setuptools-20.3.1/debian/patches/fix-python3.5.diff python-setuptools-20.7.0/debian/patches/fix-python3.5.diff --- python-setuptools-20.3.1/debian/patches/fix-python3.5.diff 2016-02-11 07:10:14.000000000 +0000 +++ python-setuptools-20.7.0/debian/patches/fix-python3.5.diff 2016-04-14 19:54:33.000000000 +0000 @@ -2,7 +2,7 @@ =================================================================== --- a/setup.py +++ b/setup.py -@@ -148,7 +148,6 @@ setup_params = dict( +@@ -145,7 +145,6 @@ setup_params = dict( Topic :: Utilities """).strip().splitlines(), extras_require={ diff -Nru python-setuptools-20.3.1/debian/patches/install-layout.diff python-setuptools-20.7.0/debian/patches/install-layout.diff --- python-setuptools-20.3.1/debian/patches/install-layout.diff 2016-02-11 07:10:03.000000000 +0000 +++ python-setuptools-20.7.0/debian/patches/install-layout.diff 2016-04-14 19:54:26.000000000 +0000 @@ -58,7 +58,7 @@ # default --record from the install command self.set_undefined_options('install', ('record', 'record')) # Should this be moved to the if statement below? It's not used -@@ -1277,11 +1297,28 @@ class easy_install(Command): +@@ -1270,11 +1290,28 @@ class easy_install(Command): self.debug_print("os.makedirs('%s', 0o700)" % path) os.makedirs(path, 0o700) @@ -87,7 +87,7 @@ ) DEFAULT_SCHEME = dict( -@@ -1292,11 +1329,18 @@ class easy_install(Command): +@@ -1285,11 +1322,18 @@ class easy_install(Command): def _expand(self, *attrs): config_vars = self.get_finalized_command('install').config_vars @@ -108,7 +108,7 @@ for attr, val in scheme.items(): if getattr(self, attr, None) is None: setattr(self, attr, val) -@@ -1330,9 +1374,14 @@ def get_site_dirs(): +@@ -1323,9 +1367,14 @@ def get_site_dirs(): "site-packages"), os.path.join(prefix, "lib", "site-python")]) else: diff -Nru python-setuptools-20.3.1/debian/patches/re-add-changes-file.diff python-setuptools-20.7.0/debian/patches/re-add-changes-file.diff --- python-setuptools-20.3.1/debian/patches/re-add-changes-file.diff 1970-01-01 00:00:00.000000000 +0000 +++ python-setuptools-20.7.0/debian/patches/re-add-changes-file.diff 2016-04-14 20:06:16.000000000 +0000 @@ -0,0 +1,2503 @@ +--- /dev/null ++++ python-setuptools-20.7.0/CHANGES.rst +@@ -0,0 +1,2500 @@ ++======= ++CHANGES ++======= ++ ++v20.7.0 ++------- ++ ++* Refactored extra enviroment marker processing ++ in WorkingSet. ++* Issue #533: Fixed intermittent test failures. ++* Issue #536: In msvc9_support, trap additional exceptions ++ that might occur when importing ++ ``distutils.msvc9compiler`` in mingw environments. ++* Issue #537: Provide better context when package ++ metadata fails to decode in UTF-8. ++ ++v20.6.8 ++------- ++ ++* Issue #523: Restored support for environment markers, ++ now honoring 'extra' environment markers. ++ ++v20.6.7 ++------- ++ ++* Issue #523: Disabled support for environment markers ++ introduced in v20.5. ++ ++v20.6.6 ++------- ++ ++* Issue #503: Restore support for PEP 345 environment ++ markers by updating to Packaging 16.6. ++ ++v20.6.0 ++------- ++ ++* New release process that relies on ++ `bumpversion `_ ++ and Travis CI for continuous deployment. ++* Project versioning semantics now follow ++ `semver `_ precisely. ++ The 'v' prefix on version numbers now also allows ++ version numbers to be referenced in the changelog, ++ e.g. https://pythonhosted.org/setuptools/history.html#v20-6-0. ++ ++20.5 ++---- ++ ++* BB Pull Request #185: Add support for environment markers ++ in requirements in install_requires, setup_requires, ++ tests_require as well as adding a test for the existing ++ extra_requires machinery. ++ ++20.4 ++---- ++ ++* Issue #422: Moved hosting to ++ `Github `_ ++ from `Bitbucket `_. ++ Issues have been migrated, though all issues and comments ++ are attributed to bb-migration. So if you have a particular ++ issue or issues to which you've been subscribed, you will ++ want to "watch" the equivalent issue in Github. ++ The Bitbucket project will be retained for the indefinite ++ future, but Github now hosts the canonical project repository. ++ ++20.3.1 ++------ ++ ++* Issue #519: Remove import hook when reloading the ++ ``pkg_resources`` module. ++* BB Pull Request #184: Update documentation in ``pkg_resources`` ++ around new ``Requirement`` implementation. ++ ++20.3 ++---- ++ ++* BB Pull Request #179: ``pkg_resources.Requirement`` objects are ++ now a subclass of ``packaging.requirements.Requirement``, ++ allowing any environment markers and url (if any) to be ++ affiliated with the requirement ++* BB Pull Request #179: Restore use of RequirementParseError ++ exception unintentionally dropped in 20.2. ++ ++20.2.2 ++------ ++ ++* Issue #502: Correct regression in parsing of multiple ++ version specifiers separated by commas and spaces. ++ ++20.2.1 ++------ ++ ++* Issue #499: Restore compatiblity for legacy versions ++ by bumping to packaging 16.4. ++ ++20.2 ++---- ++ ++* Changelog now includes release dates and links to PEPs. ++* BB Pull Request #173: Replace dual PEP 345 _markerlib implementation ++ and PEP 426 implementation of environment marker support from ++ packaging 16.1 and PEP 508. Fixes Issue #122. ++ See also BB Pull Request #175, BB Pull Request #168, and ++ BB Pull Request #164. Additionally: ++ ++ - ``Requirement.parse`` no longer retains the order of extras. ++ - ``parse_requirements`` now requires that all versions be ++ PEP-440 compliant, as revealed in #499. Packages released ++ with invalid local versions should be re-released using ++ the proper local version syntax, e.g. ``mypkg-1.0+myorg.1``. ++ ++20.1.1 ++------ ++ ++* Update ``upload_docs`` command to also honor keyring ++ for password resolution. ++ ++20.1 ++---- ++ ++* Added support for using passwords from keyring in the upload ++ command. See `the upload docs ++ `_ ++ for details. ++ ++20.0 ++---- ++ ++* Issue #118: Once again omit the package metadata (egg-info) ++ from the list of outputs in ``--record``. This version of setuptools ++ can no longer be used to upgrade pip earlier than 6.0. ++ ++19.7 ++---- ++ ++* `Off-project PR `_: ++ For FreeBSD, also honor root certificates from ca_root_nss. ++ ++19.6.2 ++------ ++ ++* Issue #491: Correct regression incurred in 19.4 where ++ a double-namespace package installed using pip would ++ cause a TypeError. ++ ++19.6.1 ++------ ++ ++* Restore compatibility for PyPy 3 compatibility lost in ++ 19.4.1 addressing Issue #487. ++* ``setuptools.launch`` shim now loads scripts in a new ++ namespace, avoiding getting relative imports from ++ the setuptools package on Python 2. ++ ++19.6 ++---- ++ ++* Added a new entry script ``setuptools.launch``, ++ implementing the shim found in ++ ``pip.util.setuptools_build``. Use this command to launch ++ distutils-only packages under setuptools in the same way that ++ pip does, causing the setuptools monkeypatching of distutils ++ to be invoked prior to invoking a script. Useful for debugging ++ or otherwise installing a distutils-only package under ++ setuptools when pip isn't available or otherwise does not ++ expose the desired functionality. For example:: ++ ++ $ python -m setuptools.launch setup.py develop ++ ++* Issue #488: Fix dual manifestation of Extension class in ++ extension packages installed as dependencies when Cython ++ is present. ++ ++19.5 ++---- ++ ++* Issue #486: Correct TypeError when getfilesystemencoding ++ returns None. ++* Issue #139: Clarified the license as MIT. ++* BB Pull Request #169: Removed special handling of command ++ spec in scripts for Jython. ++ ++19.4.1 ++------ ++ ++* Issue #487: Use direct invocation of ``importlib.machinery`` ++ in ``pkg_resources`` to avoid missing detection on relevant ++ platforms. ++ ++19.4 ++---- ++ ++* Issue #341: Correct error in path handling of package data ++ files in ``build_py`` command when package is empty. ++* Distribute #323, Issue #141, Issue #207, and ++ BB Pull Request #167: Another implementation of ++ ``pkg_resources.WorkingSet`` and ``pkg_resources.Distribution`` ++ that supports replacing an extant package with a new one, ++ allowing for setup_requires dependencies to supersede installed ++ packages for the session. ++ ++19.3 ++---- ++ ++* Issue #229: Implement new technique for readily incorporating ++ dependencies conditionally from vendored copies or primary ++ locations. Adds a new dependency on six. ++ ++19.2 ++---- ++ ++* BB Pull Request #163: Add get_command_list method to Distribution. ++* BB Pull Request #162: Add missing whitespace to multiline string ++ literals. ++ ++19.1.1 ++------ ++ ++* Issue #476: Cast version to string (using default encoding) ++ to avoid creating Unicode types on Python 2 clients. ++* Issue #477: In Powershell downloader, use explicit rendering ++ of strings, rather than rely on ``repr``, which can be ++ incorrect (especially on Python 2). ++ ++19.1 ++---- ++ ++* Issue #215: The bootstrap script ``ez_setup.py`` now ++ automatically detects ++ the latest version of setuptools (using PyPI JSON API) rather ++ than hard-coding a particular value. ++* Issue #475: Fix incorrect usage in _translate_metadata2. ++ ++19.0 ++---- ++ ++* Issue #442: Use RawConfigParser for parsing .pypirc file. ++ Interpolated values are no longer honored in .pypirc files. ++ ++18.8.1 ++------ ++ ++* Issue #440: Prevent infinite recursion when a SandboxViolation ++ or other UnpickleableException occurs in a sandbox context ++ with setuptools hidden. Fixes regression introduced in Setuptools ++ 12.0. ++ ++18.8 ++---- ++ ++* Deprecated ``egg_info.get_pkg_info_revision``. ++* Issue #471: Don't rely on repr for an HTML attribute value in ++ package_index. ++* Issue #419: Avoid errors in FileMetadata when the metadata directory ++ is broken. ++* Issue #472: Remove deprecated use of 'U' in mode parameter ++ when opening files. ++ ++18.7.1 ++------ ++ ++* Issue #469: Refactored logic for Issue #419 fix to re-use metadata ++ loading from Provider. ++ ++18.7 ++---- ++ ++* Update dependency on certify. ++* BB Pull Request #160: Improve detection of gui script in ++ ``easy_install._adjust_header``. ++* Made ``test.test_args`` a non-data property; alternate fix ++ for the issue reported in BB Pull Request #155. ++* Issue #453: In ``ez_setup`` bootstrap module, unload all ++ ``pkg_resources`` modules following download. ++* BB Pull Request #158: Honor PEP-488 when excluding ++ files for namespace packages. ++* Issue #419 and BB Pull Request #144: Add experimental support for ++ reading the version info from distutils-installed metadata rather ++ than using the version in the filename. ++ ++18.6.1 ++------ ++ ++* Issue #464: Correct regression in invocation of superclass on old-style ++ class on Python 2. ++ ++18.6 ++---- ++ ++* Issue #439: When installing entry_point scripts under development, ++ omit the version number of the package, allowing any version of the ++ package to be used. ++ ++18.5 ++---- ++ ++* In preparation for dropping support for Python 3.2, a warning is ++ now logged when pkg_resources is imported on Python 3.2 or earlier ++ Python 3 versions. ++* `Add support for python_platform_implementation environment marker ++ `_. ++* `Fix dictionary mutation during iteration ++ `_. ++ ++18.4 ++---- ++ ++* Issue #446: Test command now always invokes unittest, even ++ if no test suite is supplied. ++ ++18.3.2 ++------ ++ ++* Correct another regression in setuptools.findall ++ where the fix for Python #12885 was lost. ++ ++18.3.1 ++------ ++ ++* Issue #425: Correct regression in setuptools.findall. ++ ++18.3 ++---- ++ ++* Setuptools now allows disabling of the manipulation of the sys.path ++ during the processing of the easy-install.pth file. To do so, set ++ the environment variable ``SETUPTOOLS_SYS_PATH_TECHNIQUE`` to ++ anything but "rewrite" (consider "raw"). During any install operation ++ with manipulation disabled, setuptools packages will be appended to ++ sys.path naturally. ++ ++ Future versions may change the default behavior to disable ++ manipulation. If so, the default behavior can be retained by setting ++ the variable to "rewrite". ++ ++* Issue #257: ``easy_install --version`` now shows more detail ++ about the installation location and Python version. ++ ++* Refactor setuptools.findall in preparation for re-submission ++ back to distutils. ++ ++18.2 ++---- ++ ++* Issue #412: More efficient directory search in ``find_packages``. ++ ++18.1 ++---- ++ ++* Upgrade to vendored packaging 15.3. ++ ++18.0.1 ++------ ++ ++* Issue #401: Fix failure in test suite. ++ ++18.0 ++---- ++ ++* Dropped support for builds with Pyrex. Only Cython is supported. ++* Issue #288: Detect Cython later in the build process, after ++ ``setup_requires`` dependencies are resolved. ++ Projects backed by Cython can now be readily built ++ with a ``setup_requires`` dependency. For example:: ++ ++ ext = setuptools.Extension('mylib', ['src/CythonStuff.pyx', 'src/CStuff.c']) ++ setuptools.setup( ++ ... ++ ext_modules=[ext], ++ setup_requires=['cython'], ++ ) ++ ++ For compatibility with older versions of setuptools, packagers should ++ still include ``src/CythonMod.c`` in the source distributions or ++ require that Cython be present before building source distributions. ++ However, for systems with this build of setuptools, Cython will be ++ downloaded on demand. ++* Issue #396: Fixed test failure on OS X. ++* BB Pull Request #136: Remove excessive quoting from shebang headers ++ for Jython. ++ ++17.1.1 ++------ ++ ++* Backed out unintended changes to pkg_resources, restoring removal of ++ deprecated imp module (`ref ++ `_). ++ ++17.1 ++---- ++ ++* Issue #380: Add support for range operators on environment ++ marker evaluation. ++ ++17.0 ++---- ++ ++* Issue #378: Do not use internal importlib._bootstrap module. ++* Issue #390: Disallow console scripts with path separators in ++ the name. Removes unintended functionality and brings behavior ++ into parity with pip. ++ ++16.0 ++---- ++ ++* BB Pull Request #130: Better error messages for errors in ++ parsed requirements. ++* BB Pull Request #133: Removed ``setuptools.tests`` from the ++ installed packages. ++* BB Pull Request #129: Address deprecation warning due to usage ++ of imp module. ++ ++15.2 ++---- ++ ++* Issue #373: Provisionally expose ++ ``pkg_resources._initialize_master_working_set``, allowing for ++ imperative re-initialization of the master working set. ++ ++15.1 ++---- ++ ++* Updated to Packaging 15.1 to address Packaging #28. ++* Fix ``setuptools.sandbox._execfile()`` with Python 3.1. ++ ++15.0 ++---- ++ ++* BB Pull Request #126: DistributionNotFound message now lists the package or ++ packages that required it. E.g.:: ++ ++ pkg_resources.DistributionNotFound: The 'colorama>=0.3.1' distribution was not found and is required by smlib.log. ++ ++ Note that zc.buildout once dependended on the string rendering of this ++ message to determine the package that was not found. This expectation ++ has since been changed, but older versions of buildout may experience ++ problems. See Buildout #242 for details. ++ ++14.3.1 ++------ ++ ++* Issue #307: Removed PEP-440 warning during parsing of versions ++ in ``pkg_resources.Distribution``. ++* Issue #364: Replace deprecated usage with recommended usage of ++ ``EntryPoint.load``. ++ ++14.3 ++---- ++ ++* Issue #254: When creating temporary egg cache on Unix, use mode 755 ++ for creating the directory to avoid the subsequent warning if ++ the directory is group writable. ++ ++14.2 ++---- ++ ++* Issue #137: Update ``Distribution.hashcmp`` so that Distributions with ++ None for pyversion or platform can be compared against Distributions ++ defining those attributes. ++ ++14.1.1 ++------ ++ ++* Issue #360: Removed undesirable behavior from test runs, preventing ++ write tests and installation to system site packages. ++ ++14.1 ++---- ++ ++* BB Pull Request #125: Add ``__ne__`` to Requirement class. ++* Various refactoring of easy_install. ++ ++14.0 ++---- ++ ++* Bootstrap script now accepts ``--to-dir`` to customize save directory or ++ allow for re-use of existing repository of setuptools versions. See ++ BB Pull Request #112 for background. ++* Issue #285: ``easy_install`` no longer will default to installing ++ packages to the "user site packages" directory if it is itself installed ++ there. Instead, the user must pass ``--user`` in all cases to install ++ packages to the user site packages. ++ This behavior now matches that of "pip install". To configure ++ an environment to always install to the user site packages, consider ++ using the "install-dir" and "scripts-dir" parameters to easy_install ++ through an appropriate distutils config file. ++ ++13.0.2 ++------ ++ ++* Issue #359: Include pytest.ini in the sdist so invocation of py.test on the ++ sdist honors the pytest configuration. ++ ++13.0.1 ++------ ++ ++Re-release of 13.0. Intermittent connectivity issues caused the release ++process to fail and PyPI uploads no longer accept files for 13.0. ++ ++13.0 ++---- ++ ++* Issue #356: Back out BB Pull Request #119 as it requires Setuptools 10 or later ++ as the source during an upgrade. ++* Removed build_py class from setup.py. According to 892f439d216e, this ++ functionality was added to support upgrades from old Distribute versions, ++ 0.6.5 and 0.6.6. ++ ++12.4 ++---- ++ ++* BB Pull Request #119: Restore writing of ``setup_requires`` to metadata ++ (previously added in 8.4 and removed in 9.0). ++ ++12.3 ++---- ++ ++* Documentation is now linked using the rst.linker package. ++* Fix ``setuptools.command.easy_install.extract_wininst_cfg()`` ++ with Python 2.6 and 2.7. ++* Issue #354. Added documentation on building setuptools ++ documentation. ++ ++12.2 ++---- ++ ++* Issue #345: Unload all modules under pkg_resources during ++ ``ez_setup.use_setuptools()``. ++* Issue #336: Removed deprecation from ``ez_setup.use_setuptools``, ++ as it is clearly still used by buildout's bootstrap. ``ez_setup`` ++ remains deprecated for use by individual packages. ++* Simplified implementation of ``ez_setup.use_setuptools``. ++ ++12.1 ++---- ++ ++* BB Pull Request #118: Soften warning for non-normalized versions in ++ Distribution. ++ ++12.0.5 ++------ ++ ++* Issue #339: Correct Attribute reference in ``cant_write_to_target``. ++* Issue #336: Deprecated ``ez_setup.use_setuptools``. ++ ++12.0.4 ++------ ++ ++* Issue #335: Fix script header generation on Windows. ++ ++12.0.3 ++------ ++ ++* Fixed incorrect class attribute in ``install_scripts``. Tests would be nice. ++ ++12.0.2 ++------ ++ ++* Issue #331: Fixed ``install_scripts`` command on Windows systems corrupting ++ the header. ++ ++12.0.1 ++------ ++ ++* Restore ``setuptools.command.easy_install.sys_executable`` for pbr ++ compatibility. For the future, tools should construct a CommandSpec ++ explicitly. ++ ++12.0 ++---- ++ ++* Issue #188: Setuptools now support multiple entities in the value for ++ ``build.executable``, such that an executable of "/usr/bin/env my-python" may ++ be specified. This means that systems with a specified executable whose name ++ has spaces in the path must be updated to escape or quote that value. ++* Deprecated ``easy_install.ScriptWriter.get_writer``, replaced by ``.best()`` ++ with slightly different semantics (no force_windows flag). ++ ++11.3.1 ++------ ++ ++* Issue #327: Formalize and restore support for any printable character in an ++ entry point name. ++ ++11.3 ++---- ++ ++* Expose ``EntryPoint.resolve`` in place of EntryPoint._load, implementing the ++ simple, non-requiring load. Deprecated all uses of ``EntryPoint._load`` ++ except for calling with no parameters, which is just a shortcut for ++ ``ep.require(); ep.resolve();``. ++ ++ Apps currently invoking ``ep.load(require=False)`` should instead do the ++ following if wanting to avoid the deprecating warning:: ++ ++ getattr(ep, "resolve", lambda: ep.load(require=False))() ++ ++11.2 ++---- ++ ++* Pip #2326: Report deprecation warning at stacklevel 2 for easier diagnosis. ++ ++11.1 ++---- ++ ++* Issue #281: Since Setuptools 6.1 (Issue #268), a ValueError would be raised ++ in certain cases where VersionConflict was raised with two arguments, which ++ occurred in ``pkg_resources.WorkingSet.find``. This release adds support ++ for indicating the dependent packages while maintaining support for ++ a VersionConflict when no dependent package context is known. New unit tests ++ now capture the expected interface. ++ ++11.0 ++---- ++ ++* Interop #3: Upgrade to Packaging 15.0; updates to PEP 440 so that >1.7 does ++ not exclude 1.7.1 but does exclude 1.7.0 and 1.7.0.post1. ++ ++10.2.1 ++------ ++ ++* Issue #323: Fix regression in entry point name parsing. ++ ++10.2 ++---- ++ ++* Deprecated use of EntryPoint.load(require=False). Passing a boolean to a ++ function to select behavior is an anti-pattern. Instead use ++ ``Entrypoint._load()``. ++* Substantial refactoring of all unit tests. Tests are now much leaner and ++ re-use a lot of fixtures and contexts for better clarity of purpose. ++ ++10.1 ++---- ++ ++* Issue #320: Added a compatibility implementation of ++ ``sdist._default_revctrl`` ++ so that systems relying on that interface do not fail (namely, Ubuntu 12.04 ++ and similar Debian releases). ++ ++10.0.1 ++------ ++ ++* Issue #319: Fixed issue installing pure distutils packages. ++ ++10.0 ++---- ++ ++* Issue #313: Removed built-in support for subversion. Projects wishing to ++ retain support for subversion will need to use a third party library. The ++ extant implementation is being ported to `setuptools_svn ++ `_. ++* Issue #315: Updated setuptools to hide its own loaded modules during ++ installation of another package. This change will enable setuptools to ++ upgrade (or downgrade) itself even when its own metadata and implementation ++ change. ++ ++9.1 ++--- ++ ++* Prefer vendored packaging library `as recommended ++ `_. ++ ++9.0.1 ++----- ++ ++* Issue #312: Restored presence of pkg_resources API tests (doctest) to sdist. ++ ++9.0 ++--- ++ ++* Issue #314: Disabled support for ``setup_requires`` metadata to avoid issue ++ where Setuptools was unable to upgrade over earlier versions. ++ ++8.4 ++--- ++ ++* BB Pull Request #106: Now write ``setup_requires`` metadata. ++ ++8.3 ++--- ++ ++* Issue #311: Decoupled pkg_resources from setuptools once again. ++ ``pkg_resources`` is now a package instead of a module. ++ ++8.2.1 ++----- ++ ++* Issue #306: Suppress warnings about Version format except in select scenarios ++ (such as installation). ++ ++8.2 ++--- ++ ++* BB Pull Request #85: Search egg-base when adding egg-info to manifest. ++ ++8.1 ++--- ++ ++* Upgrade ``packaging`` to 14.5, giving preference to "rc" as designator for ++ release candidates over "c". ++* PEP-440 warnings are now raised as their own class, ++ ``pkg_resources.PEP440Warning``, instead of RuntimeWarning. ++* Disabled warnings on empty versions. ++ ++8.0.4 ++----- ++ ++* Upgrade ``packaging`` to 14.4, fixing an error where there is a ++ different result for if 2.0.5 is contained within >2.0dev and >2.0.dev even ++ though normalization rules should have made them equal. ++* Issue #296: Add warning when a version is parsed as legacy. This warning will ++ make it easier for developers to recognize deprecated version numbers. ++ ++8.0.3 ++----- ++ ++* Issue #296: Restored support for ``__hash__`` on parse_version results. ++ ++8.0.2 ++----- ++ ++* Issue #296: Restored support for ``__getitem__`` and sort operations on ++ parse_version result. ++ ++8.0.1 ++----- ++ ++* Issue #296: Restore support for iteration over parse_version result, but ++ deprecated that usage with a warning. Fixes failure with buildout. ++ ++8.0 ++--- ++ ++* Implement PEP 440 within ++ pkg_resources and setuptools. This change ++ deprecates some version numbers such that they will no longer be installable ++ without using the ``===`` escape hatch. See `the changes to test_resources ++ `_ ++ for specific examples of version numbers and specifiers that are no longer ++ supported. Setuptools now "vendors" the `packaging ++ `_ library. ++ ++7.0 ++--- ++ ++* Issue #80, Issue #209: Eggs that are downloaded for ``setup_requires``, ++ ``test_requires``, etc. are now placed in a ``./.eggs`` directory instead of ++ directly in the current directory. This choice of location means the files ++ can be readily managed (removed, ignored). Additionally, ++ later phases or invocations of setuptools will not detect the package as ++ already installed and ignore it for permanent install (See #209). ++ ++ This change is indicated as backward-incompatible as installations that ++ depend on the installation in the current directory will need to account for ++ the new location. Systems that ignore ``*.egg`` will probably need to be ++ adapted to ignore ``.eggs``. The files will need to be manually moved or ++ will be retrieved again. Most use cases will require no attention. ++ ++6.1 ++--- ++ ++* Issue #268: When resolving package versions, a VersionConflict now reports ++ which package previously required the conflicting version. ++ ++6.0.2 ++----- ++ ++* Issue #262: Fixed regression in pip install due to egg-info directories ++ being omitted. Re-opens Issue #118. ++ ++6.0.1 ++----- ++ ++* Issue #259: Fixed regression with namespace package handling on ``single ++ version, externally managed`` installs. ++ ++6.0 ++--- ++ ++* Issue #100: When building a distribution, Setuptools will no longer match ++ default files using platform-dependent case sensitivity, but rather will ++ only match the files if their case matches exactly. As a result, on Windows ++ and other case-insensitive file systems, files with names such as ++ 'readme.txt' or 'README.TXT' will be omitted from the distribution and a ++ warning will be issued indicating that 'README.txt' was not found. Other ++ filenames affected are: ++ ++ - README.rst ++ - README ++ - setup.cfg ++ - setup.py (or the script name) ++ - test/test*.py ++ ++ Any users producing distributions with filenames that match those above ++ case-insensitively, but not case-sensitively, should rename those files in ++ their repository for better portability. ++* BB Pull Request #72: When using ``single_version_externally_managed``, the ++ exclusion list now includes Python 3.2 ``__pycache__`` entries. ++* BB Pull Request #76 and BB Pull Request #78: lines in top_level.txt are now ++ ordered deterministically. ++* Issue #118: The egg-info directory is now no longer included in the list ++ of outputs. ++* Issue #258: Setuptools now patches distutils msvc9compiler to ++ recognize the specially-packaged compiler package for easy extension module ++ support on Python 2.6, 2.7, and 3.2. ++ ++5.8 ++--- ++ ++* Issue #237: ``pkg_resources`` now uses explicit detection of Python 2 vs. ++ Python 3, supporting environments where builtins have been patched to make ++ Python 3 look more like Python 2. ++ ++5.7 ++--- ++ ++* Issue #240: Based on real-world performance measures against 5.4, zip ++ manifests are now cached in all circumstances. The ++ ``PKG_RESOURCES_CACHE_ZIP_MANIFESTS`` environment variable is no longer ++ relevant. The observed "memory increase" referenced in the 5.4 release ++ notes and detailed in Issue #154 was likely not an increase over the status ++ quo, but rather only an increase over not storing the zip info at all. ++ ++5.6 ++--- ++ ++* Issue #242: Use absolute imports in svn_utils to avoid issues if the ++ installing package adds an xml module to the path. ++ ++5.5.1 ++----- ++ ++* Issue #239: Fix typo in 5.5 such that fix did not take. ++ ++5.5 ++--- ++ ++* Issue #239: Setuptools now includes the setup_requires directive on ++ Distribution objects and validates the syntax just like install_requires ++ and tests_require directives. ++ ++5.4.2 ++----- ++ ++* Issue #236: Corrected regression in execfile implementation for Python 2.6. ++ ++5.4.1 ++----- ++ ++* Python #7776: (ssl_support) Correct usage of host for validation when ++ tunneling for HTTPS. ++ ++5.4 ++--- ++ ++* Issue #154: ``pkg_resources`` will now cache the zip manifests rather than ++ re-processing the same file from disk multiple times, but only if the ++ environment variable ``PKG_RESOURCES_CACHE_ZIP_MANIFESTS`` is set. Clients ++ that package many modules in the same zip file will see some improvement ++ in startup time by enabling this feature. This feature is not enabled by ++ default because it causes a substantial increase in memory usage. ++ ++5.3 ++--- ++ ++* Issue #185: Make svn tagging work on the new style SVN metadata. ++ Thanks cazabon! ++* Prune revision control directories (e.g .svn) from base path ++ as well as sub-directories. ++ ++5.2 ++--- ++ ++* Added a `Developer Guide ++ `_ to the official ++ documentation. ++* Some code refactoring and cleanup was done with no intended behavioral ++ changes. ++* During install_egg_info, the generated lines for namespace package .pth ++ files are now processed even during a dry run. ++ ++5.1 ++--- ++ ++* Issue #202: Implemented more robust cache invalidation for the ZipImporter, ++ building on the work in Issue #168. Special thanks to Jurko Gospodnetic and ++ PJE. ++ ++5.0.2 ++----- ++ ++* Issue #220: Restored script templates. ++ ++5.0.1 ++----- ++ ++* Renamed script templates to end with .tmpl now that they no longer need ++ to be processed by 2to3. Fixes spurious syntax errors during build/install. ++ ++5.0 ++--- ++ ++* Issue #218: Re-release of 3.8.1 to signal that it supersedes 4.x. ++* Incidentally, script templates were updated not to include the triple-quote ++ escaping. ++ ++3.7.1 and 3.8.1 and 4.0.1 ++------------------------- ++ ++* Issue #213: Use legacy StringIO behavior for compatibility under pbr. ++* Issue #218: Setuptools 3.8.1 superseded 4.0.1, and 4.x was removed ++ from the available versions to install. ++ ++4.0 ++--- ++ ++* Issue #210: ``setup.py develop`` now copies scripts in binary mode rather ++ than text mode, matching the behavior of the ``install`` command. ++ ++3.8 ++--- ++ ++* Extend Issue #197 workaround to include all Python 3 versions prior to ++ 3.2.2. ++ ++3.7 ++--- ++ ++* Issue #193: Improved handling of Unicode filenames when building manifests. ++ ++3.6 ++--- ++ ++* Issue #203: Honor proxy settings for Powershell downloader in the bootstrap ++ routine. ++ ++3.5.2 ++----- ++ ++* Issue #168: More robust handling of replaced zip files and stale caches. ++ Fixes ZipImportError complaining about a 'bad local header'. ++ ++3.5.1 ++----- ++ ++* Issue #199: Restored ``install._install`` for compatibility with earlier ++ NumPy versions. ++ ++3.5 ++--- ++ ++* Issue #195: Follow symbolic links in find_packages (restoring behavior ++ broken in 3.4). ++* Issue #197: On Python 3.1, PKG-INFO is now saved in a UTF-8 encoding instead ++ of ``sys.getpreferredencoding`` to match the behavior on Python 2.6-3.4. ++* Issue #192: Preferred bootstrap location is now ++ https://bootstrap.pypa.io/ez_setup.py (mirrored from former location). ++ ++3.4.4 ++----- ++ ++* Issue #184: Correct failure where find_package over-matched packages ++ when directory traversal isn't short-circuited. ++ ++3.4.3 ++----- ++ ++* Issue #183: Really fix test command with Python 3.1. ++ ++3.4.2 ++----- ++ ++* Issue #183: Fix additional regression in test command on Python 3.1. ++ ++3.4.1 ++----- ++ ++* Issue #180: Fix regression in test command not caught by py.test-run tests. ++ ++3.4 ++--- ++ ++* Issue #176: Add parameter to the test command to support a custom test ++ runner: --test-runner or -r. ++* Issue #177: Now assume most common invocation to install command on ++ platforms/environments without stack support (issuing a warning). Setuptools ++ now installs naturally on IronPython. Behavior on CPython should be ++ unchanged. ++ ++3.3 ++--- ++ ++* Add ``include`` parameter to ``setuptools.find_packages()``. ++ ++3.2 ++--- ++ ++* BB Pull Request #39: Add support for C++ targets from Cython ``.pyx`` files. ++* Issue #162: Update dependency on certifi to 1.0.1. ++* Issue #164: Update dependency on wincertstore to 0.2. ++ ++3.1 ++--- ++ ++* Issue #161: Restore Features functionality to allow backward compatibility ++ (for Features) until the uses of that functionality is sufficiently removed. ++ ++3.0.2 ++----- ++ ++* Correct typo in previous bugfix. ++ ++3.0.1 ++----- ++ ++* Issue #157: Restore support for Python 2.6 in bootstrap script where ++ ``zipfile.ZipFile`` does not yet have support for context managers. ++ ++3.0 ++--- ++ ++* Issue #125: Prevent Subversion support from creating a ~/.subversion ++ directory just for checking the presence of a Subversion repository. ++* Issue #12: Namespace packages are now imported lazily. That is, the mere ++ declaration of a namespace package in an egg on ``sys.path`` no longer ++ causes it to be imported when ``pkg_resources`` is imported. Note that this ++ change means that all of a namespace package's ``__init__.py`` files must ++ include a ``declare_namespace()`` call in order to ensure that they will be ++ handled properly at runtime. In 2.x it was possible to get away without ++ including the declaration, but only at the cost of forcing namespace ++ packages to be imported early, which 3.0 no longer does. ++* Issue #148: When building (bdist_egg), setuptools no longer adds ++ ``__init__.py`` files to namespace packages. Any packages that rely on this ++ behavior will need to create ``__init__.py`` files and include the ++ ``declare_namespace()``. ++* Issue #7: Setuptools itself is now distributed as a zip archive in addition to ++ tar archive. ez_setup.py now uses zip archive. This approach avoids the potential ++ security vulnerabilities presented by use of tar archives in ez_setup.py. ++ It also leverages the security features added to ZipFile.extract in Python 2.7.4. ++* Issue #65: Removed deprecated Features functionality. ++* BB Pull Request #28: Remove backport of ``_bytecode_filenames`` which is ++ available in Python 2.6 and later, but also has better compatibility with ++ Python 3 environments. ++* Issue #156: Fix spelling of __PYVENV_LAUNCHER__ variable. ++ ++2.2 ++--- ++ ++* Issue #141: Restored fix for allowing setup_requires dependencies to ++ override installed dependencies during setup. ++* Issue #128: Fixed issue where only the first dependency link was honored ++ in a distribution where multiple dependency links were supplied. ++ ++2.1.2 ++----- ++ ++* Issue #144: Read long_description using codecs module to avoid errors ++ installing on systems where LANG=C. ++ ++2.1.1 ++----- ++ ++* Issue #139: Fix regression in re_finder for CVS repos (and maybe Git repos ++ as well). ++ ++2.1 ++--- ++ ++* Issue #129: Suppress inspection of ``*.whl`` files when searching for files ++ in a zip-imported file. ++* Issue #131: Fix RuntimeError when constructing an egg fetcher. ++ ++2.0.2 ++----- ++ ++* Fix NameError during installation with Python implementations (e.g. Jython) ++ not containing parser module. ++* Fix NameError in ``sdist:re_finder``. ++ ++2.0.1 ++----- ++ ++* Issue #124: Fixed error in list detection in upload_docs. ++ ++2.0 ++--- ++ ++* Issue #121: Exempt lib2to3 pickled grammars from DirectorySandbox. ++* Issue #41: Dropped support for Python 2.4 and Python 2.5. Clients requiring ++ setuptools for those versions of Python should use setuptools 1.x. ++* Removed ``setuptools.command.easy_install.HAS_USER_SITE``. Clients ++ expecting this boolean variable should use ``site.ENABLE_USER_SITE`` ++ instead. ++* Removed ``pkg_resources.ImpWrapper``. Clients that expected this class ++ should use ``pkgutil.ImpImporter`` instead. ++ ++1.4.2 ++----- ++ ++* Issue #116: Correct TypeError when reading a local package index on Python ++ 3. ++ ++1.4.1 ++----- ++ ++* Issue #114: Use ``sys.getfilesystemencoding`` for decoding config in ++ ``bdist_wininst`` distributions. ++ ++* Issue #105 and Issue #113: Establish a more robust technique for ++ determining the terminal encoding:: ++ ++ 1. Try ``getpreferredencoding`` ++ 2. If that returns US_ASCII or None, try the encoding from ++ ``getdefaultlocale``. If that encoding was a "fallback" because Python ++ could not figure it out from the environment or OS, encoding remains ++ unresolved. ++ 3. If the encoding is resolved, then make sure Python actually implements ++ the encoding. ++ 4. On the event of an error or unknown codec, revert to fallbacks ++ (UTF-8 on Darwin, ASCII on everything else). ++ 5. On the encoding is 'mac-roman' on Darwin, use UTF-8 as 'mac-roman' was ++ a bug on older Python releases. ++ ++ On a side note, it would seem that the encoding only matters for when SVN ++ does not yet support ``--xml`` and when getting repository and svn version ++ numbers. The ``--xml`` technique should yield UTF-8 according to some ++ messages on the SVN mailing lists. So if the version numbers are always ++ 7-bit ASCII clean, it may be best to only support the file parsing methods ++ for legacy SVN releases and support for SVN without the subprocess command ++ would simple go away as support for the older SVNs does. ++ ++1.4 ++--- ++ ++* Issue #27: ``easy_install`` will now use credentials from .pypirc if ++ present for connecting to the package index. ++* BB Pull Request #21: Omit unwanted newlines in ``package_index._encode_auth`` ++ when the username/password pair length indicates wrapping. ++ ++1.3.2 ++----- ++ ++* Issue #99: Fix filename encoding issues in SVN support. ++ ++1.3.1 ++----- ++ ++* Remove exuberant warning in SVN support when SVN is not used. ++ ++1.3 ++--- ++ ++* Address security vulnerability in SSL match_hostname check as reported in ++ Python #17997. ++* Prefer `backports.ssl_match_hostname ++ `_ for backport ++ implementation if present. ++* Correct NameError in ``ssl_support`` module (``socket.error``). ++ ++1.2 ++--- ++ ++* Issue #26: Add support for SVN 1.7. Special thanks to Philip Thiem for the ++ contribution. ++* Issue #93: Wheels are now distributed with every release. Note that as ++ reported in Issue #108, as of Pip 1.4, scripts aren't installed properly ++ from wheels. Therefore, if using Pip to install setuptools from a wheel, ++ the ``easy_install`` command will not be available. ++* Setuptools "natural" launcher support, introduced in 1.0, is now officially ++ supported. ++ ++1.1.7 ++----- ++ ++* Fixed behavior of NameError handling in 'script template (dev).py' (script ++ launcher for 'develop' installs). ++* ``ez_setup.py`` now ensures partial downloads are cleaned up following ++ a failed download. ++* Distribute #363 and Issue #55: Skip an sdist test that fails on locales ++ other than UTF-8. ++ ++1.1.6 ++----- ++ ++* Distribute #349: ``sandbox.execfile`` now opens the target file in binary ++ mode, thus honoring a BOM in the file when compiled. ++ ++1.1.5 ++----- ++ ++* Issue #69: Second attempt at fix (logic was reversed). ++ ++1.1.4 ++----- ++ ++* Issue #77: Fix error in upload command (Python 2.4). ++ ++1.1.3 ++----- ++ ++* Fix NameError in previous patch. ++ ++1.1.2 ++----- ++ ++* Issue #69: Correct issue where 404 errors are returned for URLs with ++ fragments in them (such as #egg=). ++ ++1.1.1 ++----- ++ ++* Issue #75: Add ``--insecure`` option to ez_setup.py to accommodate ++ environments where a trusted SSL connection cannot be validated. ++* Issue #76: Fix AttributeError in upload command with Python 2.4. ++ ++1.1 ++--- ++ ++* Issue #71 (Distribute #333): EasyInstall now puts less emphasis on the ++ condition when a host is blocked via ``--allow-hosts``. ++* Issue #72: Restored Python 2.4 compatibility in ``ez_setup.py``. ++ ++1.0 ++--- ++ ++* Issue #60: On Windows, Setuptools supports deferring to another launcher, ++ such as Vinay Sajip's `pylauncher `_ ++ (included with Python 3.3) to launch console and GUI scripts and not install ++ its own launcher executables. This experimental functionality is currently ++ only enabled if the ``SETUPTOOLS_LAUNCHER`` environment variable is set to ++ "natural". In the future, this behavior may become default, but only after ++ it has matured and seen substantial adoption. The ``SETUPTOOLS_LAUNCHER`` ++ also accepts "executable" to force the default behavior of creating launcher ++ executables. ++* Issue #63: Bootstrap script (ez_setup.py) now prefers Powershell, curl, or ++ wget for retrieving the Setuptools tarball for improved security of the ++ install. The script will still fall back to a simple ``urlopen`` on ++ platforms that do not have these tools. ++* Issue #65: Deprecated the ``Features`` functionality. ++* Issue #52: In ``VerifyingHTTPSConn``, handle a tunnelled (proxied) ++ connection. ++ ++Backward-Incompatible Changes ++============================= ++ ++This release includes a couple of backward-incompatible changes, but most if ++not all users will find 1.0 a drop-in replacement for 0.9. ++ ++* Issue #50: Normalized API of environment marker support. Specifically, ++ removed line number and filename from SyntaxErrors when returned from ++ `pkg_resources.invalid_marker`. Any clients depending on the specific ++ string representation of exceptions returned by that function may need to ++ be updated to account for this change. ++* Issue #50: SyntaxErrors generated by `pkg_resources.invalid_marker` are ++ normalized for cross-implementation consistency. ++* Removed ``--ignore-conflicts-at-my-risk`` and ``--delete-conflicting`` ++ options to easy_install. These options have been deprecated since 0.6a11. ++ ++0.9.8 ++----- ++ ++* Issue #53: Fix NameErrors in `_vcs_split_rev_from_url`. ++ ++0.9.7 ++----- ++ ++* Issue #49: Correct AttributeError on PyPy where a hashlib.HASH object does ++ not have a `.name` attribute. ++* Issue #34: Documentation now refers to bootstrap script in code repository ++ referenced by bookmark. ++* Add underscore-separated keys to environment markers (markerlib). ++ ++0.9.6 ++----- ++ ++* Issue #44: Test failure on Python 2.4 when MD5 hash doesn't have a `.name` ++ attribute. ++ ++0.9.5 ++----- ++ ++* Python #17980: Fix security vulnerability in SSL certificate validation. ++ ++0.9.4 ++----- ++ ++* Issue #43: Fix issue (introduced in 0.9.1) with version resolution when ++ upgrading over other releases of Setuptools. ++ ++0.9.3 ++----- ++ ++* Issue #42: Fix new ``AttributeError`` introduced in last fix. ++ ++0.9.2 ++----- ++ ++* Issue #42: Fix regression where blank checksums would trigger an ++ ``AttributeError``. ++ ++0.9.1 ++----- ++ ++* Distribute #386: Allow other positional and keyword arguments to os.open. ++* Corrected dependency on certifi mis-referenced in 0.9. ++ ++0.9 ++--- ++ ++* `package_index` now validates hashes other than MD5 in download links. ++ ++0.8 ++--- ++ ++* Code base now runs on Python 2.4 - Python 3.3 without Python 2to3 ++ conversion. ++ ++0.7.8 ++----- ++ ++* Distribute #375: Yet another fix for yet another regression. ++ ++0.7.7 ++----- ++ ++* Distribute #375: Repair AttributeError created in last release (redo). ++* Issue #30: Added test for get_cache_path. ++ ++0.7.6 ++----- ++ ++* Distribute #375: Repair AttributeError created in last release. ++ ++0.7.5 ++----- ++ ++* Issue #21: Restore Python 2.4 compatibility in ``test_easy_install``. ++* Distribute #375: Merged additional warning from Distribute 0.6.46. ++* Now honor the environment variable ++ ``SETUPTOOLS_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT`` in addition to the now ++ deprecated ``DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT``. ++ ++0.7.4 ++----- ++ ++* Issue #20: Fix comparison of parsed SVN version on Python 3. ++ ++0.7.3 ++----- ++ ++* Issue #1: Disable installation of Windows-specific files on non-Windows systems. ++* Use new sysconfig module with Python 2.7 or >=3.2. ++ ++0.7.2 ++----- ++ ++* Issue #14: Use markerlib when the `parser` module is not available. ++* Issue #10: ``ez_setup.py`` now uses HTTPS to download setuptools from PyPI. ++ ++0.7.1 ++----- ++ ++* Fix NameError (Issue #3) again - broken in bad merge. ++ ++0.7 ++--- ++ ++* Merged Setuptools and Distribute. See docs/merge.txt for details. ++ ++Added several features that were slated for setuptools 0.6c12: ++ ++* Index URL now defaults to HTTPS. ++* Added experimental environment marker support. Now clients may designate a ++ PEP-426 environment marker for "extra" dependencies. Setuptools uses this ++ feature in ``setup.py`` for optional SSL and certificate validation support ++ on older platforms. Based on Distutils-SIG discussions, the syntax is ++ somewhat tentative. There should probably be a PEP with a firmer spec before ++ the feature should be considered suitable for use. ++* Added support for SSL certificate validation when installing packages from ++ an HTTPS service. ++ ++0.7b4 ++----- ++ ++* Issue #3: Fixed NameError in SSL support. ++ ++0.6.49 ++------ ++ ++* Move warning check in ``get_cache_path`` to follow the directory creation ++ to avoid errors when the cache path does not yet exist. Fixes the error ++ reported in Distribute #375. ++ ++0.6.48 ++------ ++ ++* Correct AttributeError in ``ResourceManager.get_cache_path`` introduced in ++ 0.6.46 (redo). ++ ++0.6.47 ++------ ++ ++* Correct AttributeError in ``ResourceManager.get_cache_path`` introduced in ++ 0.6.46. ++ ++0.6.46 ++------ ++ ++* Distribute #375: Issue a warning if the PYTHON_EGG_CACHE or otherwise ++ customized egg cache location specifies a directory that's group- or ++ world-writable. ++ ++0.6.45 ++------ ++ ++* Distribute #379: ``distribute_setup.py`` now traps VersionConflict as well, ++ restoring ability to upgrade from an older setuptools version. ++ ++0.6.44 ++------ ++ ++* ``distribute_setup.py`` has been updated to allow Setuptools 0.7 to ++ satisfy use_setuptools. ++ ++0.6.43 ++------ ++ ++* Distribute #378: Restore support for Python 2.4 Syntax (regression in 0.6.42). ++ ++0.6.42 ++------ ++ ++* External links finder no longer yields duplicate links. ++* Distribute #337: Moved site.py to setuptools/site-patch.py (graft of very old ++ patch from setuptools trunk which inspired PR #31). ++ ++0.6.41 ++------ ++ ++* Distribute #27: Use public api for loading resources from zip files rather than ++ the private method `_zip_directory_cache`. ++* Added a new function ``easy_install.get_win_launcher`` which may be used by ++ third-party libraries such as buildout to get a suitable script launcher. ++ ++0.6.40 ++------ ++ ++* Distribute #376: brought back cli.exe and gui.exe that were deleted in the ++ previous release. ++ ++0.6.39 ++------ ++ ++* Add support for console launchers on ARM platforms. ++* Fix possible issue in GUI launchers where the subsystem was not supplied to ++ the linker. ++* Launcher build script now refactored for robustness. ++* Distribute #375: Resources extracted from a zip egg to the file system now also ++ check the contents of the file against the zip contents during each ++ invocation of get_resource_filename. ++ ++0.6.38 ++------ ++ ++* Distribute #371: The launcher manifest file is now installed properly. ++ ++0.6.37 ++------ ++ ++* Distribute #143: Launcher scripts, including easy_install itself, are now ++ accompanied by a manifest on 32-bit Windows environments to avoid the ++ Installer Detection Technology and thus undesirable UAC elevation described ++ in `this Microsoft article ++ `_. ++ ++0.6.36 ++------ ++ ++* BB Pull Request #35: In Buildout #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. ++ ++* Distribute #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 ++------ ++ ++* Distribute #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. ++* Distribute #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. ++* Distribute #341: Fix a ResourceWarning. ++ ++0.6.32 ++------ ++ ++* Fix test suite with Python 2.6. ++* Fix some DeprecationWarnings and ResourceWarnings. ++* Distribute #335: Backed out `setup_requires` superceding installed requirements ++ until regression can be addressed. ++ ++0.6.31 ++------ ++ ++* Distribute #303: Make sure the manifest only ever contains UTF-8 in Python 3. ++* Distribute #329: Properly close files created by tests for compatibility with ++ Jython. ++* Work around Jython #1980 and Jython #1981. ++* Distribute #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. ++* Distribute #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 ++------ ++ ++* Distribute #328: Clean up temporary directories in distribute_setup.py. ++* Fix fatal bug in distribute_setup.py. ++ ++0.6.29 ++------ ++ ++* BB Pull Request #14: Honor file permissions in zip files. ++* Distribute #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. ++* Distribute #326: `upload_docs` provided mangled auth credentials under Python 3. ++* Distribute #320: Fix check for "createable" in distribute_setup.py. ++* Distribute #305: Remove a warning that was triggered during normal operations. ++* Distribute #311: Print metadata in UTF-8 independent of platform. ++* Distribute #303: Read manifest file with UTF-8 encoding under Python 3. ++* Distribute #301: Allow to run tests of namespace packages when using 2to3. ++* Distribute #304: Prevent import loop in site.py under Python 3.3. ++* Distribute #283: Reenable scanning of `*.pyc` / `*.pyo` files on Python 3.3. ++* Distribute #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. ++* Distribute #306: Even if 2to3 is used, we build in-place under Python 2. ++* Distribute #307: Prints the full path when .svn/entries is broken. ++* Distribute #313: Support for sdist subcommands (Python 2.7) ++* Distribute #314: test_local_index() would fail an OS X. ++* Distribute #310: Non-ascii characters in a namespace __init__.py causes errors. ++* Distribute #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 ++------ ++ ++* Distribute #294: setup.py can now be invoked from any directory. ++* Scripts are now installed honoring the umask. ++* Added support for .dist-info directories. ++* Distribute #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. ++* Distribute #231: Don't fiddle with system python when used with buildout ++ (bootstrap.py) ++ ++0.6.26 ++------ ++ ++* Distribute #183: Symlinked files are now extracted from source distributions. ++* Distribute #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 ++------ ++ ++* Distribute #258: Workaround a cache issue ++* Distribute #260: distribute_setup.py now accepts the --user parameter for ++ Python 2.6 and later. ++* Distribute #262: package_index.open_with_auth no longer throws LookupError ++ on Python 3. ++* Distribute #269: AttributeError when an exception occurs reading Manifest.in ++ on late releases of Python. ++* Distribute #272: Prevent TypeError when namespace package names are unicode ++ and single-install-externally-managed is used. Also fixes PIP issue ++ 449. ++* Distribute #273: Legacy script launchers now install with Python2/3 support. ++ ++0.6.24 ++------ ++ ++* Distribute #249: Added options to exclude 2to3 fixers ++ ++0.6.23 ++------ ++ ++* Distribute #244: Fixed a test ++* Distribute #243: Fixed a test ++* Distribute #239: Fixed a test ++* Distribute #240: Fixed a test ++* Distribute #241: Fixed a test ++* Distribute #237: Fixed a test ++* Distribute #238: easy_install now uses 64bit executable wrappers on 64bit Python ++* Distribute #208: Fixed parsed_versions, it now honors post-releases as noted in the documentation ++* Distribute #207: Windows cli and gui wrappers pass CTRL-C to child python process ++* Distribute #227: easy_install now passes its arguments to setup.py bdist_egg ++* Distribute #225: Fixed a NameError on Python 2.5, 2.4 ++ ++0.6.21 ++------ ++ ++* Distribute #225: FIxed a regression on py2.4 ++ ++0.6.20 ++------ ++ ++* Distribute #135: Include url in warning when processing URLs in package_index. ++* Distribute #212: Fix issue where easy_instal fails on Python 3 on windows installer. ++* Distribute #213: Fix typo in documentation. ++ ++0.6.19 ++------ ++ ++* Distribute #206: AttributeError: 'HTTPMessage' object has no attribute 'getheaders' ++ ++0.6.18 ++------ ++ ++* Distribute #210: Fixed a regression introduced by Distribute #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. ++* Distribute #204: Don't try to import the parent of a namespace package in ++ declare_namespace ++* Distribute #196: Tolerate responses with multiple Content-Length headers ++* Distribute #205: Sandboxing doesn't preserve working_set. Leads to setup_requires ++ problems. ++ ++0.6.16 ++------ ++ ++* Builds sdist gztar even on Windows (avoiding Distribute #193). ++* Distribute #192: Fixed metadata omitted on Windows when package_dir ++ specified with forward-slash. ++* Distribute #195: Cython build support. ++* Distribute #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. ++* Distribute #146: Fixed missing DLL files after easy_install of windows exe package. ++ ++0.6.14 ++------ ++ ++* Distribute #170: Fixed unittest failure. Thanks to Toshio. ++* Distribute #171: Fixed race condition in unittests cause deadlocks in test suite. ++* Distribute #143: Fixed a lookup issue with easy_install. ++ Thanks to David and Zooko. ++* Distribute #174: Fixed the edit mode when its used with setuptools itself ++ ++0.6.13 ++------ ++ ++* Distribute #160: 2.7 gives ValueError("Invalid IPv6 URL") ++* Distribute #150: Fixed using ~/.local even in a --no-site-packages virtualenv ++* Distribute #163: scan index links before external links, and don't use the md5 when ++ comparing two distributions ++ ++0.6.12 ++------ ++ ++* Distribute #149: Fixed various failures on 2.3/2.4 ++ ++0.6.11 ++------ ++ ++* Found another case of SandboxViolation - fixed ++* Distribute #15 and Distribute #48: Introduced a socket timeout of 15 seconds on url openings ++* Added indexsidebar.html into MANIFEST.in ++* Distribute #108: Fixed TypeError with Python3.1 ++* Distribute #121: Fixed --help install command trying to actually install. ++* Distribute #112: Added an os.makedirs so that Tarek's solution will work. ++* Distribute #133: Added --no-find-links to easy_install ++* Added easy_install --user ++* Distribute #100: Fixed develop --user not taking '.' in PYTHONPATH into account ++* Distribute #134: removed spurious UserWarnings. Patch by VanLindberg ++* Distribute #138: cant_write_to_target error when setup_requires is used. ++* Distribute #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 ++----- ++ ++* Distribute #90: unknown setuptools version can be added in the working set ++* Distribute #87: setupt.py doesn't try to convert distribute_setup.py anymore ++ Initial Patch by arfrever. ++* Distribute #89: added a side bar with a download link to the doc. ++* Distribute #86: fixed missing sentence in pkg_resources doc. ++* Added a nicer error message when a DistributionNotFound is raised. ++* Distribute #80: test_develop now works with Python 3.1 ++* Distribute #93: upload_docs now works if there is an empty sub-directory. ++* Distribute #70: exec bit on non-exec files ++* Distribute #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). ++* Distribute #101: Allowing ``os.devnull`` in Sandbox ++* Distribute #92: Fixed the "no eggs" found error with MacPort ++ (platform.mac_ver() fails) ++* Distribute #103: test_get_script_header_jython_workaround not run ++ anymore under py3 with C or POSIX local. Contributed by Arfrever. ++* Distribute #104: remvoved the assertion when the installation fails, ++ with a nicer message for the end user. ++* Distribute #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 ++----- ++ ++* Distribute #58: Added --user support to the develop command ++* Distribute #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. ++* Distribute #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. ++* Distribute #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 ++* Distribute #74: no_fake should be True by default. ++* Distribute #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 ++----- ++ ++* Distribute #65: cli.exe and gui.exe are now generated at build time, ++ depending on the platform in use. ++ ++* Distribute #67: Fixed doc typo (PEP 381/PEP 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 Distribute #52. ++ ++* Added an upload_docs command to easily upload project documentation to ++ PyPI's https://pythonhosted.org. This close issue Distribute #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 Old Setuptools #39. ++ ++* Added option to run 2to3 automatically when installing on Python 3. ++ This closes issue Distribute #31. ++ ++* Fixed invalid usage of requirement.parse, that broke develop -d. ++ This closes Old Setuptools #44. ++ ++* Fixed script launcher for 64-bit Windows. ++ This closes Old Setuptools #2. ++ ++* KeyError when compiling extensions. ++ This closes Old Setuptools #41. ++ ++bootstrapping ++============= ++ ++* Fixed bootstrap not working on Windows. This closes issue Distribute #49. ++ ++* Fixed 2.6 dependencies. This closes issue Distribute #50. ++ ++* Make sure setuptools is patched when running through easy_install ++ This closes Old Setuptools #40. ++ ++0.6.1 ++----- ++ ++setuptools ++========== ++ ++* package_index.urlopen now catches BadStatusLine and malformed url errors. ++ This closes Distribute #16 and Distribute #18. ++ ++* zip_ok is now False by default. This closes Old Setuptools #33. ++ ++* Fixed invalid URL error catching. Old Setuptools #20. ++ ++* Fixed invalid bootstraping with easy_install installation (Distribute #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 Distribute #10. ++ ++0.6 ++--- ++ ++setuptools ++========== ++ ++* Packages required at build time where not fully present at install time. ++ This closes Distribute #12. ++ ++* Protected against failures in tarfile extraction. This closes Distribute #10. ++ ++* Made Jython api_tests.txt doctest compatible. This closes Distribute #7. ++ ++* sandbox.py replaced builtin type file with builtin function open. This ++ closes Distribute #6. ++ ++* Immediately close all file handles. This closes Distribute #3. ++ ++* Added compatibility with Subversion 1.6. This references Distribute #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 Distribute #13. ++ ++* Allow to find_on_path on systems with tight permissions to fail gracefully. ++ This closes Distribute #9. ++ ++* Corrected inconsistency between documentation and code of add_entry. ++ This closes Distribute #8. ++ ++* Immediately close all file handles. This closes Distribute #3. ++ ++easy_install ++============ ++ ++* Immediately close all file handles. This closes Distribute #3. ++ ++0.6c9 ++----- ++ ++ * Fixed a missing files problem when using Windows source distributions on ++ non-Windows platforms, due to distutils not handling manifest file line ++ endings correctly. ++ ++ * Updated Pyrex support to work with Pyrex 0.9.6 and higher. ++ ++ * Minor changes for Jython compatibility, including skipping tests that can't ++ work on Jython. ++ ++ * Fixed not installing eggs in ``install_requires`` if they were also used for ++ ``setup_requires`` or ``tests_require``. ++ ++ * Fixed not fetching eggs in ``install_requires`` when running tests. ++ ++ * Allow ``ez_setup.use_setuptools()`` to upgrade existing setuptools ++ installations when called from a standalone ``setup.py``. ++ ++ * Added a warning if a namespace package is declared, but its parent package ++ is not also declared as a namespace. ++ ++ * Support Subversion 1.5 ++ ++ * Removed use of deprecated ``md5`` module if ``hashlib`` is available ++ ++ * Fixed ``bdist_wininst upload`` trying to upload the ``.exe`` twice ++ ++ * Fixed ``bdist_egg`` putting a ``native_libs.txt`` in the source package's ++ ``.egg-info``, when it should only be in the built egg's ``EGG-INFO``. ++ ++ * Ensure that _full_name is set on all shared libs before extensions are ++ checked for shared lib usage. (Fixes a bug in the experimental shared ++ library build support.) ++ ++ * Fix to allow unpacked eggs containing native libraries to fail more ++ gracefully under Google App Engine (with an ``ImportError`` loading the ++ C-based module, instead of getting a ``NameError``). ++ ++0.6c7 ++----- ++ ++ * Fixed ``distutils.filelist.findall()`` crashing on broken symlinks, and ++ ``egg_info`` command failing on new, uncommitted SVN directories. ++ ++ * Fix import problems with nested namespace packages installed via ++ ``--root`` or ``--single-version-externally-managed``, due to the ++ parent package not having the child package as an attribute. ++ ++0.6c6 ++----- ++ ++ * Added ``--egg-path`` option to ``develop`` command, allowing you to force ++ ``.egg-link`` files to use relative paths (allowing them to be shared across ++ platforms on a networked drive). ++ ++ * Fix not building binary RPMs correctly. ++ ++ * Fix "eggsecutables" (such as setuptools' own egg) only being runnable with ++ bash-compatible shells. ++ ++ * Fix ``#!`` parsing problems in Windows ``.exe`` script wrappers, when there ++ was whitespace inside a quoted argument or at the end of the ``#!`` line ++ (a regression introduced in 0.6c4). ++ ++ * Fix ``test`` command possibly failing if an older version of the project ++ being tested was installed on ``sys.path`` ahead of the test source ++ directory. ++ ++ * Fix ``find_packages()`` treating ``ez_setup`` and directories with ``.`` in ++ their names as packages. ++ ++0.6c5 ++----- ++ ++ * Fix uploaded ``bdist_rpm`` packages being described as ``bdist_egg`` ++ packages under Python versions less than 2.5. ++ ++ * Fix uploaded ``bdist_wininst`` packages being described as suitable for ++ "any" version by Python 2.5, even if a ``--target-version`` was specified. ++ ++0.6c4 ++----- ++ ++ * Overhauled Windows script wrapping to support ``bdist_wininst`` better. ++ Scripts installed with ``bdist_wininst`` will always use ``#!python.exe`` or ++ ``#!pythonw.exe`` as the executable name (even when built on non-Windows ++ platforms!), and the wrappers will look for the executable in the script's ++ parent directory (which should find the right version of Python). ++ ++ * Fix ``upload`` command not uploading files built by ``bdist_rpm`` or ++ ``bdist_wininst`` under Python 2.3 and 2.4. ++ ++ * Add support for "eggsecutable" headers: a ``#!/bin/sh`` script that is ++ prepended to an ``.egg`` file to allow it to be run as a script on Unix-ish ++ platforms. (This is mainly so that setuptools itself can have a single-file ++ installer on Unix, without doing multiple downloads, dealing with firewalls, ++ etc.) ++ ++ * Fix problem with empty revision numbers in Subversion 1.4 ``entries`` files ++ ++ * Use cross-platform relative paths in ``easy-install.pth`` when doing ++ ``develop`` and the source directory is a subdirectory of the installation ++ target directory. ++ ++ * Fix a problem installing eggs with a system packaging tool if the project ++ contained an implicit namespace package; for example if the ``setup()`` ++ listed a namespace package ``foo.bar`` without explicitly listing ``foo`` ++ as a namespace package. ++ ++0.6c3 ++----- ++ ++ * Fixed breakages caused by Subversion 1.4's new "working copy" format ++ ++0.6c2 ++----- ++ ++ * The ``ez_setup`` module displays the conflicting version of setuptools (and ++ its installation location) when a script requests a version that's not ++ available. ++ ++ * Running ``setup.py develop`` on a setuptools-using project will now install ++ setuptools if needed, instead of only downloading the egg. ++ ++0.6c1 ++----- ++ ++ * Fixed ``AttributeError`` when trying to download a ``setup_requires`` ++ dependency when a distribution lacks a ``dependency_links`` setting. ++ ++ * Made ``zip-safe`` and ``not-zip-safe`` flag files contain a single byte, so ++ as to play better with packaging tools that complain about zero-length ++ files. ++ ++ * Made ``setup.py develop`` respect the ``--no-deps`` option, which it ++ previously was ignoring. ++ ++ * Support ``extra_path`` option to ``setup()`` when ``install`` is run in ++ backward-compatibility mode. ++ ++ * Source distributions now always include a ``setup.cfg`` file that explicitly ++ sets ``egg_info`` options such that they produce an identical version number ++ to the source distribution's version number. (Previously, the default ++ version number could be different due to the use of ``--tag-date``, or if ++ the version was overridden on the command line that built the source ++ distribution.) ++ ++0.6b4 ++----- ++ ++ * Fix ``register`` not obeying name/version set by ``egg_info`` command, if ++ ``egg_info`` wasn't explicitly run first on the same command line. ++ ++ * Added ``--no-date`` and ``--no-svn-revision`` options to ``egg_info`` ++ command, to allow suppressing tags configured in ``setup.cfg``. ++ ++ * Fixed redundant warnings about missing ``README`` file(s); it should now ++ appear only if you are actually a source distribution. ++ ++0.6b3 ++----- ++ ++ * Fix ``bdist_egg`` not including files in subdirectories of ``.egg-info``. ++ ++ * Allow ``.py`` files found by the ``include_package_data`` option to be ++ automatically included. Remove duplicate data file matches if both ++ ``include_package_data`` and ``package_data`` are used to refer to the same ++ files. ++ ++0.6b1 ++----- ++ ++ * Strip ``module`` from the end of compiled extension modules when computing ++ the name of a ``.py`` loader/wrapper. (Python's import machinery ignores ++ this suffix when searching for an extension module.) ++ ++0.6a11 ++------ ++ ++ * Added ``test_loader`` keyword to support custom test loaders ++ ++ * Added ``setuptools.file_finders`` entry point group to allow implementing ++ revision control plugins. ++ ++ * Added ``--identity`` option to ``upload`` command. ++ ++ * Added ``dependency_links`` to allow specifying URLs for ``--find-links``. ++ ++ * Enhanced test loader to scan packages as well as modules, and call ++ ``additional_tests()`` if present to get non-unittest tests. ++ ++ * Support namespace packages in conjunction with system packagers, by omitting ++ the installation of any ``__init__.py`` files for namespace packages, and ++ adding a special ``.pth`` file to create a working package in ++ ``sys.modules``. ++ ++ * Made ``--single-version-externally-managed`` automatic when ``--root`` is ++ used, so that most system packagers won't require special support for ++ setuptools. ++ ++ * Fixed ``setup_requires``, ``tests_require``, etc. not using ``setup.cfg`` or ++ other configuration files for their option defaults when installing, and ++ also made the install use ``--multi-version`` mode so that the project ++ directory doesn't need to support .pth files. ++ ++ * ``MANIFEST.in`` is now forcibly closed when any errors occur while reading ++ it. Previously, the file could be left open and the actual error would be ++ masked by problems trying to remove the open file on Windows systems. ++ ++0.6a10 ++------ ++ ++ * Fixed the ``develop`` command ignoring ``--find-links``. ++ ++0.6a9 ++----- ++ ++ * The ``sdist`` command no longer uses the traditional ``MANIFEST`` file to ++ create source distributions. ``MANIFEST.in`` is still read and processed, ++ as are the standard defaults and pruning. But the manifest is built inside ++ the project's ``.egg-info`` directory as ``SOURCES.txt``, and it is rebuilt ++ every time the ``egg_info`` command is run. ++ ++ * Added the ``include_package_data`` keyword to ``setup()``, allowing you to ++ automatically include any package data listed in revision control or ++ ``MANIFEST.in`` ++ ++ * Added the ``exclude_package_data`` keyword to ``setup()``, allowing you to ++ trim back files included via the ``package_data`` and ++ ``include_package_data`` options. ++ ++ * Fixed ``--tag-svn-revision`` not working when run from a source ++ distribution. ++ ++ * Added warning for namespace packages with missing ``declare_namespace()`` ++ ++ * Added ``tests_require`` keyword to ``setup()``, so that e.g. packages ++ requiring ``nose`` to run unit tests can make this dependency optional ++ unless the ``test`` command is run. ++ ++ * Made all commands that use ``easy_install`` respect its configuration ++ options, as this was causing some problems with ``setup.py install``. ++ ++ * Added an ``unpack_directory()`` driver to ``setuptools.archive_util``, so ++ that you can process a directory tree through a processing filter as if it ++ were a zipfile or tarfile. ++ ++ * Added an internal ``install_egg_info`` command to use as part of old-style ++ ``install`` operations, that installs an ``.egg-info`` directory with the ++ package. ++ ++ * Added a ``--single-version-externally-managed`` option to the ``install`` ++ command so that you can more easily wrap a "flat" egg in a system package. ++ ++ * Enhanced ``bdist_rpm`` so that it installs single-version eggs that ++ don't rely on a ``.pth`` file. The ``--no-egg`` option has been removed, ++ since all RPMs are now built in a more backwards-compatible format. ++ ++ * Support full roundtrip translation of eggs to and from ``bdist_wininst`` ++ format. Running ``bdist_wininst`` on a setuptools-based package wraps the ++ egg in an .exe that will safely install it as an egg (i.e., with metadata ++ and entry-point wrapper scripts), and ``easy_install`` can turn the .exe ++ back into an ``.egg`` file or directory and install it as such. ++ ++ ++0.6a8 ++----- ++ ++ * Fixed some problems building extensions when Pyrex was installed, especially ++ with Python 2.4 and/or packages using SWIG. ++ ++ * Made ``develop`` command accept all the same options as ``easy_install``, ++ and use the ``easy_install`` command's configuration settings as defaults. ++ ++ * Made ``egg_info --tag-svn-revision`` fall back to extracting the revision ++ number from ``PKG-INFO`` in case it is being run on a source distribution of ++ a snapshot taken from a Subversion-based project. ++ ++ * Automatically detect ``.dll``, ``.so`` and ``.dylib`` files that are being ++ installed as data, adding them to ``native_libs.txt`` automatically. ++ ++ * Fixed some problems with fresh checkouts of projects that don't include ++ ``.egg-info/PKG-INFO`` under revision control and put the project's source ++ code directly in the project directory. If such a package had any ++ requirements that get processed before the ``egg_info`` command can be run, ++ the setup scripts would fail with a "Missing 'Version:' header and/or ++ PKG-INFO file" error, because the egg runtime interpreted the unbuilt ++ metadata in a directory on ``sys.path`` (i.e. the current directory) as ++ being a corrupted egg. Setuptools now monkeypatches the distribution ++ metadata cache to pretend that the egg has valid version information, until ++ it has a chance to make it actually be so (via the ``egg_info`` command). ++ ++0.6a5 ++----- ++ ++ * Fixed missing gui/cli .exe files in distribution. Fixed bugs in tests. ++ ++0.6a3 ++----- ++ ++ * Added ``gui_scripts`` entry point group to allow installing GUI scripts ++ on Windows and other platforms. (The special handling is only for Windows; ++ other platforms are treated the same as for ``console_scripts``.) ++ ++0.6a2 ++----- ++ ++ * Added ``console_scripts`` entry point group to allow installing scripts ++ without the need to create separate script files. On Windows, console ++ scripts get an ``.exe`` wrapper so you can just type their name. On other ++ platforms, the scripts are written without a file extension. ++ ++0.6a1 ++----- ++ ++ * Added support for building "old-style" RPMs that don't install an egg for ++ the target package, using a ``--no-egg`` option. ++ ++ * The ``build_ext`` command now works better when using the ``--inplace`` ++ option and multiple Python versions. It now makes sure that all extensions ++ match the current Python version, even if newer copies were built for a ++ different Python version. ++ ++ * The ``upload`` command no longer attaches an extra ``.zip`` when uploading ++ eggs, as PyPI now supports egg uploads without trickery. ++ ++ * The ``ez_setup`` script/module now displays a warning before downloading ++ the setuptools egg, and attempts to check the downloaded egg against an ++ internal MD5 checksum table. ++ ++ * Fixed the ``--tag-svn-revision`` option of ``egg_info`` not finding the ++ latest revision number; it was using the revision number of the directory ++ containing ``setup.py``, not the highest revision number in the project. ++ ++ * Added ``eager_resources`` setup argument ++ ++ * The ``sdist`` command now recognizes Subversion "deleted file" entries and ++ does not include them in source distributions. ++ ++ * ``setuptools`` now embeds itself more thoroughly into the distutils, so that ++ other distutils extensions (e.g. py2exe, py2app) will subclass setuptools' ++ versions of things, rather than the native distutils ones. ++ ++ * Added ``entry_points`` and ``setup_requires`` arguments to ``setup()``; ++ ``setup_requires`` allows you to automatically find and download packages ++ that are needed in order to *build* your project (as opposed to running it). ++ ++ * ``setuptools`` now finds its commands, ``setup()`` argument validators, and ++ metadata writers using entry points, so that they can be extended by ++ third-party packages. See `Creating distutils Extensions ++ `_ ++ for more details. ++ ++ * The vestigial ``depends`` command has been removed. It was never finished ++ or documented, and never would have worked without EasyInstall - which it ++ pre-dated and was never compatible with. ++ ++0.5a12 ++------ ++ ++ * The zip-safety scanner now checks for modules that might be used with ++ ``python -m``, and marks them as unsafe for zipping, since Python 2.4 can't ++ handle ``-m`` on zipped modules. ++ ++0.5a11 ++------ ++ ++ * Fix breakage of the "develop" command that was caused by the addition of ++ ``--always-unzip`` to the ``easy_install`` command. ++ ++0.5a9 ++----- ++ ++ * Include ``svn:externals`` directories in source distributions as well as ++ normal subversion-controlled files and directories. ++ ++ * Added ``exclude=patternlist`` option to ``setuptools.find_packages()`` ++ ++ * Changed --tag-svn-revision to include an "r" in front of the revision number ++ for better readability. ++ ++ * Added ability to build eggs without including source files (except for any ++ scripts, of course), using the ``--exclude-source-files`` option to ++ ``bdist_egg``. ++ ++ * ``setup.py install`` now automatically detects when an "unmanaged" package ++ or module is going to be on ``sys.path`` ahead of a package being installed, ++ thereby preventing the newer version from being imported. If this occurs, ++ a warning message is output to ``sys.stderr``, but installation proceeds ++ anyway. The warning message informs the user what files or directories ++ need deleting, and advises them they can also use EasyInstall (with the ++ ``--delete-conflicting`` option) to do it automatically. ++ ++ * The ``egg_info`` command now adds a ``top_level.txt`` file to the metadata ++ directory that lists all top-level modules and packages in the distribution. ++ This is used by the ``easy_install`` command to find possibly-conflicting ++ "unmanaged" packages when installing the distribution. ++ ++ * Added ``zip_safe`` and ``namespace_packages`` arguments to ``setup()``. ++ Added package analysis to determine zip-safety if the ``zip_safe`` flag ++ is not given, and advise the author regarding what code might need changing. ++ ++ * Fixed the swapped ``-d`` and ``-b`` options of ``bdist_egg``. ++ ++0.5a8 ++----- ++ ++ * The "egg_info" command now always sets the distribution metadata to "safe" ++ forms of the distribution name and version, so that distribution files will ++ be generated with parseable names (i.e., ones that don't include '-' in the ++ name or version). Also, this means that if you use the various ``--tag`` ++ options of "egg_info", any distributions generated will use the tags in the ++ version, not just egg distributions. ++ ++ * Added support for defining command aliases in distutils configuration files, ++ under the "[aliases]" section. To prevent recursion and to allow aliases to ++ call the command of the same name, a given alias can be expanded only once ++ per command-line invocation. You can define new aliases with the "alias" ++ command, either for the local, global, or per-user configuration. ++ ++ * Added "rotate" command to delete old distribution files, given a set of ++ patterns to match and the number of files to keep. (Keeps the most ++ recently-modified distribution files matching each pattern.) ++ ++ * Added "saveopts" command that saves all command-line options for the current ++ invocation to the local, global, or per-user configuration file. Useful for ++ setting defaults without having to hand-edit a configuration file. ++ ++ * Added a "setopt" command that sets a single option in a specified distutils ++ configuration file. ++ ++0.5a7 ++----- ++ ++ * Added "upload" support for egg and source distributions, including a bug ++ fix for "upload" and a temporary workaround for lack of .egg support in ++ PyPI. ++ ++0.5a6 ++----- ++ ++ * Beefed up the "sdist" command so that if you don't have a MANIFEST.in, it ++ will include all files under revision control (CVS or Subversion) in the ++ current directory, and it will regenerate the list every time you create a ++ source distribution, not just when you tell it to. This should make the ++ default "do what you mean" more often than the distutils' default behavior ++ did, while still retaining the old behavior in the presence of MANIFEST.in. ++ ++ * Fixed the "develop" command always updating .pth files, even if you ++ specified ``-n`` or ``--dry-run``. ++ ++ * Slightly changed the format of the generated version when you use ++ ``--tag-build`` on the "egg_info" command, so that you can make tagged ++ revisions compare *lower* than the version specified in setup.py (e.g. by ++ using ``--tag-build=dev``). ++ ++0.5a5 ++----- ++ ++ * Added ``develop`` command to ``setuptools``-based packages. This command ++ installs an ``.egg-link`` pointing to the package's source directory, and ++ script wrappers that ``execfile()`` the source versions of the package's ++ scripts. This lets you put your development checkout(s) on sys.path without ++ having to actually install them. (To uninstall the link, use ++ use ``setup.py develop --uninstall``.) ++ ++ * Added ``egg_info`` command to ``setuptools``-based packages. This command ++ just creates or updates the "projectname.egg-info" directory, without ++ building an egg. (It's used by the ``bdist_egg``, ``test``, and ``develop`` ++ commands.) ++ ++ * Enhanced the ``test`` command so that it doesn't install the package, but ++ instead builds any C extensions in-place, updates the ``.egg-info`` ++ metadata, adds the source directory to ``sys.path``, and runs the tests ++ directly on the source. This avoids an "unmanaged" installation of the ++ package to ``site-packages`` or elsewhere. ++ ++ * Made ``easy_install`` a standard ``setuptools`` command, moving it from ++ the ``easy_install`` module to ``setuptools.command.easy_install``. Note ++ that if you were importing or extending it, you must now change your imports ++ accordingly. ``easy_install.py`` is still installed as a script, but not as ++ a module. ++ ++0.5a4 ++----- ++ ++ * Setup scripts using setuptools can now list their dependencies directly in ++ the setup.py file, without having to manually create a ``depends.txt`` file. ++ The ``install_requires`` and ``extras_require`` arguments to ``setup()`` ++ are used to create a dependencies file automatically. If you are manually ++ creating ``depends.txt`` right now, please switch to using these setup ++ arguments as soon as practical, because ``depends.txt`` support will be ++ removed in the 0.6 release cycle. For documentation on the new arguments, ++ see the ``setuptools.dist.Distribution`` class. ++ ++ * Setup scripts using setuptools now always install using ``easy_install`` ++ internally, for ease of uninstallation and upgrading. ++ ++0.5a1 ++----- ++ ++ * Added support for "self-installation" bootstrapping. Packages can now ++ include ``ez_setup.py`` in their source distribution, and add the following ++ to their ``setup.py``, in order to automatically bootstrap installation of ++ setuptools as part of their setup process:: ++ ++ from ez_setup import use_setuptools ++ use_setuptools() ++ ++ from setuptools import setup ++ # etc... ++ ++0.4a2 ++----- ++ ++ * Added ``ez_setup.py`` installer/bootstrap script to make initial setuptools ++ installation easier, and to allow distributions using setuptools to avoid ++ having to include setuptools in their source distribution. ++ ++ * All downloads are now managed by the ``PackageIndex`` class (which is now ++ subclassable and replaceable), so that embedders can more easily override ++ download logic, give download progress reports, etc. The class has also ++ been moved to the new ``setuptools.package_index`` module. ++ ++ * The ``Installer`` class no longer handles downloading, manages a temporary ++ directory, or tracks the ``zip_ok`` option. Downloading is now handled ++ by ``PackageIndex``, and ``Installer`` has become an ``easy_install`` ++ command class based on ``setuptools.Command``. ++ ++ * There is a new ``setuptools.sandbox.run_setup()`` API to invoke a setup ++ script in a directory sandbox, and a new ``setuptools.archive_util`` module ++ with an ``unpack_archive()`` API. These were split out of EasyInstall to ++ allow reuse by other tools and applications. ++ ++ * ``setuptools.Command`` now supports reinitializing commands using keyword ++ arguments to set/reset options. Also, ``Command`` subclasses can now set ++ their ``command_consumes_arguments`` attribute to ``True`` in order to ++ receive an ``args`` option containing the rest of the command line. ++ ++0.3a2 ++----- ++ ++ * Added new options to ``bdist_egg`` to allow tagging the egg's version number ++ with a subversion revision number, the current date, or an explicit tag ++ value. Run ``setup.py bdist_egg --help`` to get more information. ++ ++ * Misc. bug fixes ++ ++0.3a1 ++----- ++ ++ * Initial release. ++ diff -Nru python-setuptools-20.3.1/debian/patches/series python-setuptools-20.7.0/debian/patches/series --- python-setuptools-20.3.1/debian/patches/series 2015-10-24 14:13:25.000000000 +0000 +++ python-setuptools-20.7.0/debian/patches/series 2016-04-14 20:05:58.000000000 +0000 @@ -5,3 +5,4 @@ fix-changes-link.diff multiple-entrypoints.diff no-SOURCES.txt-in-egg-ingo.diff +re-add-changes-file.diff diff -Nru python-setuptools-20.3.1/debian/rules python-setuptools-20.7.0/debian/rules --- python-setuptools-20.3.1/debian/rules 2016-02-15 18:13:42.000000000 +0000 +++ python-setuptools-20.7.0/debian/rules 2016-04-14 20:06:38.000000000 +0000 @@ -26,7 +26,7 @@ find debian/tmp -name requires.txt -delete override_dh_installchangelogs: - dh_installchangelogs CHANGES.txt + dh_installchangelogs CHANGES.rst override_dh_auto_clean: # Keep entry_points, we need it to drive setup.py diff -Nru python-setuptools-20.3.1/docs/conf.py python-setuptools-20.7.0/docs/conf.py --- python-setuptools-20.3.1/docs/conf.py 2016-02-25 02:42:28.000000000 +0000 +++ python-setuptools-20.7.0/docs/conf.py 2016-04-10 19:22:56.000000000 +0000 @@ -200,7 +200,7 @@ #latex_use_modindex = True link_files = { - 'CHANGES.txt': dict( + 'CHANGES.rst': dict( using=dict( BB='https://bitbucket.org', GH='https://github.com', @@ -208,11 +208,11 @@ replace=[ dict( pattern=r"(Issue )?#(?P\d+)", - url='{BB}/pypa/setuptools/issue/{issue}', + url='{GH}/pypa/setuptools/issues/{issue}', ), dict( - pattern=r"Pull Request ?#(?P\d+)", - url='{BB}/pypa/setuptools/pull-request/{pull_request}', + pattern=r"BB Pull Request ?#(?P\d+)", + url='{BB}/pypa/setuptools/pull-request/{bb_pull_request}', ), dict( pattern=r"Distribute #(?P\d+)", @@ -255,8 +255,8 @@ url='https://www.python.org/dev/peps/pep-{pep_number:0>4}/', ), dict( - pattern=r"^(?m)((?P\d+(\.\d+){1,2}))\n[-=]+\n", - with_scm="{text}\n{rev[timestamp]}\n", + pattern=r"^(?m)((?Pv?\d+(\.\d+){1,2}))\n[-=]+\n", + with_scm="{text}\n{rev[timestamp]:%d %b %Y}\n", ), ], ), diff -Nru python-setuptools-20.3.1/docs/developer-guide.txt python-setuptools-20.7.0/docs/developer-guide.txt --- python-setuptools-20.3.1/docs/developer-guide.txt 2016-02-07 14:25:06.000000000 +0000 +++ python-setuptools-20.7.0/docs/developer-guide.txt 2016-04-10 19:22:56.000000000 +0000 @@ -23,10 +23,10 @@ Project Management ------------------ -Setuptools is maintained primarily in Bitbucket at `this home -`_. Setuptools is maintained under the +Setuptools is maintained primarily in Github at `this home +`_. Setuptools is maintained under the Python Packaging Authority (PyPA) with several core contributors. All bugs -for Setuptools are filed and the canonical source is maintained in Bitbucket. +for Setuptools are filed and the canonical source is maintained in Github. User support and discussions are done through the issue tracker (for specific) issues, through the distutils-sig mailing list, or on IRC (Freenode) at @@ -44,7 +44,7 @@ ticket already exists for your issue. If not, create one. Try to think from the perspective of the reader. Explain what behavior you expected, what you got instead, and what factors might have contributed to the unexpected -behavior. In Bitbucket, surround a block of code or traceback with the triple +behavior. In Github, surround a block of code or traceback with the triple backtick "\`\`\`" so that it is formatted nicely. Filing a ticket provides a forum for justification, discussion, and @@ -61,17 +61,17 @@ Source Code ----------- -Grab the code at Bitbucket:: +Grab the code at Github:: - $ hg clone https://bitbucket.org/pypa/setuptools + $ git checkout https://github.com/pypa/setuptools If you want to contribute changes, we recommend you fork the repository on -Bitbucket, commit the changes to your repository, and then make a pull request -on Bitbucket. If you make some changes, don't forget to: +Github, commit the changes to your repository, and then make a pull request +on Github. If you make some changes, don't forget to: -- add a note in CHANGES.txt +- add a note in CHANGES.rst -Please commit all changes in the 'default' branch against the latest available +Please commit all changes in the 'master' branch against the latest available commit or for bug-fixes, against an earlier commit or release in which the bug occurred. @@ -79,12 +79,11 @@ generally prefers Git-style branches, so use Mercurial bookmarks or Git branches or multiple forks to maintain separate efforts. -Setuptools also maintains an unofficial `Git mirror in Github -`_. Contributors are welcome to submit -pull requests here, but because they are not integrated with the Bitbucket -Issue tracker, linking pull requests to tickets is more difficult. The -Continuous Integration tests that validate every release are run from this -mirror. +The Continuous Integration tests that validate every release are run +from this repository. + +For posterity, the old `Bitbucket mirror +`_ is available. ------- Testing @@ -104,10 +103,7 @@ Semantic Versioning ------------------- -Setuptools follows ``semver`` with some exceptions: - -- Uses two-segment version when three segment version ends in zero -- Omits 'v' prefix for tags. +Setuptools follows ``semver``. .. explain value of reflecting meaning in versions. diff -Nru python-setuptools-20.3.1/docs/history.txt python-setuptools-20.7.0/docs/history.txt --- python-setuptools-20.3.1/docs/history.txt 2016-02-07 14:25:06.000000000 +0000 +++ python-setuptools-20.7.0/docs/history.txt 2016-04-10 19:22:56.000000000 +0000 @@ -5,4 +5,4 @@ History ******* -.. include:: ../CHANGES (links).txt +.. include:: ../CHANGES (links).rst diff -Nru python-setuptools-20.3.1/docs/releases.txt python-setuptools-20.7.0/docs/releases.txt --- python-setuptools-20.3.1/docs/releases.txt 2016-02-07 14:25:06.000000000 +0000 +++ python-setuptools-20.7.0/docs/releases.txt 2016-04-10 19:22:56.000000000 +0000 @@ -3,19 +3,14 @@ =============== In order to allow for rapid, predictable releases, Setuptools uses a -mechanical technique for releases. The release script, ``release.py`` in the -repository, defines the details of the releases, and is executed by the -`jaraco.packaging `_ release -module. The script does some checks (some interactive) and fully automates -the release process. - -A Setuptools release manager must have maintainer access on PyPI to the -project and administrative access to the Bitbucket project. - -To make a release, run the following from a Mercurial checkout at the -revision slated for release:: - - python -m jaraco.packaging.release +mechanical technique for releases, enacted by Travis following a +successful build of a tagged release per +`PyPI deployment `_. + +To cut a release, install and run ``bumpversion {part}`` where ``part`` +is major, minor, or patch based on the scope of the changes in the +release. Then, push the commits to the master branch. If tests pass, +the release will be uploaded to PyPI. Bootstrap Bookmark ------------------ @@ -23,7 +18,7 @@ Setuptools has a bootstrap script (ez_setup.py) which is hosted in the repository and must be updated with each release (to bump the default version). The "published" version of the script is the one indicated by the ``bootstrap`` -bookmark (Mercurial) or branch (Git). +branch. Therefore, the latest bootstrap script can be retrieved by checking out the repository at that bookmark. It's also possible to get the bootstrap script for @@ -57,7 +52,5 @@ Release Managers ---------------- -Jason R. Coombs is the primary release manager. Additionally, the following -people have access to create releases: - -- Matthew Iversen (Ivoz) +Additionally, anyone with push access to the master branch has access to cut +releases. diff -Nru python-setuptools-20.3.1/docs/setuptools.txt python-setuptools-20.7.0/docs/setuptools.txt --- python-setuptools-20.3.1/docs/setuptools.txt 2016-02-18 03:07:05.000000000 +0000 +++ python-setuptools-20.7.0/docs/setuptools.txt 2016-04-10 19:22:56.000000000 +0000 @@ -258,10 +258,9 @@ ``include_package_data`` If set to ``True``, this tells ``setuptools`` to automatically include any - data files it finds inside your package directories, that are either under - CVS or Subversion control, or which are specified by your ``MANIFEST.in`` - file. For more information, see the section below on `Including Data - Files`_. + data files it finds inside your package directories that are specified by + your ``MANIFEST.in`` file. For more information, see the section below on + `Including Data Files`_. ``exclude_package_data`` A dictionary mapping package names to lists of glob patterns that should @@ -785,17 +784,15 @@ ) This tells setuptools to install any data files it finds in your packages. -The data files must be under CVS or Subversion control, or else they must be -specified via the distutils' ``MANIFEST.in`` file. (They can also be tracked -by another revision control system, using an appropriate plugin. See the -section below on `Adding Support for Other Revision Control Systems`_ for -information on how to write such plugins.) - -If the data files are not under version control, or are not in a supported -version control system, or if you want finer-grained control over what files -are included (for example, if you have documentation files in your package -directories and want to exclude them from installation), then you can also use -the ``package_data`` keyword, e.g.:: +The data files must be specified via the distutils' ``MANIFEST.in`` file. +(They can also be tracked by a revision control system, using an appropriate +plugin. See the section below on `Adding Support for Revision Control +Systems`_ for information on how to write such plugins.) + +If you want finer-grained control over what files are included (for example, +if you have documentation files in your package directories and want to exclude +them from installation), then you can also use the ``package_data`` keyword, +e.g.:: from setuptools import setup, find_packages setup( @@ -853,8 +850,7 @@ Python 2.4; there is `some documentation for the feature`__ available on the python.org website. If using the setuptools-specific ``include_package_data`` argument, files specified by ``package_data`` will *not* be automatically -added to the manifest unless they are tracked by a supported version control -system, or are listed in the MANIFEST.in file.) +added to the manifest unless they are listed in the MANIFEST.in file.) __ http://docs.python.org/dist/node11.html @@ -887,8 +883,7 @@ In summary, the three options allow you to: ``include_package_data`` - Accept all data files and directories matched by ``MANIFEST.in`` or found - in source control. + Accept all data files and directories matched by ``MANIFEST.in``. ``package_data`` Specify additional patterns to match files and directories that may or may @@ -1231,15 +1226,14 @@ target audience isn't able to compile packages (e.g. most Windows users) and your package or some of its dependencies include C code. -Subversion or CVS Users and Co-Developers +Revision Control System Users and Co-Developers Users and co-developers who are tracking your in-development code using - CVS, Subversion, or some other revision control system should probably read - this manual's sections regarding such development. Alternately, you may - wish to create a quick-reference guide containing the tips from this manual - that apply to your particular situation. For example, if you recommend - that people use ``setup.py develop`` when tracking your in-development - code, you should let them know that this needs to be run after every update - or commit. + a revision control system should probably read this manual's sections + regarding such development. Alternately, you may wish to create a + quick-reference guide containing the tips from this manual that apply to + your particular situation. For example, if you recommend that people use + ``setup.py develop`` when tracking your in-development code, you should let + them know that this needs to be run after every update or commit. Similarly, if you remove modules or data files from your project, you should remind them to run ``setup.py clean --all`` and delete any obsolete @@ -1468,18 +1462,11 @@ ------------------------------- ``setuptools`` enhances the distutils' default algorithm for source file -selection, so that all files managed by CVS or Subversion in your project tree -are included in any source distribution you build. This is a big improvement -over having to manually write a ``MANIFEST.in`` file and try to keep it in -sync with your project. So, if you are using CVS or Subversion, and your -source distributions only need to include files that you're tracking in -revision control, don't create a ``MANIFEST.in`` file for your project. -(And, if you already have one, you might consider deleting it the next time -you would otherwise have to change it.) - -(NOTE: other revision control systems besides CVS and Subversion can be -supported using plugins; see the section below on `Adding Support for Other -Revision Control Systems`_ for information on how to write such plugins.) +selection with pluggable endpoints for looking up files to include. If you are +using a revision control system, and your source distributions only need to +include files that you're tracking in revision control, use a corresponding +plugin instead of writing a ``MANIFEST.in`` file. See the section below on +`Adding Support for Revision Control Systems`_ for information on plugins. If you need to include automatically generated files, or files that are kept in an unsupported revision control system, you'll need to create a ``MANIFEST.in`` @@ -1501,12 +1488,6 @@ all practical purposes, you'll probably use only the ``--formats`` option, if you use any option at all. -(By the way, if you're using some other revision control system, you might -consider creating and publishing a `revision control plugin for setuptools`_.) - - -.. _revision control plugin for setuptools: `Adding Support for Other Revision Control Systems`_ - Making your package available for EasyInstall --------------------------------------------- @@ -1687,9 +1668,10 @@ code generated by Pyrex, as well as your original ``.pyx`` files. This means that you will probably want to include current ``.c`` files in your revision control system, rebuilding them whenever you check changes in for the ``.pyx`` -source files. This will ensure that people tracking your project in CVS or -Subversion will be able to build it even if they don't have Pyrex installed, -and that your source releases will be similarly usable with or without Pyrex. +source files. This will ensure that people tracking your project in a revision +control system will be able to build it even if they don't have Pyrex +installed, and that your source releases will be similarly usable with or +without Pyrex. ----------------- @@ -2569,15 +2551,21 @@ those methods' docstrings for more details. -Adding Support for Other Revision Control Systems +Adding Support for Revision Control Systems ------------------------------------------------- -If you would like to create a plugin for ``setuptools`` to find files in -source control systems, you can do so by adding an -entry point to the ``setuptools.file_finders`` group. The entry point should -be a function accepting a single directory name, and should yield -all the filenames within that directory (and any subdirectories thereof) that -are under revision control. +If the files you want to include in the source distribution are tracked using +Git, Mercurial or SVN, you can use the following packages to achieve that: + +- Git and Mercurial: `setuptools_scm `_ +- SVN: `setuptools_svn `_ + +If you would like to create a plugin for ``setuptools`` to find files tracked +by another revision control system, you can do so by adding an entry point to +the ``setuptools.file_finders`` group. The entry point should be a function +accepting a single directory name, and should yield all the filenames within +that directory (and any subdirectories thereof) that are under revision +control. For example, if you were going to create a plugin for a revision control system called "foobar", you would write a function something like this: @@ -2670,5 +2658,5 @@ set of steps to reproduce. .. _distutils-sig mailing list: http://mail.python.org/pipermail/distutils-sig/ -.. _setuptools bug tracker: https://bitbucket.org/pypa/setuptools/ +.. _setuptools bug tracker: https://github.com/pypa/setuptools/ diff -Nru python-setuptools-20.3.1/PKG-INFO python-setuptools-20.7.0/PKG-INFO --- python-setuptools-20.3.1/PKG-INFO 2016-03-18 15:14:06.000000000 +0000 +++ python-setuptools-20.7.0/PKG-INFO 2016-04-10 19:24:12.000000000 +0000 @@ -1,8 +1,8 @@ Metadata-Version: 1.1 Name: setuptools -Version: 20.3.1 +Version: 20.7.0 Summary: Easily download, build, install, upgrade, and uninstall Python packages -Home-page: https://bitbucket.org/pypa/setuptools +Home-page: https://github.com/pypa/setuptools Author: Python Packaging Authority Author-email: distutils-sig@python.org License: UNKNOWN @@ -26,7 +26,7 @@ Setuptools requires Python 2.6 or later. To install setuptools on Python 2.4 or Python 2.5, use the `bootstrap script for Setuptools 1.x - `_. + `_. The link provided to ez_setup.py is a bookmark to bootstrap script for the latest known stable release. @@ -184,7 +184,7 @@ *tested* patches to correct problems or add features, you may submit them to the `setuptools bug tracker`_. - .. _setuptools bug tracker: https://bitbucket.org/pypa/setuptools/issues + .. _setuptools bug tracker: https://github.com/pypa/setuptools/issues .. _The Internal Structure of Python Eggs: https://pythonhosted.org/setuptools/formats.html .. _The setuptools Developer's Guide: https://pythonhosted.org/setuptools/setuptools.html .. _The pkg_resources API reference: https://pythonhosted.org/setuptools/pkg_resources.html diff -Nru python-setuptools-20.3.1/pkg_resources/__init__.py python-setuptools-20.7.0/pkg_resources/__init__.py --- python-setuptools-20.3.1/pkg_resources/__init__.py 2016-03-15 21:07:38.000000000 +0000 +++ python-setuptools-20.7.0/pkg_resources/__init__.py 2016-04-10 19:22:56.000000000 +0000 @@ -28,8 +28,6 @@ import stat import functools import pkgutil -import token -import symbol import operator import platform import collections @@ -67,11 +65,6 @@ except ImportError: importlib_machinery = None -try: - import parser -except ImportError: - pass - from pkg_resources.extern import packaging __import__('pkg_resources.extern.packaging.version') __import__('pkg_resources.extern.packaging.specifiers') @@ -799,6 +792,8 @@ best = {} to_activate = [] + req_extras = _ReqExtras() + # Mapping of requirement to set of distributions that required it; # useful for reporting info about conflicts. required_by = collections.defaultdict(set) @@ -809,6 +804,10 @@ if req in processed: # Ignore cyclic or redundant dependencies continue + + if not req_extras.markers_pass(req): + continue + dist = best.get(req.key) if dist is None: # Find the best distribution and add it to the map @@ -841,6 +840,7 @@ # Register the new requirements needed by req for new_requirement in new_requirements: required_by[new_requirement].add(req.project_name) + req_extras[new_requirement] = req.extras processed[req] = True @@ -973,6 +973,26 @@ self.callbacks = callbacks[:] +class _ReqExtras(dict): + """ + Map each requirement to the extras that demanded it. + """ + + def markers_pass(self, req): + """ + Evaluate markers for req against each extra that + demanded it. + + Return False if the req has a marker and fails + evaluation. Otherwise, return True. + """ + extra_evals = ( + req.marker.evaluate({'extra': extra}) + for extra in self.get(req, ()) + ) + return not req.marker or any(extra_evals) or req.marker.evaluate() + + class Environment(object): """Searchable snapshot of distributions on a search path""" @@ -1839,7 +1859,13 @@ def get_metadata(self, name): if name=='PKG-INFO': with io.open(self.path, encoding='utf-8') as f: - metadata = f.read() + try: + metadata = f.read() + except UnicodeDecodeError as exc: + # add path context to error message + tmpl = " in {self.path}" + exc.reason += tmpl.format(self=self) + raise return metadata raise KeyError("No metadata except PKG-INFO is available") @@ -2028,12 +2054,13 @@ corresponding to their sys.path order """ sys_path = [_normalize_cached(p) for p in sys.path] - def position_in_sys_path(p): + def position_in_sys_path(path): """ Return the ordinal of the path based on its position in sys.path """ - parts = p.split(os.sep) - parts = parts[:-(package_name.count('.') + 1)] + path_parts = path.split(os.sep) + module_parts = package_name.count('.') + 1 + parts = path_parts[:-module_parts] return sys_path.index(_normalize_cached(os.sep.join(parts))) orig_path.sort(key=position_in_sys_path) diff -Nru python-setuptools-20.3.1/pkg_resources/tests/test_resources.py python-setuptools-20.7.0/pkg_resources/tests/test_resources.py --- python-setuptools-20.3.1/pkg_resources/tests/test_resources.py 2016-03-15 21:07:38.000000000 +0000 +++ python-setuptools-20.7.0/pkg_resources/tests/test_resources.py 2016-04-10 19:22:56.000000000 +0000 @@ -15,17 +15,6 @@ WorkingSet) -def safe_repr(obj, short=False): - """ copied from Python2.7""" - try: - result = repr(obj) - except Exception: - result = object.__repr__(obj) - if not short or len(result) < pkg_resources._MAX_LENGTH: - return result - return result[:pkg_resources._MAX_LENGTH] + ' [truncated]...' - - class Metadata(pkg_resources.EmptyProvider): """Mock object to return metadata as if from an on-disk distribution""" @@ -182,6 +171,108 @@ msg = 'Foo 0.9 is installed but Foo==1.2 is required' assert vc.value.report() == msg + def test_environment_marker_evaluation_negative(self): + """Environment markers are evaluated at resolution time.""" + ad = pkg_resources.Environment([]) + ws = WorkingSet([]) + res = ws.resolve(parse_requirements("Foo;python_version<'2'"), ad) + assert list(res) == [] + + def test_environment_marker_evaluation_positive(self): + ad = pkg_resources.Environment([]) + ws = WorkingSet([]) + Foo = Distribution.from_filename("/foo_dir/Foo-1.2.dist-info") + ad.add(Foo) + res = ws.resolve(parse_requirements("Foo;python_version>='2'"), ad) + assert list(res) == [Foo] + + def test_environment_marker_evaluation_called(self): + """ + If one package foo requires bar without any extras, + markers should pass for bar. + """ + parent_req, = parse_requirements("foo") + req, = parse_requirements("bar;python_version>='2'") + req_extras = pkg_resources._ReqExtras({req: parent_req.extras}) + assert req_extras.markers_pass(req) + + parent_req, = parse_requirements("foo[]") + req, = parse_requirements("bar;python_version>='2'") + req_extras = pkg_resources._ReqExtras({req: parent_req.extras}) + assert req_extras.markers_pass(req) + + # extra should not be present in the marker namespace if + # no markers were supplied + parent_req, = parse_requirements("foo") + req, = parse_requirements("bar;extra==''") + req_extras = pkg_resources._ReqExtras({req: parent_req.extras}) + with pytest.raises(packaging.markers.UndefinedEnvironmentName): + req_extras.markers_pass(req) + + def test_marker_evaluation_with_extras(self): + """Extras are also evaluated as markers at resolution time.""" + ad = pkg_resources.Environment([]) + ws = WorkingSet([]) + # Metadata needs to be native strings due to cStringIO behaviour in + # 2.6, so use str(). + Foo = Distribution.from_filename( + "/foo_dir/Foo-1.2.dist-info", + metadata=Metadata(("METADATA", str("Provides-Extra: baz\n" + "Requires-Dist: quux; extra=='baz'"))) + ) + ad.add(Foo) + assert list(ws.resolve(parse_requirements("Foo"), ad)) == [Foo] + quux = Distribution.from_filename("/foo_dir/quux-1.0.dist-info") + ad.add(quux) + res = list(ws.resolve(parse_requirements("Foo[baz]"), ad)) + assert res == [Foo,quux] + + def test_marker_evaluation_with_multiple_extras(self): + ad = pkg_resources.Environment([]) + ws = WorkingSet([]) + # Metadata needs to be native strings due to cStringIO behaviour in + # 2.6, so use str(). + Foo = Distribution.from_filename( + "/foo_dir/Foo-1.2.dist-info", + metadata=Metadata(("METADATA", str("Provides-Extra: baz\n" + "Requires-Dist: quux; extra=='baz'\n" + "Provides-Extra: bar\n" + "Requires-Dist: fred; extra=='bar'\n"))) + ) + ad.add(Foo) + quux = Distribution.from_filename("/foo_dir/quux-1.0.dist-info") + ad.add(quux) + fred = Distribution.from_filename("/foo_dir/fred-0.1.dist-info") + ad.add(fred) + res = list(ws.resolve(parse_requirements("Foo[baz,bar]"), ad)) + assert sorted(res) == [fred,quux,Foo] + + def test_marker_evaluation_with_extras_loop(self): + ad = pkg_resources.Environment([]) + ws = WorkingSet([]) + # Metadata needs to be native strings due to cStringIO behaviour in + # 2.6, so use str(). + a = Distribution.from_filename( + "/foo_dir/a-0.2.dist-info", + metadata=Metadata(("METADATA", str("Requires-Dist: c[a]"))) + ) + b = Distribution.from_filename( + "/foo_dir/b-0.3.dist-info", + metadata=Metadata(("METADATA", str("Requires-Dist: c[b]"))) + ) + c = Distribution.from_filename( + "/foo_dir/c-1.0.dist-info", + metadata=Metadata(("METADATA", str("Provides-Extra: a\n" + "Requires-Dist: b;extra=='a'\n" + "Provides-Extra: b\n" + "Requires-Dist: foo;extra=='b'"))) + ) + foo = Distribution.from_filename("/foo_dir/foo-0.1.dist-info") + for dist in (a, b, c, foo): + ad.add(dist) + res = list(ws.resolve(parse_requirements("a"), ad)) + assert res == [a, c, b, foo] + def testDistroDependsOptions(self): d = self.distRequires(""" Twisted>=1.5 @@ -314,7 +405,10 @@ def checkSubMap(self, m): assert len(m) == len(self.submap_expect) for key, ep in self.submap_expect.items(): - assert repr(m.get(key)) == repr(ep) + assert m.get(key).name == ep.name + assert m.get(key).module_name == ep.module_name + assert sorted(m.get(key).attrs) == sorted(ep.attrs) + assert sorted(m.get(key).extras) == sorted(ep.extras) submap_expect = dict( feature1=EntryPoint('feature1', 'somemodule', ['somefunction']), @@ -717,7 +811,7 @@ sys.path is imported, and that the namespace package's __path__ is in the correct order. - Regression test for https://bitbucket.org/pypa/setuptools/issues/207 + Regression test for https://github.com/pypa/setuptools/issues/207 """ tmpdir = symlinked_tmpdir diff -Nru python-setuptools-20.3.1/pkg_resources/_vendor/packaging/__about__.py python-setuptools-20.7.0/pkg_resources/_vendor/packaging/__about__.py --- python-setuptools-20.3.1/pkg_resources/_vendor/packaging/__about__.py 2016-03-15 06:23:33.000000000 +0000 +++ python-setuptools-20.7.0/pkg_resources/_vendor/packaging/__about__.py 2016-04-10 19:22:56.000000000 +0000 @@ -12,7 +12,7 @@ __summary__ = "Core utilities for Python packages" __uri__ = "https://github.com/pypa/packaging" -__version__ = "16.5" +__version__ = "16.6" __author__ = "Donald Stufft and individual contributors" __email__ = "donald@stufft.io" diff -Nru python-setuptools-20.3.1/pkg_resources/_vendor/packaging/markers.py python-setuptools-20.7.0/pkg_resources/_vendor/packaging/markers.py --- python-setuptools-20.3.1/pkg_resources/_vendor/packaging/markers.py 2016-03-15 06:23:33.000000000 +0000 +++ python-setuptools-20.7.0/pkg_resources/_vendor/packaging/markers.py 2016-04-10 19:22:56.000000000 +0000 @@ -73,9 +73,14 @@ L("python_version") | L("sys_platform") | L("os_name") | + L("os.name") | # PEP-345 + L("sys.platform") | # PEP-345 + L("platform.version") | # PEP-345 + L("platform.machine") | # PEP-345 + L("platform.python_implementation") | # PEP-345 L("extra") ) -VARIABLE.setParseAction(lambda s, l, t: Variable(t[0])) +VARIABLE.setParseAction(lambda s, l, t: Variable(t[0].replace('.', '_'))) VERSION_CMP = ( L("===") | diff -Nru python-setuptools-20.3.1/pkg_resources/_vendor/vendored.txt python-setuptools-20.7.0/pkg_resources/_vendor/vendored.txt --- python-setuptools-20.3.1/pkg_resources/_vendor/vendored.txt 2016-03-15 06:23:27.000000000 +0000 +++ python-setuptools-20.7.0/pkg_resources/_vendor/vendored.txt 2016-04-10 19:22:56.000000000 +0000 @@ -1,3 +1,3 @@ -packaging==16.5 +packaging==16.6 pyparsing==2.0.6 six==1.10.0 diff -Nru python-setuptools-20.3.1/README.rst python-setuptools-20.7.0/README.rst --- python-setuptools-20.3.1/README.rst 1970-01-01 00:00:00.000000000 +0000 +++ python-setuptools-20.7.0/README.rst 2016-04-10 19:22:56.000000000 +0000 @@ -0,0 +1,236 @@ +=============================== +Installing and Using Setuptools +=============================== + +.. contents:: **Table of Contents** + + +`Change History `_. + +------------------------- +Installation Instructions +------------------------- + +The recommended way to bootstrap setuptools on any system is to download +`ez_setup.py`_ and run it using the target Python environment. Different +operating systems have different recommended techniques to accomplish this +basic routine, so below are some examples to get you started. + +Setuptools requires Python 2.6 or later. To install setuptools +on Python 2.4 or Python 2.5, use the `bootstrap script for Setuptools 1.x +`_. + +The link provided to ez_setup.py is a bookmark to bootstrap script for the +latest known stable release. + +.. _ez_setup.py: https://bootstrap.pypa.io/ez_setup.py + +Windows (Powershell 3 or later) +=============================== + +For best results, uninstall previous versions FIRST (see `Uninstalling`_). + +Using Windows 8 (which includes PowerShell 3) or earlier versions of Windows +with PowerShell 3 installed, it's possible to install with one simple +Powershell command. Start up Powershell and paste this command:: + + > (Invoke-WebRequest https://bootstrap.pypa.io/ez_setup.py).Content | python - + +You must start the Powershell with Administrative privileges or you may choose +to install a user-local installation:: + + > (Invoke-WebRequest https://bootstrap.pypa.io/ez_setup.py).Content | python - --user + +If you have Python 3.3 or later, you can use the ``py`` command to install to +different Python versions. For example, to install to Python 3.3 if you have +Python 2.7 installed:: + + > (Invoke-WebRequest https://bootstrap.pypa.io/ez_setup.py).Content | py -3 - + +The recommended way to install setuptools on Windows is to download +`ez_setup.py`_ and run it. The script will download the appropriate +distribution file and install it for you. + +Once installation is complete, you will find an ``easy_install`` program in +your Python ``Scripts`` subdirectory. For simple invocation and best results, +add this directory to your ``PATH`` environment variable, if it is not already +present. If you did a user-local install, the ``Scripts`` subdirectory is +``$env:APPDATA\Python\Scripts``. + + +Windows (simplified) +==================== + +For Windows without PowerShell 3 or for installation without a command-line, +download `ez_setup.py`_ using your preferred web browser or other technique +and "run" that file. + + +Unix (wget) +=========== + +Most Linux distributions come with wget. + +Download `ez_setup.py`_ and run it using the target Python version. The script +will download the appropriate version and install it for you:: + + > wget https://bootstrap.pypa.io/ez_setup.py -O - | python + +Note that you will may need to invoke the command with superuser privileges to +install to the system Python:: + + > wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python + +Alternatively, Setuptools may be installed to a user-local path:: + + > wget https://bootstrap.pypa.io/ez_setup.py -O - | python - --user + +Note that on some older systems (noted on Debian 6 and CentOS 5 installations), +`wget` may refuse to download `ez_setup.py`, complaining that the certificate common name `*.c.ssl.fastly.net` +does not match the host name `bootstrap.pypa.io`. In addition, the `ez_setup.py` script may then encounter similar problems using +`wget` internally to download `setuptools-x.y.zip`, complaining that the certificate common name of `www.python.org` does not match the +host name `pypi.python.org`. Those are known issues, related to a bug in the older versions of `wget` +(see `Issue 59 `_). If you happen to encounter them, +install Setuptools as follows:: + + > wget --no-check-certificate https://bootstrap.pypa.io/ez_setup.py + > python ez_setup.py --insecure + + +Unix including Mac OS X (curl) +============================== + +If your system has curl installed, follow the ``wget`` instructions but +replace ``wget`` with ``curl`` and ``-O`` with ``-o``. For example:: + + > curl https://bootstrap.pypa.io/ez_setup.py -o - | python + + +Advanced Installation +===================== + +For more advanced installation options, such as installing to custom +locations or prefixes, download and extract the source +tarball from `Setuptools on PyPI `_ +and run setup.py with any supported distutils and Setuptools options. +For example:: + + setuptools-x.x$ python setup.py install --prefix=/opt/setuptools + +Use ``--help`` to get a full options list, but we recommend consulting +the `EasyInstall manual`_ for detailed instructions, especially `the section +on custom installation locations`_. + +.. _EasyInstall manual: https://pythonhosted.org/setuptools/EasyInstall +.. _the section on custom installation locations: https://pythonhosted.org/setuptools/EasyInstall#custom-installation-locations + + +Downloads +========= + +All setuptools downloads can be found at `the project's home page in the Python +Package Index`_. Scroll to the very bottom of the page to find the links. + +.. _the project's home page in the Python Package Index: https://pypi.python.org/pypi/setuptools + +In addition to the PyPI downloads, the development version of ``setuptools`` +is available from the `Bitbucket repo`_, and in-development versions of the +`0.6 branch`_ are available as well. + +.. _Bitbucket repo: https://bitbucket.org/pypa/setuptools/get/default.tar.gz#egg=setuptools-dev +.. _0.6 branch: http://svn.python.org/projects/sandbox/branches/setuptools-0.6/#egg=setuptools-dev06 + +Uninstalling +============ + +On Windows, if Setuptools was installed using an ``.exe`` or ``.msi`` +installer, simply use the uninstall feature of "Add/Remove Programs" in the +Control Panel. + +Otherwise, to uninstall Setuptools or Distribute, regardless of the Python +version, delete all ``setuptools*`` and ``distribute*`` files and +directories from your system's ``site-packages`` directory +(and any other ``sys.path`` directories) FIRST. + +If you are upgrading or otherwise plan to re-install Setuptools or Distribute, +nothing further needs to be done. If you want to completely remove Setuptools, +you may also want to remove the 'easy_install' and 'easy_install-x.x' scripts +and associated executables installed to the Python scripts directory. + +-------------------------------- +Using Setuptools and EasyInstall +-------------------------------- + +Here are some of the available manuals, tutorials, and other resources for +learning about Setuptools, Python Eggs, and EasyInstall: + +* `The EasyInstall user's guide and reference manual`_ +* `The setuptools Developer's Guide`_ +* `The pkg_resources API reference`_ +* `The Internal Structure of Python Eggs`_ + +Questions, comments, and bug reports should be directed to the `distutils-sig +mailing list`_. If you have written (or know of) any tutorials, documentation, +plug-ins, or other resources for setuptools users, please let us know about +them there, so this reference list can be updated. If you have working, +*tested* patches to correct problems or add features, you may submit them to +the `setuptools bug tracker`_. + +.. _setuptools bug tracker: https://github.com/pypa/setuptools/issues +.. _The Internal Structure of Python Eggs: https://pythonhosted.org/setuptools/formats.html +.. _The setuptools Developer's Guide: https://pythonhosted.org/setuptools/setuptools.html +.. _The pkg_resources API reference: https://pythonhosted.org/setuptools/pkg_resources.html +.. _The EasyInstall user's guide and reference manual: https://pythonhosted.org/setuptools/easy_install.html +.. _distutils-sig mailing list: http://mail.python.org/pipermail/distutils-sig/ + + +------- +Credits +------- + +* The original design for the ``.egg`` format and the ``pkg_resources`` API was + co-created by Phillip Eby and Bob Ippolito. Bob also implemented the first + version of ``pkg_resources``, and supplied the OS X operating system version + compatibility algorithm. + +* Ian Bicking implemented many early "creature comfort" features of + easy_install, including support for downloading via Sourceforge and + Subversion repositories. Ian's comments on the Web-SIG about WSGI + application deployment also inspired the concept of "entry points" in eggs, + and he has given talks at PyCon and elsewhere to inform and educate the + community about eggs and setuptools. + +* Jim Fulton contributed time and effort to build automated tests of various + aspects of ``easy_install``, and supplied the doctests for the command-line + ``.exe`` wrappers on Windows. + +* Phillip J. Eby is the seminal author of setuptools, and + first proposed the idea of an importable binary distribution format for + Python application plug-ins. + +* Significant parts of the implementation of setuptools were funded by the Open + Source Applications Foundation, to provide a plug-in infrastructure for the + Chandler PIM application. In addition, many OSAF staffers (such as Mike + "Code Bear" Taylor) contributed their time and stress as guinea pigs for the + use of eggs and setuptools, even before eggs were "cool". (Thanks, guys!) + +* Tarek Ziadé is the principal author of the Distribute fork, which + re-invigorated the community on the project, encouraged renewed innovation, + and addressed many defects. + +* Since the merge with Distribute, Jason R. Coombs is the + maintainer of setuptools. The project is maintained in coordination with + the Python Packaging Authority (PyPA) and the larger Python community. + +.. _files: + + +--------------- +Code of Conduct +--------------- + +Everyone interacting in the setuptools project's codebases, issue trackers, +chat rooms, and mailing lists is expected to follow the +`PyPA Code of Conduct`_. + +.. _PyPA Code of Conduct: https://www.pypa.io/en/latest/code-of-conduct/ diff -Nru python-setuptools-20.3.1/README.txt python-setuptools-20.7.0/README.txt --- python-setuptools-20.3.1/README.txt 2016-02-07 14:25:06.000000000 +0000 +++ python-setuptools-20.7.0/README.txt 1970-01-01 00:00:00.000000000 +0000 @@ -1,236 +0,0 @@ -=============================== -Installing and Using Setuptools -=============================== - -.. contents:: **Table of Contents** - - -`Change History `_. - -------------------------- -Installation Instructions -------------------------- - -The recommended way to bootstrap setuptools on any system is to download -`ez_setup.py`_ and run it using the target Python environment. Different -operating systems have different recommended techniques to accomplish this -basic routine, so below are some examples to get you started. - -Setuptools requires Python 2.6 or later. To install setuptools -on Python 2.4 or Python 2.5, use the `bootstrap script for Setuptools 1.x -`_. - -The link provided to ez_setup.py is a bookmark to bootstrap script for the -latest known stable release. - -.. _ez_setup.py: https://bootstrap.pypa.io/ez_setup.py - -Windows (Powershell 3 or later) -=============================== - -For best results, uninstall previous versions FIRST (see `Uninstalling`_). - -Using Windows 8 (which includes PowerShell 3) or earlier versions of Windows -with PowerShell 3 installed, it's possible to install with one simple -Powershell command. Start up Powershell and paste this command:: - - > (Invoke-WebRequest https://bootstrap.pypa.io/ez_setup.py).Content | python - - -You must start the Powershell with Administrative privileges or you may choose -to install a user-local installation:: - - > (Invoke-WebRequest https://bootstrap.pypa.io/ez_setup.py).Content | python - --user - -If you have Python 3.3 or later, you can use the ``py`` command to install to -different Python versions. For example, to install to Python 3.3 if you have -Python 2.7 installed:: - - > (Invoke-WebRequest https://bootstrap.pypa.io/ez_setup.py).Content | py -3 - - -The recommended way to install setuptools on Windows is to download -`ez_setup.py`_ and run it. The script will download the appropriate -distribution file and install it for you. - -Once installation is complete, you will find an ``easy_install`` program in -your Python ``Scripts`` subdirectory. For simple invocation and best results, -add this directory to your ``PATH`` environment variable, if it is not already -present. If you did a user-local install, the ``Scripts`` subdirectory is -``$env:APPDATA\Python\Scripts``. - - -Windows (simplified) -==================== - -For Windows without PowerShell 3 or for installation without a command-line, -download `ez_setup.py`_ using your preferred web browser or other technique -and "run" that file. - - -Unix (wget) -=========== - -Most Linux distributions come with wget. - -Download `ez_setup.py`_ and run it using the target Python version. The script -will download the appropriate version and install it for you:: - - > wget https://bootstrap.pypa.io/ez_setup.py -O - | python - -Note that you will may need to invoke the command with superuser privileges to -install to the system Python:: - - > wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python - -Alternatively, Setuptools may be installed to a user-local path:: - - > wget https://bootstrap.pypa.io/ez_setup.py -O - | python - --user - -Note that on some older systems (noted on Debian 6 and CentOS 5 installations), -`wget` may refuse to download `ez_setup.py`, complaining that the certificate common name `*.c.ssl.fastly.net` -does not match the host name `bootstrap.pypa.io`. In addition, the `ez_setup.py` script may then encounter similar problems using -`wget` internally to download `setuptools-x.y.zip`, complaining that the certificate common name of `www.python.org` does not match the -host name `pypi.python.org`. Those are known issues, related to a bug in the older versions of `wget` -(see `Issue 59 `_). If you happen to encounter them, -install Setuptools as follows:: - - > wget --no-check-certificate https://bootstrap.pypa.io/ez_setup.py - > python ez_setup.py --insecure - - -Unix including Mac OS X (curl) -============================== - -If your system has curl installed, follow the ``wget`` instructions but -replace ``wget`` with ``curl`` and ``-O`` with ``-o``. For example:: - - > curl https://bootstrap.pypa.io/ez_setup.py -o - | python - - -Advanced Installation -===================== - -For more advanced installation options, such as installing to custom -locations or prefixes, download and extract the source -tarball from `Setuptools on PyPI `_ -and run setup.py with any supported distutils and Setuptools options. -For example:: - - setuptools-x.x$ python setup.py install --prefix=/opt/setuptools - -Use ``--help`` to get a full options list, but we recommend consulting -the `EasyInstall manual`_ for detailed instructions, especially `the section -on custom installation locations`_. - -.. _EasyInstall manual: https://pythonhosted.org/setuptools/EasyInstall -.. _the section on custom installation locations: https://pythonhosted.org/setuptools/EasyInstall#custom-installation-locations - - -Downloads -========= - -All setuptools downloads can be found at `the project's home page in the Python -Package Index`_. Scroll to the very bottom of the page to find the links. - -.. _the project's home page in the Python Package Index: https://pypi.python.org/pypi/setuptools - -In addition to the PyPI downloads, the development version of ``setuptools`` -is available from the `Bitbucket repo`_, and in-development versions of the -`0.6 branch`_ are available as well. - -.. _Bitbucket repo: https://bitbucket.org/pypa/setuptools/get/default.tar.gz#egg=setuptools-dev -.. _0.6 branch: http://svn.python.org/projects/sandbox/branches/setuptools-0.6/#egg=setuptools-dev06 - -Uninstalling -============ - -On Windows, if Setuptools was installed using an ``.exe`` or ``.msi`` -installer, simply use the uninstall feature of "Add/Remove Programs" in the -Control Panel. - -Otherwise, to uninstall Setuptools or Distribute, regardless of the Python -version, delete all ``setuptools*`` and ``distribute*`` files and -directories from your system's ``site-packages`` directory -(and any other ``sys.path`` directories) FIRST. - -If you are upgrading or otherwise plan to re-install Setuptools or Distribute, -nothing further needs to be done. If you want to completely remove Setuptools, -you may also want to remove the 'easy_install' and 'easy_install-x.x' scripts -and associated executables installed to the Python scripts directory. - --------------------------------- -Using Setuptools and EasyInstall --------------------------------- - -Here are some of the available manuals, tutorials, and other resources for -learning about Setuptools, Python Eggs, and EasyInstall: - -* `The EasyInstall user's guide and reference manual`_ -* `The setuptools Developer's Guide`_ -* `The pkg_resources API reference`_ -* `The Internal Structure of Python Eggs`_ - -Questions, comments, and bug reports should be directed to the `distutils-sig -mailing list`_. If you have written (or know of) any tutorials, documentation, -plug-ins, or other resources for setuptools users, please let us know about -them there, so this reference list can be updated. If you have working, -*tested* patches to correct problems or add features, you may submit them to -the `setuptools bug tracker`_. - -.. _setuptools bug tracker: https://bitbucket.org/pypa/setuptools/issues -.. _The Internal Structure of Python Eggs: https://pythonhosted.org/setuptools/formats.html -.. _The setuptools Developer's Guide: https://pythonhosted.org/setuptools/setuptools.html -.. _The pkg_resources API reference: https://pythonhosted.org/setuptools/pkg_resources.html -.. _The EasyInstall user's guide and reference manual: https://pythonhosted.org/setuptools/easy_install.html -.. _distutils-sig mailing list: http://mail.python.org/pipermail/distutils-sig/ - - -------- -Credits -------- - -* The original design for the ``.egg`` format and the ``pkg_resources`` API was - co-created by Phillip Eby and Bob Ippolito. Bob also implemented the first - version of ``pkg_resources``, and supplied the OS X operating system version - compatibility algorithm. - -* Ian Bicking implemented many early "creature comfort" features of - easy_install, including support for downloading via Sourceforge and - Subversion repositories. Ian's comments on the Web-SIG about WSGI - application deployment also inspired the concept of "entry points" in eggs, - and he has given talks at PyCon and elsewhere to inform and educate the - community about eggs and setuptools. - -* Jim Fulton contributed time and effort to build automated tests of various - aspects of ``easy_install``, and supplied the doctests for the command-line - ``.exe`` wrappers on Windows. - -* Phillip J. Eby is the seminal author of setuptools, and - first proposed the idea of an importable binary distribution format for - Python application plug-ins. - -* Significant parts of the implementation of setuptools were funded by the Open - Source Applications Foundation, to provide a plug-in infrastructure for the - Chandler PIM application. In addition, many OSAF staffers (such as Mike - "Code Bear" Taylor) contributed their time and stress as guinea pigs for the - use of eggs and setuptools, even before eggs were "cool". (Thanks, guys!) - -* Tarek Ziadé is the principal author of the Distribute fork, which - re-invigorated the community on the project, encouraged renewed innovation, - and addressed many defects. - -* Since the merge with Distribute, Jason R. Coombs is the - maintainer of setuptools. The project is maintained in coordination with - the Python Packaging Authority (PyPA) and the larger Python community. - -.. _files: - - ---------------- -Code of Conduct ---------------- - -Everyone interacting in the setuptools project's codebases, issue trackers, -chat rooms, and mailing lists is expected to follow the -`PyPA Code of Conduct`_. - -.. _PyPA Code of Conduct: https://www.pypa.io/en/latest/code-of-conduct/ diff -Nru python-setuptools-20.3.1/release.py python-setuptools-20.7.0/release.py --- python-setuptools-20.3.1/release.py 2016-02-18 03:07:05.000000000 +0000 +++ python-setuptools-20.7.0/release.py 1970-01-01 00:00:00.000000000 +0000 @@ -1,20 +0,0 @@ -""" -Setuptools is released using 'jaraco.packaging.release'. To make a release, -install jaraco.packaging and run 'python -m jaraco.packaging.release' -""" - -import os - -import pkg_resources - -pkg_resources.require('jaraco.packaging>=2.0') -pkg_resources.require('wheel') - -files_with_versions = 'setuptools/version.py', - -# bdist_wheel must be included or pip will break -dist_commands = 'sdist', 'bdist_wheel' - -test_info = "Travis-CI tests: http://travis-ci.org/#!/jaraco/setuptools" - -os.environ["SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES"] = "1" diff -Nru python-setuptools-20.3.1/setup.cfg python-setuptools-20.7.0/setup.cfg --- python-setuptools-20.3.1/setup.cfg 2016-03-18 15:14:06.000000000 +0000 +++ python-setuptools-20.7.0/setup.cfg 2016-04-10 19:24:12.000000000 +0000 @@ -1,10 +1,16 @@ +[bumpversion] +current_version = 20.7.0 +commit = True +tag = True + [egg_info] tag_build = tag_date = 0 tag_svn_revision = 0 [aliases] -release = egg_info -RDb '' +clean_egg_info = egg_info -RDb '' +release = clean_egg_info sdist bdist_wheel build_sphinx source = register sdist binary binary = bdist_egg upload --show-response test = pytest @@ -23,3 +29,5 @@ [wheel] universal = 1 +[bumpversion:file:setup.py] + diff -Nru python-setuptools-20.3.1/setup.py python-setuptools-20.7.0/setup.py --- python-setuptools-20.3.1/setup.py 2016-02-25 02:42:28.000000000 +0000 +++ python-setuptools-20.7.0/setup.py 2016-04-10 19:22:56.000000000 +0000 @@ -22,11 +22,6 @@ SETUP_COMMANDS = command_ns['__all__'] -main_ns = {} -ver_path = convert_path('setuptools/version.py') -with open(ver_path) as ver_file: - exec(ver_file.read(), main_ns) - import setuptools scripts = [] @@ -48,7 +43,7 @@ console_scripts = list(_gen_console_scripts()) -readme_file = io.open('README.txt', encoding='utf-8') +readme_file = io.open('README.rst', encoding='utf-8') with readme_file: long_description = readme_file.read() @@ -66,19 +61,21 @@ needs_pytest = set(['ptr', 'pytest', 'test']).intersection(sys.argv) pytest_runner = ['pytest-runner'] if needs_pytest else [] -needs_sphinx = set(['build_sphinx', 'upload_docs']).intersection(sys.argv) -sphinx = ['sphinx', 'rst.linker>=1.4'] if needs_sphinx else [] +needs_sphinx = set(['build_sphinx', 'upload_docs', 'release']).intersection(sys.argv) +sphinx = ['sphinx', 'rst.linker>=1.5'] if needs_sphinx else [] +needs_wheel = set(['release', 'bdist_wheel']).intersection(sys.argv) +wheel = ['wheel'] if needs_wheel else [] setup_params = dict( name="setuptools", - version=main_ns['__version__'], + version="20.7.0", description="Easily download, build, install, upgrade, and uninstall " "Python packages", author="Python Packaging Authority", author_email="distutils-sig@python.org", long_description=long_description, keywords="CPAN PyPI distutils eggs package management", - url="https://bitbucket.org/pypa/setuptools", + url="https://github.com/pypa/setuptools", src_root=src_root, packages=setuptools.find_packages(exclude=['*.tests']), package_data=package_data, @@ -161,7 +158,7 @@ 'pytest>=2.8', ] + (['mock'] if sys.version_info[:2] < (3, 3) else []), setup_requires=[ - ] + sphinx + pytest_runner, + ] + sphinx + pytest_runner + wheel, ) if __name__ == '__main__': diff -Nru python-setuptools-20.3.1/setuptools/command/easy_install.py python-setuptools-20.7.0/setuptools/command/easy_install.py --- python-setuptools-20.3.1/setuptools/command/easy_install.py 2016-03-15 21:07:38.000000000 +0000 +++ python-setuptools-20.7.0/setuptools/command/easy_install.py 2016-04-10 19:22:56.000000000 +0000 @@ -780,7 +780,7 @@ There are a couple of template scripts in the package. This function loads one of them and prepares it for use. """ - # See https://bitbucket.org/pypa/setuptools/issue/134 for info + # See https://github.com/pypa/setuptools/issues/134 for info # on script file naming and downstream issues with SVR4 name = 'script.tmpl' if dev_path: @@ -1762,7 +1762,7 @@ # * Does not support the dict.pop() method, forcing us to use the # get/del patterns instead. For more detailed information see the # following links: - # https://bitbucket.org/pypa/setuptools/issue/202/more-robust-zipimporter-cache-invalidation#comment-10495960 + # https://github.com/pypa/setuptools/issues/202#issuecomment-202913420 # https://bitbucket.org/pypy/pypy/src/dd07756a34a41f674c0cacfbc8ae1d4cc9ea2ae4/pypy/module/zipimport/interp_zipimport.py#cl-99 old_entry = cache[p] del cache[p] diff -Nru python-setuptools-20.3.1/setuptools/command/install.py python-setuptools-20.7.0/setuptools/command/install.py --- python-setuptools-20.3.1/setuptools/command/install.py 2016-01-30 17:43:56.000000000 +0000 +++ python-setuptools-20.7.0/setuptools/command/install.py 2016-04-10 19:22:56.000000000 +0000 @@ -8,7 +8,7 @@ import setuptools # Prior to numpy 1.9, NumPy relies on the '_install' name, so provide it for -# now. See https://bitbucket.org/pypa/setuptools/issue/199/ +# now. See https://github.com/pypa/setuptools/issues/199/ _install = orig.install diff -Nru python-setuptools-20.3.1/setuptools/dist.py python-setuptools-20.7.0/setuptools/dist.py --- python-setuptools-20.3.1/setuptools/dist.py 2016-02-25 13:45:35.000000000 +0000 +++ python-setuptools-20.7.0/setuptools/dist.py 2016-04-10 19:22:56.000000000 +0000 @@ -720,7 +720,7 @@ """ **deprecated** -- The `Feature` facility was never completely implemented or supported, `has reported issues - `_ and will be removed in + `_ and will be removed in a future version. A subset of the distribution that can be excluded if unneeded/wanted @@ -777,7 +777,7 @@ def warn_deprecated(): warnings.warn( "Features are deprecated and will be removed in a future " - "version. See http://bitbucket.org/pypa/setuptools/65.", + "version. See https://github.com/pypa/setuptools/issues/65.", DeprecationWarning, stacklevel=3, ) diff -Nru python-setuptools-20.3.1/setuptools/msvc9_support.py python-setuptools-20.7.0/setuptools/msvc9_support.py --- python-setuptools-20.3.1/setuptools/msvc9_support.py 2016-02-24 13:23:44.000000000 +0000 +++ python-setuptools-20.7.0/setuptools/msvc9_support.py 2016-04-10 19:22:56.000000000 +0000 @@ -1,6 +1,6 @@ try: import distutils.msvc9compiler -except ImportError: +except Exception: pass unpatched = dict() diff -Nru python-setuptools-20.3.1/setuptools/tests/test_egg_info.py python-setuptools-20.7.0/setuptools/tests/test_egg_info.py --- python-setuptools-20.3.1/setuptools/tests/test_egg_info.py 2016-02-18 03:07:05.000000000 +0000 +++ python-setuptools-20.7.0/setuptools/tests/test_egg_info.py 2016-04-10 19:22:56.000000000 +0000 @@ -1,4 +1,5 @@ import os +import glob import stat from setuptools.extern.six.moves import map @@ -89,17 +90,61 @@ sources_txt = os.path.join(egg_info_dir, 'SOURCES.txt') assert 'docs/usage.rst' in open(sources_txt).read().split('\n') - def _run_install_command(self, tmpdir_cwd, env): + def _setup_script_with_requires(self, requires_line): + setup_script = DALS(""" + from setuptools import setup + + setup( + name='foo', + %s + zip_safe=False, + ) + """ % requires_line) + build_files({ + 'setup.py': setup_script, + }) + + def test_install_requires_with_markers(self, tmpdir_cwd, env): + self._setup_script_with_requires( + """install_requires=["barbazquux;python_version<'2'"],""") + self._run_install_command(tmpdir_cwd, env) + egg_info_dir = self._find_egg_info_files(env.paths['lib']).base + requires_txt = os.path.join(egg_info_dir, 'requires.txt') + assert "barbazquux;python_version<'2'" in open( + requires_txt).read().split('\n') + assert glob.glob(os.path.join(env.paths['lib'], 'barbazquux*')) == [] + + def test_setup_requires_with_markers(self, tmpdir_cwd, env): + self._setup_script_with_requires( + """setup_requires=["barbazquux;python_version<'2'"],""") + self._run_install_command(tmpdir_cwd, env) + assert glob.glob(os.path.join(env.paths['lib'], 'barbazquux*')) == [] + + def test_tests_require_with_markers(self, tmpdir_cwd, env): + self._setup_script_with_requires( + """tests_require=["barbazquux;python_version<'2'"],""") + self._run_install_command( + tmpdir_cwd, env, cmd=['test'], output="Ran 0 tests in") + assert glob.glob(os.path.join(env.paths['lib'], 'barbazquux*')) == [] + + def test_extra_requires_with_markers(self, tmpdir_cwd, env): + self._setup_script_with_requires( + """extra_requires={":python_version<'2'": ["barbazquux"]},""") + self._run_install_command(tmpdir_cwd, env) + assert glob.glob(os.path.join(env.paths['lib'], 'barbazquux*')) == [] + + def _run_install_command(self, tmpdir_cwd, env, cmd=None, output=None): environ = os.environ.copy().update( HOME=env.paths['home'], ) - cmd = [ - 'install', - '--home', env.paths['home'], - '--install-lib', env.paths['lib'], - '--install-scripts', env.paths['scripts'], - '--install-data', env.paths['data'], - ] + if cmd is None: + cmd = [ + 'install', + '--home', env.paths['home'], + '--install-lib', env.paths['lib'], + '--install-scripts', env.paths['scripts'], + '--install-data', env.paths['data'], + ] code, data = environment.run_setup_py( cmd=cmd, pypath=os.pathsep.join([env.paths['lib'], str(tmpdir_cwd)]), @@ -108,6 +153,8 @@ ) if code: raise AssertionError(data) + if output: + assert output in data def _find_egg_info_files(self, root): class DirList(list): diff -Nru python-setuptools-20.3.1/setuptools/version.py python-setuptools-20.7.0/setuptools/version.py --- python-setuptools-20.3.1/setuptools/version.py 2016-03-18 15:13:59.000000000 +0000 +++ python-setuptools-20.7.0/setuptools/version.py 2016-04-10 19:22:56.000000000 +0000 @@ -1 +1,6 @@ -__version__ = '20.3.1' +import pkg_resources + +try: + __version__ = pkg_resources.require('setuptools')[0].version +except Exception: + __version__ = 'unknown' diff -Nru python-setuptools-20.3.1/setuptools.egg-info/entry_points.txt python-setuptools-20.7.0/setuptools.egg-info/entry_points.txt --- python-setuptools-20.3.1/setuptools.egg-info/entry_points.txt 2016-03-18 15:14:03.000000000 +0000 +++ python-setuptools-20.7.0/setuptools.egg-info/entry_points.txt 2016-04-10 19:24:12.000000000 +0000 @@ -1,6 +1,6 @@ [console_scripts] easy_install = setuptools.command.easy_install:main -easy_install-3.5 = setuptools.command.easy_install:main +easy_install-2.7 = setuptools.command.easy_install:main [distutils.commands] alias = setuptools.command.alias:alias diff -Nru python-setuptools-20.3.1/setuptools.egg-info/PKG-INFO python-setuptools-20.7.0/setuptools.egg-info/PKG-INFO --- python-setuptools-20.3.1/setuptools.egg-info/PKG-INFO 2016-03-18 15:14:03.000000000 +0000 +++ python-setuptools-20.7.0/setuptools.egg-info/PKG-INFO 2016-04-10 19:24:12.000000000 +0000 @@ -1,8 +1,8 @@ Metadata-Version: 1.1 Name: setuptools -Version: 20.3.1 +Version: 20.7.0 Summary: Easily download, build, install, upgrade, and uninstall Python packages -Home-page: https://bitbucket.org/pypa/setuptools +Home-page: https://github.com/pypa/setuptools Author: Python Packaging Authority Author-email: distutils-sig@python.org License: UNKNOWN @@ -26,7 +26,7 @@ Setuptools requires Python 2.6 or later. To install setuptools on Python 2.4 or Python 2.5, use the `bootstrap script for Setuptools 1.x - `_. + `_. The link provided to ez_setup.py is a bookmark to bootstrap script for the latest known stable release. @@ -184,7 +184,7 @@ *tested* patches to correct problems or add features, you may submit them to the `setuptools bug tracker`_. - .. _setuptools bug tracker: https://bitbucket.org/pypa/setuptools/issues + .. _setuptools bug tracker: https://github.com/pypa/setuptools/issues .. _The Internal Structure of Python Eggs: https://pythonhosted.org/setuptools/formats.html .. _The setuptools Developer's Guide: https://pythonhosted.org/setuptools/setuptools.html .. _The pkg_resources API reference: https://pythonhosted.org/setuptools/pkg_resources.html diff -Nru python-setuptools-20.3.1/setuptools.egg-info/SOURCES.txt python-setuptools-20.7.0/setuptools.egg-info/SOURCES.txt --- python-setuptools-20.3.1/setuptools.egg-info/SOURCES.txt 2016-03-18 15:14:06.000000000 +0000 +++ python-setuptools-20.7.0/setuptools.egg-info/SOURCES.txt 2016-04-10 19:24:12.000000000 +0000 @@ -1,6 +1,5 @@ -CHANGES.txt MANIFEST.in -README.txt +README.rst bootstrap.py conftest.py easy_install.py @@ -9,7 +8,6 @@ msvc-build-launcher.cmd pavement.py pytest.ini -release.py setup.cfg setup.py docs/Makefile diff -Nru python-setuptools-20.3.1/tests/manual_test.py python-setuptools-20.7.0/tests/manual_test.py --- python-setuptools-20.3.1/tests/manual_test.py 2016-02-07 14:25:06.000000000 +0000 +++ python-setuptools-20.7.0/tests/manual_test.py 2016-04-10 19:22:56.000000000 +0000 @@ -43,10 +43,8 @@ _VARS = {'base': '.', 'py_version_short': PYVER} -if sys.platform == 'win32': - PURELIB = INSTALL_SCHEMES['nt']['purelib'] -else: - PURELIB = INSTALL_SCHEMES['unix_prefix']['purelib'] +scheme = 'nt' if sys.platform == 'win32' else 'unix_prefix' +PURELIB = INSTALL_SCHEMES[scheme]['purelib'] @tempdir