Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup.py build completes OK but setup.py install gives error on Fedora 27 #6

Open
viktormadarasz opened this issue Feb 10, 2018 · 1 comment

Comments

@viktormadarasz
Copy link

Perhaps Im missing something?

Output:

[viktormadarasz@fedoraws curseradio]$ sudo python setup.py build
running build
running build_py
[viktormadarasz@fedoraws curseradio]$ sudo python setup.py install
running install
running bdist_egg
running egg_info
writing curseradio.egg-info/PKG-INFO
writing top-level names to curseradio.egg-info/top_level.txt
writing dependency_links to curseradio.egg-info/dependency_links.txt
writing entry points to curseradio.egg-info/entry_points.txt
reading manifest file 'curseradio.egg-info/SOURCES.txt'
writing manifest file 'curseradio.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/curseradio
copying build/lib/curseradio/main.py -> build/bdist.linux-x86_64/egg/curseradio
copying build/lib/curseradio/init.py -> build/bdist.linux-x86_64/egg/curseradio
copying build/lib/curseradio/curseradio.py -> build/bdist.linux-x86_64/egg/curseradio
byte-compiling build/bdist.linux-x86_64/egg/curseradio/main.py to main.pyc
byte-compiling build/bdist.linux-x86_64/egg/curseradio/init.py to init.pyc
byte-compiling build/bdist.linux-x86_64/egg/curseradio/curseradio.py to curseradio.pyc
File "build/bdist.linux-x86_64/egg/curseradio/curseradio.py", line 187
yield from ()
^
SyntaxError: invalid syntax

creating build/bdist.linux-x86_64/egg/EGG-INFO
copying curseradio.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying curseradio.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying curseradio.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying curseradio.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying curseradio.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/curseradio-0.2-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing curseradio-0.2-py2.7.egg
Removing /usr/lib/python2.7/site-packages/curseradio-0.2-py2.7.egg
Copying curseradio-0.2-py2.7.egg to /usr/lib/python2.7/site-packages
curseradio 0.2 is already the active version in easy-install.pth
Installing curseradio script to /usr/bin

Installed /usr/lib/python2.7/site-packages/curseradio-0.2-py2.7.egg
Processing dependencies for curseradio==0.2
Finished processing dependencies for curseradio==0.2
[viktormadarasz@fedoraws curseradio]$

@gnoirzox
Copy link

gnoirzox commented May 27, 2018

I have the same issue on macOS, removing the line 187 solved it somehow..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants