make test fails with python3.4 on mac OSX

31 views
Skip to first unread message

Claus Klein

unread,
Mar 1, 2015, 9:20:54 AM3/1/15
to pyft...@googlegroups.com
Hi,

I have trouble to test pyftdlib with python3.4 on mac OSX:

sudo make install
...

you might want to install 'PyOpenSSL' module to support FTPS

if test python3.4 = python2.4; then \

python3.4 setup.py install; \

elif test python3.4 = python2.5; then \

python3.4 setup.py install; \

else \

python3.4 setup.py install --user; \

fi

running install

running bdist_egg

running egg_info

creating pyftpdlib.egg-info

writing top-level names to pyftpdlib.egg-info/top_level.txt

writing pyftpdlib.egg-info/PKG-INFO

writing requirements to pyftpdlib.egg-info/requires.txt

writing dependency_links to pyftpdlib.egg-info/dependency_links.txt

writing manifest file 'pyftpdlib.egg-info/SOURCES.txt'

reading manifest file 'pyftpdlib.egg-info/SOURCES.txt'

reading manifest template 'MANIFEST.in'

writing manifest file 'pyftpdlib.egg-info/SOURCES.txt'

installing library code to build/bdist.macosx-10.10-x86_64/egg

running install_lib

running build_py

creating build/bdist.macosx-10.10-x86_64

creating build/bdist.macosx-10.10-x86_64/egg

creating build/bdist.macosx-10.10-x86_64/egg/pyftpdlib

copying build/lib/pyftpdlib/__init__.py -> build/bdist.macosx-10.10-x86_64/egg/pyftpdlib

copying build/lib/pyftpdlib/__main__.py -> build/bdist.macosx-10.10-x86_64/egg/pyftpdlib

copying build/lib/pyftpdlib/_compat.py -> build/bdist.macosx-10.10-x86_64/egg/pyftpdlib

copying build/lib/pyftpdlib/authorizers.py -> build/bdist.macosx-10.10-x86_64/egg/pyftpdlib

copying build/lib/pyftpdlib/filesystems.py -> build/bdist.macosx-10.10-x86_64/egg/pyftpdlib

copying build/lib/pyftpdlib/handlers.py -> build/bdist.macosx-10.10-x86_64/egg/pyftpdlib

copying build/lib/pyftpdlib/ioloop.py -> build/bdist.macosx-10.10-x86_64/egg/pyftpdlib

copying build/lib/pyftpdlib/log.py -> build/bdist.macosx-10.10-x86_64/egg/pyftpdlib

copying build/lib/pyftpdlib/servers.py -> build/bdist.macosx-10.10-x86_64/egg/pyftpdlib

byte-compiling build/bdist.macosx-10.10-x86_64/egg/pyftpdlib/__init__.py to __init__.cpython-34.pyc

byte-compiling build/bdist.macosx-10.10-x86_64/egg/pyftpdlib/__main__.py to __main__.cpython-34.pyc

byte-compiling build/bdist.macosx-10.10-x86_64/egg/pyftpdlib/_compat.py to _compat.cpython-34.pyc

byte-compiling build/bdist.macosx-10.10-x86_64/egg/pyftpdlib/authorizers.py to authorizers.cpython-34.pyc

byte-compiling build/bdist.macosx-10.10-x86_64/egg/pyftpdlib/filesystems.py to filesystems.cpython-34.pyc

byte-compiling build/bdist.macosx-10.10-x86_64/egg/pyftpdlib/handlers.py to handlers.cpython-34.pyc

byte-compiling build/bdist.macosx-10.10-x86_64/egg/pyftpdlib/ioloop.py to ioloop.cpython-34.pyc

byte-compiling build/bdist.macosx-10.10-x86_64/egg/pyftpdlib/log.py to log.cpython-34.pyc

byte-compiling build/bdist.macosx-10.10-x86_64/egg/pyftpdlib/servers.py to servers.cpython-34.pyc

creating build/bdist.macosx-10.10-x86_64/egg/EGG-INFO

copying pyftpdlib.egg-info/PKG-INFO -> build/bdist.macosx-10.10-x86_64/egg/EGG-INFO

copying pyftpdlib.egg-info/SOURCES.txt -> build/bdist.macosx-10.10-x86_64/egg/EGG-INFO

copying pyftpdlib.egg-info/dependency_links.txt -> build/bdist.macosx-10.10-x86_64/egg/EGG-INFO

copying pyftpdlib.egg-info/requires.txt -> build/bdist.macosx-10.10-x86_64/egg/EGG-INFO

copying pyftpdlib.egg-info/top_level.txt -> build/bdist.macosx-10.10-x86_64/egg/EGG-INFO

zip_safe flag not set; analyzing archive contents...

creating dist

creating 'dist/pyftpdlib-1.4.1-py3.4.egg' and adding 'build/bdist.macosx-10.10-x86_64/egg' to it

removing 'build/bdist.macosx-10.10-x86_64/egg' (and everything under it)

Processing pyftpdlib-1.4.1-py3.4.egg

Removing /Users/clausklein/Library/Python/3.4/lib/python/site-packages/pyftpdlib-1.4.1-py3.4.egg

Copying pyftpdlib-1.4.1-py3.4.egg to /Users/clausklein/Library/Python/3.4/lib/python/site-packages

pyftpdlib 1.4.1 is already the active version in easy-install.pth


Installed /Users/clausklein/Library/Python/3.4/lib/python/site-packages/pyftpdlib-1.4.1-py3.4.egg

Processing dependencies for pyftpdlib==1.4.1

Finished processing dependencies for pyftpdlib==1.4.1


you might want to install 'PyOpenSSL' module to support FTPS

Claus-MacBook-Pro:pyftpdlib clausklein$ sudo make test

python3.4 test/test_ftpd.py

Traceback (most recent call last):

  File "test/test_ftpd.py", line 70, in <module>

    from pyftpdlib._compat import PY3, u, b, getcwdu, callable, unicode, wraps

ImportError: cannot import name 'wraps'

make: *** [test] Error 1

Claus-MacBook-Pro:pyftpdlib clausklein$ 


With python2.7 it works!

With regads

Claus

Reply all
Reply to author
Forward
0 new messages