Default installation prefix in a setup file generated with quickly

Asked by Golnaz Nilieh

My python application has a setup file generated with quickly.
when I run setup.py with no arguments for installation prefix, It installs the app in /usr/local, but update_data_directory() function sets data path ( to a non-exsistant folder) in /usr/share, so the app looks for installed files in /usr.
But when I set the installation path using --prefix option, the app will be installed correctly.
Is there any way to set a default installation prefix in the setup.py file, so that InstallAndUpdateDataDirectory() function uses that when no prefix is specified in command line?
Thanks in advance.

Question information

Language:
English Edit question
Status:
Answered
For:
Quickly Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Didier Roche-Tolomelli (didrocks) said :
#1

Thanks for using Quickly, this is rather a bug report and feature request. I don't have any idea right now how to fix that, but I'll try to have a look for 0.6.

See linked bug report ("related bugs")

Can you help with this problem?

Provide an answer of your own, or ask Golnaz Nilieh for more information if necessary.

To post a message you must log in.