Quickly Package - Need Help Please
Hi,
Can someone PLEASE explain the code below to me. And is there a step by step tutorial or how-to on buidling a deb and packaging ?
#======
# Check if we are working in the source tree or from the installed package and mangle the python path accordingly
if os.path.
if sys.argv[0][0] == "/":
fullPath = os.path.
else:
fullPath = os.getcwd() + "/" + os.path.
else:
fullPath = os.getcwd()
sys.path.insert(0, os.path.
=======
The app I built runs fine under my file system but when I package and then install the deb all my data file paths are no longer there. Quickly package by defualt puts everything under usr/share which is fine but what if I want some files or directories in other locations under my project root ? How can I do this ?
And can "I" specify python disutils to put files where "I" would like them to be ? If so how ? Thank you...
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Quickly Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Aruna Hewapathirane
- Solved:
- Last query:
- Last reply: