You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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/roadmap.txt -> build/src/docs
copying docs/pkg_resources.txt -> build/src/docs
copying docs/using.txt -> build/src/docs
copying docs/setuptools.txt -> build/src/docs
copying docs/index.txt -> build/src/docs
copying docs/python3.txt -> build/src/docs
copying docs/easy_install.txt -> build/src/docs
copying docs/build/html/_sources/roadmap.txt -> build/src/docs/build/html/_sources
copying docs/build/html/_sources/pkg_resources.txt -> build/src/docs/build/html/_sources
copying docs/build/html/_sources/using.txt -> build/src/docs/build/html/_sources
copying docs/build/html/_sources/setuptools.txt -> build/src/docs/build/html/_sources
copying docs/build/html/_sources/index.txt -> build/src/docs/build/html/_sources
copying docs/build/html/_sources/python3.txt -> build/src/docs/build/html/_sources
copying docs/build/html/_sources/easy_install.txt -> build/src/docs/build/html/_sources
copying docs/_theme/nature/theme.conf -> build/src/docs/_theme/nature
copying docs/build/html/_static/basic.css -> build/src/docs/build/html/_static
copying docs/build/html/_static/nature.css -> build/src/docs/build/html/_static
copying docs/build/html/_static/pygments.css -> build/src/docs/build/html/_static
copying docs/_theme/nature/static/pygments.css -> build/src/docs/_theme/nature/static
copying docs/_theme/nature/static/nature.css_t -> build/src/docs/_theme/nature/static
copying docs/Makefile -> build/src/docs
copying docs/_templates/indexsidebar.html -> build/src/docs/_templates
copying _markerlib/markers.py -> build/src/_markerlib
copying _markerlib/init.py -> build/src/_markerlib
copying easy_install.py -> build/src
copying distribute_setup.py -> build/src
copying release.py -> build/src
copying site.py -> build/src
copying pkg_resources.py -> build/src
copying setup.py -> build/src
copying CONTRIBUTORS.txt -> build/src
copying README.txt -> build/src
copying CHANGES.txt -> build/src
copying DEVGUIDE.txt -> build/src
copying MANIFEST.in -> build/src
copying launcher.c -> build/src
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
Skipping implicit fixer: buffer
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
Skipping implicit fixer: idioms
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
Skipping implicit fixer: set_literal
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
Skipping implicit fixer: ws_comma
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
/home/thnov/src/svtplaydump-master/distribute-0.6.36-py3.4.egg
/usr/lib/python3.4/distutils/dist.py:260: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
running install
running build
running install_egg_info
Writing /usr/local/lib/python3.4/dist-packages/svtplaydump-0.5.egg-info
thnov@thomas:/src/svtplaydump-master$ ./svtplaydump.py -m
Traceback (most recent call last):
File "./svtplaydump.py", line 25, in
from bs4 import BeautifulSoup, Doctype
ImportError: No module named 'bs4'
thnov@thomas:/src/svtplaydump-master$ ./svtplaydump.py -u http://www.svtplay.se/video/1946130/amy-winehouse-konserten-i-dingle
Traceback (most recent call last):
File "./svtplaydump.py", line 25, in
from bs4 import BeautifulSoup, Doctype
ImportError: No module named 'bs4'
The text was updated successfully, but these errors were encountered:
My first guess is mismatching python version for setup.py and running svtplaydump. Please try with python3.4 setyp.py install first. If that doesn't work i'll install an ubuntu and try to reproduce.
thnov@thomas:~/src/svtplaydump-master$ sudo python3 setup.py install
[sudo] password for thnov:
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.36.tar.gz
Extracting in /tmp/tmpqd8eegx4
Now working in /tmp/tmpqd8eegx4/distribute-0.6.36
Building a Distribute egg in /home/thnov/src/svtplaydump-master
creating build
creating build/src
creating build/src/_markerlib
creating build/src/docs
creating build/src/docs/_templates
creating build/src/docs/_theme
creating build/src/docs/_theme/nature
creating build/src/docs/_theme/nature/static
creating build/src/docs/build
creating build/src/docs/build/html
creating build/src/docs/build/html/_sources
creating build/src/docs/build/html/_static
creating build/src/setuptools
creating build/src/setuptools/command
creating build/src/setuptools/tests
creating build/src/setuptools/tests/indexes
creating build/src/setuptools/tests/indexes/test_links_priority
creating build/src/setuptools/tests/indexes/test_links_priority/simple
creating build/src/setuptools/tests/indexes/test_links_priority/simple/foobar
creating build/src/tests
creating build/src/tests/shlib_test
copying setuptools/dist.py -> build/src/setuptools
copying setuptools/sandbox.py -> build/src/setuptools
copying setuptools/depends.py -> build/src/setuptools
copying setuptools/script template (dev).py -> build/src/setuptools
copying setuptools/extension.py -> build/src/setuptools
copying setuptools/archive_util.py -> build/src/setuptools
copying setuptools/package_index.py -> build/src/setuptools
copying setuptools/script template.py -> build/src/setuptools
copying setuptools/init.py -> build/src/setuptools
copying setuptools/command/develop.py -> build/src/setuptools/command
copying setuptools/command/setopt.py -> build/src/setuptools/command
copying setuptools/command/install_lib.py -> build/src/setuptools/command
copying setuptools/command/test.py -> build/src/setuptools/command
copying setuptools/command/egg_info.py -> build/src/setuptools/command
copying setuptools/command/easy_install.py -> build/src/setuptools/command
copying setuptools/command/bdist_wininst.py -> build/src/setuptools/command
copying setuptools/command/build_ext.py -> build/src/setuptools/command
copying setuptools/command/bdist_egg.py -> build/src/setuptools/command
copying setuptools/command/alias.py -> build/src/setuptools/command
copying setuptools/command/upload.py -> build/src/setuptools/command
copying setuptools/command/rotate.py -> build/src/setuptools/command
copying setuptools/command/install.py -> build/src/setuptools/command
copying setuptools/command/install_egg_info.py -> build/src/setuptools/command
copying setuptools/command/upload_docs.py -> build/src/setuptools/command
copying setuptools/command/bdist_rpm.py -> build/src/setuptools/command
copying setuptools/command/install_scripts.py -> build/src/setuptools/command
copying setuptools/command/sdist.py -> build/src/setuptools/command
copying setuptools/command/build_py.py -> build/src/setuptools/command
copying setuptools/command/register.py -> build/src/setuptools/command
copying setuptools/command/saveopts.py -> build/src/setuptools/command
copying setuptools/command/init.py -> build/src/setuptools/command
copying setuptools/tests/test_bdist_egg.py -> build/src/setuptools/tests
copying setuptools/tests/test_develop.py -> build/src/setuptools/tests
copying setuptools/tests/doctest.py -> build/src/setuptools/tests
copying setuptools/tests/server.py -> build/src/setuptools/tests
copying setuptools/tests/test_dist_info.py -> build/src/setuptools/tests
copying setuptools/tests/py26compat.py -> build/src/setuptools/tests
copying setuptools/tests/test_test.py -> build/src/setuptools/tests
copying setuptools/tests/test_sandbox.py -> build/src/setuptools/tests
copying setuptools/tests/test_packageindex.py -> build/src/setuptools/tests
copying setuptools/tests/test_build_ext.py -> build/src/setuptools/tests
copying setuptools/tests/test_markerlib.py -> build/src/setuptools/tests
copying setuptools/tests/test_easy_install.py -> build/src/setuptools/tests
copying setuptools/tests/test_resources.py -> build/src/setuptools/tests
copying setuptools/tests/test_upload_docs.py -> build/src/setuptools/tests
copying setuptools/tests/test_sdist.py -> build/src/setuptools/tests
copying setuptools/tests/init.py -> build/src/setuptools/tests
copying setuptools/tests/win_script_wrapper.txt -> build/src/setuptools/tests
copying setuptools/gui-32.exe -> build/src/setuptools
copying setuptools/cli-64.exe -> build/src/setuptools
copying setuptools/cli-32.exe -> build/src/setuptools
copying setuptools/cli.exe -> build/src/setuptools
copying setuptools/gui.exe -> build/src/setuptools
copying setuptools/gui-64.exe -> build/src/setuptools
copying tests/test_distribute_setup.py -> build/src/tests
copying tests/install_test.py -> build/src/tests
copying tests/manual_test.py -> build/src/tests
copying tests/shlib_test/test_hello.py -> build/src/tests/shlib_test
copying tests/shlib_test/setup.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
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
RefactoringTool: Skipping implicit fixer: buffer
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
RefactoringTool: Skipping implicit fixer: idioms
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
RefactoringTool: Skipping implicit fixer: set_literal
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
RefactoringTool: Skipping implicit fixer: ws_comma
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
root: Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
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
Including various computed attributes::
@@ -199,7 +199,7 @@
You can ask a WorkingSet to
find()
a distribution matching a requirement::... 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::
The text was updated successfully, but these errors were encountered: