Hello community,

here is the log from the commit of package python-setuptools for 
openSUSE:Factory checked in at 2015-10-14 16:43:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-setuptools (Old)
 and      /work/SRC/openSUSE:Factory/.python-setuptools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-setuptools"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-setuptools/python-setuptools.changes      
2015-08-23 15:42:31.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-setuptools.new/python-setuptools.changes 
2015-10-14 16:43:15.000000000 +0200
@@ -1,0 +2,28 @@
+Tue Oct  6 13:37:41 UTC 2015 - h...@urpla.net
+
+- update to 18.3.2:
+  * Correct another regression in setuptools.findall
+    where the fix for Python #12885 was lost.
+
+- update to 18.3.1:
+  * Issue #425: Correct regression in setuptools.findall.
+
+- update to 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.
+
+-------------------------------------------------------------------

Old:
----
  setuptools-18.2.tar.gz

New:
----
  setuptools-18.3.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-setuptools.spec ++++++
--- /var/tmp/diff_new_pack.Km5Rxx/_old  2015-10-14 16:43:16.000000000 +0200
+++ /var/tmp/diff_new_pack.Km5Rxx/_new  2015-10-14 16:43:16.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-setuptools
-Version:        18.2
+Version:        18.3.2
 Release:        0
 Url:            http://pypi.python.org/pypi/setuptools
 Summary:        Easily download, build, install, upgrade, and uninstall Python 
packages

++++++ setuptools-18.2.tar.gz -> setuptools-18.3.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.2/CHANGES.txt 
new/setuptools-18.3.2/CHANGES.txt
--- old/setuptools-18.2/CHANGES.txt     2015-08-19 18:45:47.000000000 +0200
+++ new/setuptools-18.3.2/CHANGES.txt   2015-09-19 18:26:28.000000000 +0200
@@ -2,6 +2,40 @@
 CHANGES
 =======
 
+------
+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
 ----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.2/PKG-INFO 
new/setuptools-18.3.2/PKG-INFO
--- old/setuptools-18.2/PKG-INFO        2015-08-19 18:46:16.000000000 +0200
+++ new/setuptools-18.3.2/PKG-INFO      2015-09-19 18:27:13.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: setuptools
-Version: 18.2
+Version: 18.3.2
 Summary: Easily download, build, install, upgrade, and uninstall Python 
packages
 Home-page: https://bitbucket.org/pypa/setuptools
 Author: Python Packaging Authority
@@ -232,6 +232,17 @@
         
         .. _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/
+        
 Keywords: CPAN PyPI distutils eggs package management
 Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
@@ -246,6 +257,7 @@
 Classifier: Programming Language :: Python :: 3.2
 Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
 Classifier: Topic :: System :: Archiving :: Packaging
 Classifier: Topic :: System :: Systems Administration
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.2/README.txt 
new/setuptools-18.3.2/README.txt
--- old/setuptools-18.2/README.txt      2015-08-07 19:08:28.000000000 +0200
+++ new/setuptools-18.3.2/README.txt    2015-09-19 18:00:35.000000000 +0200
@@ -223,3 +223,14 @@
   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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.2/docs/index.txt 
new/setuptools-18.3.2/docs/index.txt
--- old/setuptools-18.2/docs/index.txt  2015-08-07 19:08:28.000000000 +0200
+++ new/setuptools-18.3.2/docs/index.txt        2015-09-19 18:00:35.000000000 
+0200
@@ -23,4 +23,3 @@
    easy_install
    pkg_resources
    development
-   merge
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.2/docs/merge-faq.txt 
new/setuptools-18.3.2/docs/merge-faq.txt
--- old/setuptools-18.2/docs/merge-faq.txt      2015-06-18 14:36:06.000000000 
+0200
+++ new/setuptools-18.3.2/docs/merge-faq.txt    1970-01-01 01:00:00.000000000 
+0100
@@ -1,80 +0,0 @@
-Setuptools/Distribute Merge FAQ
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-How do I upgrade from Distribute?
-=================================
-
-Distribute specifically prohibits installation of Setuptools 0.7 from 
Distribute 0.6. There are then two options for upgrading.
-
-Note that after upgrading using either technique, the only option to downgrade 
to either version is to completely uninstall Distribute and Setuptools 0.7 
versions before reinstalling an 0.6 release.
-
-Use Distribute 0.7
-------------------
-
-The PYPA has put together a compatibility wrapper, a new release of Distribute 
version 0.7. This package will install over Distribute 0.6.x installations and 
will replace Distribute with a simple wrapper that requires Setuptools 0.7 or 
later. This technique is experimental, but initial results indicate this 
technique is the easiest upgrade path.
-
-
-Uninstall
----------
-
-First, completely uninstall Distribute. Since Distribute does not have an 
automated installation routine, this process is manual. Follow the instructions 
in the README for uninstalling.
-
-
-How do I upgrade from Setuptools 0.6?
-=====================================
-
-There are no special instructions for upgrading over older versions of 
Setuptools. Simply use `easy_install -U` or run the latest `ez_setup.py`.
-
-Where does the merge occur?
-========================================================
-
-The merge is occurring between the heads of the default branch of Distribute 
and the setuptools-0.6 branch of Setuptools. The Setuptools SVN repo has been 
converted to a Mercurial repo hosted on Bitbucket. The work is still underway, 
so the exact changesets included may change, although the anticipated merge 
targets are Setuptools at 0.6c12 and Distribute at 0.6.35.
-
-What happens to other branches?
-========================================================
-
-Distribute 0.7 was abandoned long ago and won't be included in the resulting 
code tree, but may be retained for posterity in the original repo.
-
-Setuptools default branch (also 0.7 development) may also be abandoned or may 
be incorporated into the new merged line if desirable (and as resources allow).
-
-What history is lost/changed?
-========================================================
-
-As setuptools was not on Mercurial when the fork occurred and as Distribute 
did not include the full setuptools history (prior to the creation of the 
setuptools-0.6 branch), the two source trees were not compatible. In order to 
most effectively communicate the code history, the Distribute code was grafted 
onto the (originally private) setuptools Mercurial repo. Although this grafting 
maintained the full code history with names, dates, and changes, it did lose 
the original hashes of those changes. Therefore, references to changes by hash 
(including tags) are lost.
-
-Additionally, any heads that were not actively merged into the Distribute 
0.6.35 release were also omitted. As a result, the changesets included in the 
merge repo are those from the original setuptools repo and all changesets 
ancestral to the Distribute 0.6.35 release.
-
-What features will be in the merged code base?
-========================================================
-
-In general, all "features" added in distribute will be included in setuptools. 
Where there exist conflicts or undesirable features, we will be explicit about 
what these limitations are. Changes that are  backward-incompatible from 
setuptools 0.6 to distribute will likely be  removed, and these also will be 
well documented.
-
-Bootstrapping scripts (ez_setup/distribute_setup) and docs, as with  
distribute, will be maintained in the repository and built as part of  the 
release process. Documentation and bootstrapping scripts will be  hosted at 
python.org, as they are with distribute now. Documentation at  telecommunity 
will be updated to refer or redirect to the new, merged  docs.
-
-On  the whole, the merged setuptools should be largely compatible with the  
latest releases of both setuptools and distribute and will be an easy  
transition for users of either library.
-
-Who is invited to contribute? Who is excluded?
-========================================================
-
-While we've worked privately to initiate this merge due to the potential 
sensitivity of the topic, no one is excluded from this effort. We invite all 
members of the  community, especially those most familiar with Python packaging 
and its challenges to join us in the effort.
-
-We have lots of  ideas for how we'd like to improve the codebase, release 
process,  everything.  Like distribute, the post-merge setuptools will have its 
 source hosted on Bitbucket.  (So if you're currently a distribute  
contributor, about the only thing that's going to change is the URL of  the 
repository you follow.)  Also like distribute, it'll support Python  3, and 
hopefully we'll soon merge Vinay Sajip's patches to make it run  on Python 3 
without needing 2to3 to be run on the code first.
-
-While we've worked privately to initiate this merge due to the potential 
sensitivity of the topic, no one is excluded from this effort. We invite all 
members of the community, especially those most familiar with Python packaging 
and its challenges to join us in the effort.
-
-Why Setuptools and not Distribute or another name?
-========================================================
-
-We do, however,  understand that this announcement might be unsettling for 
some.  The  setuptools name has been subjected to a lot of deprecation in 
recent  years, so the idea that it will now be the preferred name instead of 
distribute might be somewhat difficult or disorienting for some.   We 
considered use of another name (Distribute or an entirely new name),  but that 
would serve to only complicate matters further. Instead, our goal is to 
simplify the packaging landscape but without losing any hard-won advancements.  
We hope  that the people who worked to spread the first message will be equally 
 enthusiastic about spreading the new one, and we especially look forward to 
seeing the new posters and slogans celebrating setuptools.
-
-What is the timeframe of release?
-========================================================
-
-There are no hard timeframes for any of this effort, although progress is 
underway and a draft merge is underway and being tested privately.   As an 
unfunded volunteer effort, our time to put in on it is limited,  and we've both 
had some recent health and other challenges that have  made working on this 
difficult, which in part explains why we haven't met our original deadline of a 
completed merge before PyCon.
-
-The final Setuptools 0.7 was cut on June 1, 2013 and will be released to PyPI 
shortly thereafter.
-
-What version number can I expect for the new release?
-========================================================
-
-The new release will roughly follow the previous trend for setuptools and 
release the new release as 0.7. This number is somewhat arbitrary, but we 
wanted something other than 0.6 to distinguish it from its ancestor forks but 
not 1.0 to avoid putting too much emphasis on the release itself and to focus 
on merging the functionality. In the future, the project will likely adopt a 
versioning scheme similar to semver to convey semantic meaning about the 
release in the version number.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.2/docs/merge.txt 
new/setuptools-18.3.2/docs/merge.txt
--- old/setuptools-18.2/docs/merge.txt  2015-06-18 14:36:06.000000000 +0200
+++ new/setuptools-18.3.2/docs/merge.txt        1970-01-01 01:00:00.000000000 
+0100
@@ -1,122 +0,0 @@
-Merge with Distribute
-~~~~~~~~~~~~~~~~~~~~~
-
-In 2013, the fork of Distribute was merged back into Setuptools. This
-document describes some of the details of the merge.
-
-.. toctree::
-   :maxdepth: 2
-
-   merge-faq
-
-Process
-=======
-
-In order to try to accurately reflect the fork and then re-merge of the
-projects, the merge process brought both code trees together into one
-repository and grafted the Distribute fork onto the Setuptools development
-line (as if it had been created as a branch in the first place).
-
-The rebase to get distribute onto setuptools went something like this::
-
-    hg phase -d -f -r 26b4c29b62db
-    hg rebase -s 26b4c29b62db -d 7a5cf59c78d7
-
-The technique required a late version of mercurial (2.5) to work correctly.
-
-The only code that was included was the code that was ancestral to the public
-releases of Distribute 0.6. Additionally, because Setuptools was not hosted
-on Mercurial at the time of the fork and because the Distribute fork did not
-include a complete conversion of the Setuptools history, the Distribute
-changesets had to be re-applied to a new, different conversion of the
-Setuptools SVN repository. As a result, all of the hashes have changed.
-
-Distribute was grafted in a 'distribute' branch and the 'setuptools-0.6'
-branch was targeted for the merge. The 'setuptools' branch remains with
-unreleased code and may be incorporated in the future.
-
-Reconciling Differences
-=======================
-
-There were both technical and philosophical differences between Setuptools
-and Distribute. To reconcile these differences in a manageable way, the
-following technique was undertaken:
-
-Create a 'Setuptools-Distribute merge' branch, based on a late release of
-Distribute (0.6.35). This was done with a00b441856c4.
-
-In that branch, first remove code that is no longer relevant to
-Setuptools (such as the setuptools patching code).
-
-Next, in the the merge branch, create another base from at the point where the
-fork occurred (such that the code is still essentially an older but pristine
-setuptools). This base can be found as 955792b069d0. This creates two heads
-in the merge branch, each with a basis in the fork.
-
-Then, repeatedly copy changes for a
-single file or small group of files from a late revision of that file in the
-'setuptools-0.6' branch (1aae1efe5733 was used) and commit those changes on
-the setuptools-only head. That head is then merged with the head with
-Distribute changes. It is in this Mercurial
-merge operation that the fundamental differences between Distribute and
-Setuptools are reconciled, but since only a single file or small set of files
-are used, the scope is limited.
-
-Finally, once all the challenging files have been reconciled and merged, the
-remaining changes from the setuptools-0.6 branch are merged, deferring to the
-reconciled changes (a1fa855a5a62 and 160ccaa46be0).
-
-Originally, jaraco attempted all of this using anonymous heads in the
-Distribute branch, but later realized this technique made for a somewhat
-unclear merge process, so the changes were re-committed as described above
-for clarity. In this way, the "distribute" and "setuptools" branches can
-continue to track the official Distribute changesets.
-
-Concessions
-===========
-
-With the merge of Setuptools and Distribute, the following concessions were
-made:
-
-Differences from setuptools 0.6c12:
-
-Major Changes
--------------
-
-* Python 3 support.
-* Improved support for GAE.
-* Support `PEP-370 <http://www.python.org/dev/peps/pep-0370/>`_ per-user site
-  packages.
-* Sort order of Distributions in pkg_resources now prefers PyPI to external
-  links (Distribute issue 163).
-* Python 2.4 or greater is required (drop support for Python 2.3).
-
-Minor Changes
--------------
-
-* Wording of some output has changed to replace contractions with their
-  canonical form (i.e. prefer "could not" to "couldn't").
-* Manifest files are only written for 32-bit .exe launchers.
-
-Differences from Distribute 0.6.36:
-
-Major Changes
--------------
-
-* The _distribute property of the setuptools module has been removed.
-* Distributions are once again installed as zipped eggs by default, per the
-  rationale given in `the seminal bug report
-  <http://bugs.python.org/setuptools/issue33>`_ indicates that the feature
-  should remain and no substantial justification was given in the `Distribute
-  report <https://bitbucket.org/tarek/distribute/issue/19/>`_.
-
-Minor Changes
--------------
-
-* The patch for `#174 <https://bitbucket.org/tarek/distribute/issue/174>`_
-  has been rolled-back, as the comment on the ticket indicates that the patch
-  addressed a symptom and not the fundamental issue.
-* ``easy_install`` (the command) once again honors setup.cfg if found in the
-  current directory. The "mis-behavior" characterized in `#99
-  <https://bitbucket.org/tarek/distribute/issue/99>`_ is actually intended
-  behavior, and no substantial rationale was given for the deviation.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.2/docs/python3.txt 
new/setuptools-18.3.2/docs/python3.txt
--- old/setuptools-18.2/docs/python3.txt        2015-06-18 14:36:06.000000000 
+0200
+++ new/setuptools-18.3.2/docs/python3.txt      2015-09-19 18:00:35.000000000 
+0200
@@ -5,16 +5,22 @@
 Starting with Distribute version 0.6.2 and Setuptools 0.7, the Setuptools
 project supported Python 3. Installing and
 using setuptools for Python 3 code works exactly the same as for Python 2
-code, but Setuptools also helps you to support Python 2 and Python 3 from
-the same source code by letting you run 2to3 on the code as a part of the
-build process, by setting the keyword parameter ``use_2to3`` to True.
+code.
 
-
-Setuptools as help during porting
-=================================
-
-Setuptools can make the porting process much easier by automatically running
-2to3 as a part of the test running. To do this you need to configure the
+Setuptools provides a facility to invoke 2to3 on the code as a part of the
+build process, by setting the keyword parameter ``use_2to3`` to True, but
+the Setuptools strongly recommends instead developing a unified codebase
+using `six <https://pypi.python.org/pypi/six>`_,
+`future <https://pypi.python.org/pypi/future>`_, or another compatibility
+library.
+
+
+Using 2to3
+==========
+
+Setuptools attempts to make the porting process easier by automatically
+running
+2to3 as a part of running tests. To do so, you need to configure the
 setup.py so that you can run the unit tests with ``python setup.py test``.
 
 See :ref:`test` for more information on this.
@@ -37,23 +43,23 @@
 parameter ``use_2to3_exclude_fixers`` can be set to fixer names to be
 skipped.
 
-A typical setup.py can look something like this::
+An example setup.py might look something like this::
 
     from setuptools import setup
 
     setup(
         name='your.module',
-        version = '1.0',
+        version='1.0',
         description='This is your awesome module',
         author='You',
         author_email='your@email',
-        package_dir = {'': 'src'},
-        packages = ['your', 'you.module'],
-        test_suite = 'your.module.tests',
-        use_2to3 = True,
-        convert_2to3_doctests = ['src/your/module/README.txt'],
-        use_2to3_fixers = ['your.fixers'],
-        use_2to3_exclude_fixers = ['lib2to3.fixes.fix_import'],
+        package_dir={'': 'src'},
+        packages=['your', 'you.module'],
+        test_suite='your.module.tests',
+        use_2to3=True,
+        convert_2to3_doctests=['src/your/module/README.txt'],
+        use_2to3_fixers=['your.fixers'],
+        use_2to3_exclude_fixers=['lib2to3.fixes.fix_import'],
     )
 
 Differential conversion
