setup.py doesn't accept --prefix= option
Bug #835968 reported by
Ed Catmur
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev-discover |
Fix Released
|
Medium
|
Ed Catmur | ||
0.2 |
Fix Released
|
Medium
|
J. Félix Ontañón |
Bug Description
capella udev-discover-0.2 # python setup.py build --prefix=/usr
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: option --prefix not recognized
I don't know a huge amount about distutils, but your setup.py looks wrong in its handling of this option.
tags: | added: install |
Changed in udev-discover: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Ed Catmur (ed-catmur) |
Changed in udev-discover: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Also, without specifying --prefix the data files are installed into /usr but the executable continues to refer to /usr/local:
Traceback (most recent call last): udev-discover" , line 562, in <module> rGUI() udev-discover" , line 228, in __init__ window' ]): python2. 7/site- packages/ gi/types. py", line 44, in function share/udev- discover/ udev-discover. ui': No such file or directory
File "/usr/bin/
UDevDiscove
File "/usr/bin/
'main_
File "/usr/lib/
return info.invoke(*args)
glib.GError: Failed to open file '/usr/local/