I ran python-updater and setuptools was included. I wonder whether the diff printed on the screen is intentional or whether the patch should have been actually applied over the files instead. This is on stable amd64. >>> Emerging (4 of 32) dev-python/setuptools-0.6.15 * distribute-0.6.15.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: dev-python/setuptools-0.6.15 * Repository: gentoo * Maintainer: python@gentoo.org * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU * FEATURES: nostrip sandbox splitdebug >>> Unpacking source... >>> Unpacking distribute-0.6.15.tar.gz to /var/tmp/portage/dev-python/setuptools-0.6.15/work >>> Source unpacked in /var/tmp/portage/dev-python/setuptools-0.6.15/work >>> Preparing source in /var/tmp/portage/dev-python/setuptools-0.6.15/work/distribute-0.6.15 ... * Applying setuptools-0.6_rc7-noexe.patch ... [ ok ] * Applying distribute-0.6.12-disable_versioned_easy_install.patch ... [ ok ] * Applying distribute-0.6.12-fix_deprecation_warnings.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/setuptools-0.6.15/work/distribute-0.6.15 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/setuptools-0.6.15/work/distribute-0.6.15 ... * Building of dev-python/setuptools-0.6.15 with CPython 2.7... python2.7 setup.py build -b build-2.7 running build [cut] * Building of dev-python/setuptools-0.6.15 with CPython 3.1... python3.1 setup.py build -b build-3.1 creating build [cut] copying tests/shlib_test/setup.py -> build/src/tests/shlib_test copying tests/shlib_test/test_hello.py -> build/src/tests/shlib_test copying tests/shlib_test/hellolib.c -> build/src/tests/shlib_test copying tests/shlib_test/hello.c -> build/src/tests/shlib_test copying tests/shlib_test/hello.pyx -> build/src/tests/shlib_test copying tests/api_tests.txt -> build/src/tests RefactoringTool: Skipping implicit fixer: buffer RefactoringTool: Skipping implicit fixer: idioms RefactoringTool: Skipping implicit fixer: set_literal RefactoringTool: Skipping implicit fixer: ws_comma RefactoringTool: Refactored build/src/tests/api_tests.txt --- build/src/tests/api_tests.txt (original) +++ build/src/tests/api_tests.txt (refactored) @@ -39,7 +39,7 @@ >>> dist.py_version == sys.version[:3] True - >>> print dist.platform + >>> print(dist.platform) None Including various computed attributes:: @@ -199,7 +199,7 @@ You can ask a WorkingSet to ``find()`` a distribution matching a requirement:: >>> from pkg_resources import Requirement - >>> print ws.find(Requirement.parse("Foo==1.0")) # no match, return None + >>> print(ws.find(Requirement.parse("Foo==1.0"))) # no match, return None None >>> ws.find(Requirement.parse("Bar==0.9")) # match, return distribution @@ -211,7 +211,7 @@ >>> try: ... ws.find(Requirement.parse("Bar==1.0")) ... except VersionConflict: - ... print 'ok' + ... print('ok') ok You can subscribe a callback function to receive notifications whenever a new @@ -219,7 +219,7 @@ once for each existing distribution in the working set, and then is called again for new distributions added thereafter:: - >>> def added(dist): print "Added", dist + >>> def added(dist): print("Added", dist) >>> ws.subscribe(added) Added Bar 0.9 >>> foo12 = Distribution(project_name="Foo", version="1.2", location="f12") RefactoringTool: Files that were modified: RefactoringTool: build/src/tests/api_tests.txt copying setuptools/tests/indexes/test_links_priority/external.html -> build/src/setuptools/tests/indexes/test_links_priority copying setuptools/tests/indexes/test_links_priority/simple/foobar/index.html -> build/src/setuptools/tests/indexes/test_links_priority/simple/foobar copying docs/conf.py -> build/src/docs copying docs/setuptools.txt -> build/src/docs
It's intentional.