@@ -86,39 +92,3 @@
 
 If you don't want to run the 2to3 conversion on the doctests in Python files,
 you can turn that off by setting ``setuptools.use_2to3_on_doctests = False``.
-
-Note on compatibility with older versions of setuptools
-=======================================================
-
-Setuptools earlier than 0.7 does not know about the new keyword parameters to
-support Python 3.
-As a result it will warn about the unknown keyword parameters if you use
-those versions of setuptools instead of Distribute under Python 2. This output
-is not an error, and
-install process will continue as normal, but if you want to get rid of that
-error this is easy. Simply conditionally add the new parameters into an extra
-dict and pass that dict into setup()::
-
-    from setuptools import setup
-    import sys
-
-    extra = {}
-    if sys.version_info >= (3,):
-        extra['use_2to3'] = True
-        extra['convert_2to3_doctests'] = ['src/your/module/README.txt']
-        extra['use_2to3_fixers'] = ['your.fixers']
-
-    setup(
-        name='your.module',
-        version = '1.0',
-        description='This is your awesome module',
-        author='You',
-        author_email='your@email',
-        package_dir = {'': 'src'},
-        packages = ['your', 'you.module'],
-        test_suite = 'your.module.tests',
-        **extra
-    )
-
-This way the parameters will only be used under Python 3, where Distribute or
-Setuptools 0.7 or later is required.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.2/docs/setuptools.txt 
new/setuptools-18.3.2/docs/setuptools.txt
--- old/setuptools-18.2/docs/setuptools.txt     2015-08-07 19:08:28.000000000 
+0200
+++ new/setuptools-18.3.2/docs/setuptools.txt   2015-09-19 18:00:35.000000000 
+0200
@@ -2595,8 +2595,8 @@
 Adding Support for Other Revision Control Systems
 -------------------------------------------------
 
-If you would like to create a plugin for ``setuptools`` to find files in other
-source control systems besides CVS and Subversion, you can do so by adding an
+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
@@ -2652,9 +2652,7 @@
 -----------------------
 
 Sorry, this section isn't written yet, and neither is a lot of what's below
-this point, except for the change log.  You might want to `subscribe to changes
-in this page <setuptools?action=subscribe>`_ to see when new documentation is
-added or updated.
+this point.
 
 XXX
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.2/ez_setup.py 
new/setuptools-18.3.2/ez_setup.py
--- old/setuptools-18.2/ez_setup.py     2015-08-07 20:01:18.000000000 +0200
+++ new/setuptools-18.3.2/ez_setup.py   2015-09-19 18:27:06.000000000 +0200
@@ -30,7 +30,7 @@
 except ImportError:
     USER_SITE = None
 
-DEFAULT_VERSION = "18.2"
+DEFAULT_VERSION = "18.3.2"
 DEFAULT_URL = "https://pypi.python.org/packages/source/s/setuptools/";
 DEFAULT_SAVE_DIR = os.curdir
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.2/setup.py 
new/setuptools-18.3.2/setup.py
--- old/setuptools-18.2/setup.py        2015-08-07 19:08:28.000000000 +0200
+++ new/setuptools-18.3.2/setup.py      2015-09-19 18:00:35.000000000 +0200
@@ -144,6 +144,7 @@
         Programming Language :: Python :: 3.2
         Programming Language :: Python :: 3.3
         Programming Language :: Python :: 3.4
+        Programming Language :: Python :: 3.5
         Topic :: Software Development :: Libraries :: Python Modules
         Topic :: System :: Archiving :: Packaging
         Topic :: System :: Systems Administration
@@ -151,10 +152,10 @@
         """).strip().splitlines(),
     extras_require={
         "ssl:sys_platform=='win32'": "wincertstore==0.2",
-        "certs": "certifi==1.0.1",
+        "certs": "certifi==2015.04.28",
     },
     dependency_links=[
-        
'https://pypi.python.org/packages/source/c/certifi/certifi-1.0.1.tar.gz#md5=45f5cb94b8af9e1df0f9450a8f61b790',
+        
'https://pypi.python.org/packages/source/c/certifi/certifi-2015.04.28.tar.gz#md5=12c7c3a063b2ff97a0f8291d8de41e8c',
         
'https://pypi.python.org/packages/source/w/wincertstore/wincertstore-0.2.zip#md5=ae728f2f007185648d0c7a8679b361e2',
     ],
     scripts=[],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.2/setuptools/__init__.py 
new/setuptools-18.3.2/setuptools/__init__.py
--- old/setuptools-18.2/setuptools/__init__.py  2015-08-07 20:05:29.000000000 
+0200
+++ new/setuptools-18.3.2/setuptools/__init__.py        2015-09-19 
18:05:38.000000000 +0200
@@ -1,6 +1,7 @@
 """Extensions to the 'distutils' for large or complex distributions"""
 
 import os
+import functools
 import distutils.core
 import distutils.filelist
 from distutils.core import Command as _Command
@@ -123,30 +124,45 @@
     command_consumes_arguments = False
 
     def __init__(self, dist, **kw):
-        # Add support for keyword arguments
-        _Command.__init__(self,dist)
-        for k,v in kw.items():
-            setattr(self,k,v)
+        """
+        Construct the command for dist, updating
+        vars(self) with any keyword parameters.
+        """
+        _Command.__init__(self, dist)
+        vars(self).update(kw)
 
     def reinitialize_command(self, command, reinit_subcommands=0, **kw):
         cmd = _Command.reinitialize_command(self, command, reinit_subcommands)
-        for k,v in kw.items():
-            setattr(cmd,k,v)    # update command with keywords
+        vars(cmd).update(kw)
         return cmd
 
-distutils.core.Command = Command    # we can't patch distutils.cmd, alas
+# we can't patch distutils.cmd, alas
+distutils.core.Command = Command
+
 
-def findall(dir = os.curdir):
-    """Find all files under 'dir' and return the list of full filenames
-    (relative to 'dir').
+def _find_all_simple(path):
     """
-    all_files = []
-    for base, dirs, files in os.walk(dir, followlinks=True):
-        if base==os.curdir or base.startswith(os.curdir+os.sep):
-            base = base[2:]
-        if base:
-            files = [os.path.join(base, f) for f in files]
-        all_files.extend(filter(os.path.isfile, files))
-    return all_files
+    Find all files under 'path'
+    """
+    results = (
+        os.path.join(base, file)
+        for base, dirs, files in os.walk(path, followlinks=True)
+        for file in files
+    )
+    return filter(os.path.isfile, results)
+
+
+def findall(dir=os.curdir):
+    """
+    Find all files under 'dir' and return the list of full filenames.
+    Unless dir is '.', return full filenames with dir prepended.
+    """
+    files = _find_all_simple(dir)
+    if dir == os.curdir:
+        make_rel = functools.partial(os.path.relpath, start=dir)
+        files = map(make_rel, files)
+    return list(files)
+
 
-distutils.filelist.findall = findall    # fix findall bug in distutils.
+# fix findall bug in distutils (http://bugs.python.org/issue12885)
+distutils.filelist.findall = findall
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.2/setuptools/command/easy_install.py 
new/setuptools-18.3.2/setuptools/command/easy_install.py
--- old/setuptools-18.2/setuptools/command/easy_install.py      2015-08-07 
19:08:28.000000000 +0200
+++ new/setuptools-18.3.2/setuptools/command/easy_install.py    2015-09-19 
18:00:35.000000000 +0200
@@ -215,10 +215,19 @@
         remover = rmtree if is_tree else os.unlink
         remover(path)
 
+    @staticmethod
+    def _render_version():
+        """
+        Render the Setuptools version and installation details, then exit.
+        """
+        ver = sys.version[:3]
+        dist = get_distribution('setuptools')
+        tmpl = 'setuptools {dist.version} from {dist.location} (Python {ver})'
+        print(tmpl.format(**locals()))
+        raise SystemExit()
+
     def finalize_options(self):
-        if self.version:
-            print('setuptools %s' % get_distribution('setuptools').version)
-            sys.exit()
+        self.version and self._render_version()
 
         py_version = sys.version.split()[0]
         prefix, exec_prefix = get_config_vars('prefix', 'exec_prefix')
@@ -1530,23 +1539,16 @@
         if not self.dirty:
             return
 
-        data = '\n'.join(map(self.make_relative, self.paths))
-        if data:
+        rel_paths = list(map(self.make_relative, self.paths))
+        if rel_paths:
             log.debug("Saving %s", self.filename)
-            data = (
-                "import sys; sys.__plen = len(sys.path)\n"
-                "%s\n"
-                "import sys; new=sys.path[sys.__plen:];"
-                " del sys.path[sys.__plen:];"
-                " p=getattr(sys,'__egginsert',0); sys.path[p:p]=new;"
-                " sys.__egginsert = p+len(new)\n"
-            ) % data
+            lines = self._wrap_lines(rel_paths)
+            data = '\n'.join(lines) + '\n'
 
             if os.path.islink(self.filename):
                 os.unlink(self.filename)
-            f = open(self.filename, 'wt')
-            f.write(data)
-            f.close()
+            with open(self.filename, 'wt') as f:
+                f.write(data)
 
         elif os.path.exists(self.filename):
             log.debug("Deleting empty %s", self.filename)
@@ -1554,6 +1556,10 @@
 
         self.dirty = False
 
+    @staticmethod
+    def _wrap_lines(lines):
+        return lines
+
     def add(self, dist):
         """Add `dist` to the distribution map"""
         new_path = (
@@ -1591,6 +1597,34 @@
             return path
 
 
+class RewritePthDistributions(PthDistributions):
+
+    @classmethod
+    def _wrap_lines(cls, lines):
+        yield cls.prelude
+        for line in lines:
+            yield line
+        yield cls.postlude
+
+    _inline = lambda text: textwrap.dedent(text).strip().replace('\n', '; ')
+    prelude = _inline("""
+        import sys
+        sys.__plen = len(sys.path)
+        """)
+    postlude = _inline("""
+        import sys
+        new = sys.path[sys.__plen:]
+        del sys.path[sys.__plen:]
+        p = getattr(sys, '__egginsert', 0)
+        sys.path[p:p] = new
+        sys.__egginsert = p + len(new)
+        """)
+
+
+if os.environ.get('SETUPTOOLS_SYS_PATH_TECHNIQUE', 'rewrite') == 'rewrite':
+    PthDistributions = RewritePthDistributions
+
+
 def _first_line_re():
     """
     Return a regular expression based on first_line_re suitable for matching
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.2/setuptools/tests/test_setuptools.py 
new/setuptools-18.3.2/setuptools/tests/test_setuptools.py
--- old/setuptools-18.2/setuptools/tests/test_setuptools.py     1970-01-01 
01:00:00.000000000 +0100
+++ new/setuptools-18.3.2/setuptools/tests/test_setuptools.py   2015-09-19 
18:00:38.000000000 +0200
@@ -0,0 +1,48 @@
+import os
+
+import pytest
+
+import setuptools
+
+
+@pytest.fixture
+def example_source(tmpdir):
+    tmpdir.mkdir('foo')
+    (tmpdir / 'foo/bar.py').write('')
+    (tmpdir / 'readme.txt').write('')
+    return tmpdir
+
+
+def test_findall(example_source):
+    found = list(setuptools.findall(str(example_source)))
+    expected = ['readme.txt', 'foo/bar.py']
+    expected = [example_source.join(fn) for fn in expected]
+    assert found == expected
+
+
+def test_findall_curdir(example_source):
+    with example_source.as_cwd():
+        found = list(setuptools.findall())
+    expected = ['readme.txt', 'foo/bar.py']
+    assert found == expected
+
+
+@pytest.fixture
+def can_symlink(tmpdir):
+    """
+    Skip if cannot create a symbolic link
+    """
+    link_fn = 'link'
+    target_fn = 'target'
+    try:
+        os.symlink(target_fn, link_fn)
+    except (OSError, NotImplementedError, AttributeError):
+        pytest.skip("Cannot create symbolic links")
+    os.remove(link_fn)
+
+
+def test_findall_missing_symlink(tmpdir, can_symlink):
+    with tmpdir.as_cwd():
+        os.symlink('foo', 'bar')
+        found = list(setuptools.findall())
+        assert found == []
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.2/setuptools/version.py 
new/setuptools-18.3.2/setuptools/version.py
--- old/setuptools-18.2/setuptools/version.py   2015-08-07 20:01:18.000000000 
+0200
+++ new/setuptools-18.3.2/setuptools/version.py 2015-09-19 18:27:06.000000000 
+0200
@@ -1 +1 @@
-__version__ = '18.2'
+__version__ = '18.3.2'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.2/setuptools.egg-info/PKG-INFO 
new/setuptools-18.3.2/setuptools.egg-info/PKG-INFO
--- old/setuptools-18.2/setuptools.egg-info/PKG-INFO    2015-08-19 
18:46:15.000000000 +0200
+++ new/setuptools-18.3.2/setuptools.egg-info/PKG-INFO  2015-09-19 
18:27:11.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: setuptools
-Version: 18.2
+Version: 18.3.2
 Summary: Easily download, build, install, upgrade, and uninstall Python 
packages
 Home-page: https://bitbucket.org/pypa/setuptools
 Author: Python Packaging Authority
@@ -232,6 +232,17 @@
         
         .. _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/
+        
 Keywords: CPAN PyPI distutils eggs package management
 Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
@@ -246,6 +257,7 @@
 Classifier: Programming Language :: Python :: 3.2
 Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
 Classifier: Topic :: System :: Archiving :: Packaging
 Classifier: Topic :: System :: Systems Administration
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.2/setuptools.egg-info/SOURCES.txt 
new/setuptools-18.3.2/setuptools.egg-info/SOURCES.txt
--- old/setuptools-18.2/setuptools.egg-info/SOURCES.txt 2015-08-19 
18:46:16.000000000 +0200
+++ new/setuptools-18.3.2/setuptools.egg-info/SOURCES.txt       2015-09-19 
18:27:13.000000000 +0200
@@ -22,8 +22,6 @@
 docs/formats.txt
 docs/history.txt
 docs/index.txt
-docs/merge-faq.txt
-docs/merge.txt
 docs/pkg_resources.txt
 docs/python3.txt
 docs/releases.txt
@@ -125,6 +123,7 @@
 setuptools/tests/test_packageindex.py
 setuptools/tests/test_sandbox.py
 setuptools/tests/test_sdist.py
+setuptools/tests/test_setuptools.py
 setuptools/tests/test_test.py
 setuptools/tests/test_upload_docs.py
 setuptools/tests/test_windows_wrappers.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/setuptools-18.2/setuptools.egg-info/dependency_links.txt 
new/setuptools-18.3.2/setuptools.egg-info/dependency_links.txt
--- old/setuptools-18.2/setuptools.egg-info/dependency_links.txt        
2015-08-19 18:46:15.000000000 +0200
+++ new/setuptools-18.3.2/setuptools.egg-info/dependency_links.txt      
2015-09-19 18:27:11.000000000 +0200
@@ -1,2 +1,2 @@
-https://pypi.python.org/packages/source/c/certifi/certifi-1.0.1.tar.gz#md5=45f5cb94b8af9e1df0f9450a8f61b790
+https://pypi.python.org/packages/source/c/certifi/certifi-2015.04.28.tar.gz#md5=12c7c3a063b2ff97a0f8291d8de41e8c
 
https://pypi.python.org/packages/source/w/wincertstore/wincertstore-0.2.zip#md5=ae728f2f007185648d0c7a8679b361e2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.2/setuptools.egg-info/requires.txt 
new/setuptools-18.3.2/setuptools.egg-info/requires.txt
--- old/setuptools-18.2/setuptools.egg-info/requires.txt        2015-08-19 
18:46:15.000000000 +0200
+++ new/setuptools-18.3.2/setuptools.egg-info/requires.txt      2015-09-19 
18:27:11.000000000 +0200
@@ -1,6 +1,6 @@
 
 [certs]
-certifi==1.0.1
+certifi==2015.04.28
 
 [ssl:sys_platform=='win32']
 wincertstore==0.2


Reply via email to