How to add notes into my application without causing package error ?

Asked by Tony Byrne on 2010-09-08

Adding notes and wish-lists to a quickly created project is handy, it easy to keep them up to date and version controlled. However when packaging the project an error message occurs , for example
quickly package
Command returned some WARNINGS:
WARNING: the following files are not recognized by
Do you want to continue (this is not safe!)? y/[n]: n

 I imagine that editing will probably solve this but I have no idea how to do it.

Question information

English Edit question
Quickly Edit question
No assignee Edit question
Solved by:
Tony Byrne
Last query:
Last reply:

Hi Tony,

The warnings are generated due to your notes directory not being recognised by python. The work around I used when I experienced the same problem was to edit the .bashrc file which is a hidden file in your home folder.

So please look for .bashrc then open it using gedit then add:

export PYTHONPATH="/home/your/project/directory/any other directories/notes"

at the bottom of the file. This will get rid of the warnings BUT it is now YOUR responsibility to make sure wherever you are accessing the data under notes you take care of the data path in the code. I was pulling out my hair too friend... :-)

Please keep in mind though this works, this is NOT the recommended way as Quickly follows the Debian policy and tries to give the developer sane defaults like Rick and Didier told me. But it was the only way "I" could get my app to work the way I wanted it to... should not be a major issue as long as YOU take care of the paths within your code when accessing anything under the notes directory. Good luck and please feel free to ask if you need more information or clarification.

Tony Byrne (tony-badwolf) said : #3

Thanks for the reply, I can see I wrote my question poorly. I don't wan't the notes to appear in the finished .deb file, they are more like the
 # FIXME: convoluted algorithm
notes you put into your code and delete later. Some notes should be deleted when done

John likes tearoff menus, Sarah wants a toolbar hide button

 which cannot attach to code you haven't written yet.

Tony Byrne (tony-badwolf) said : #4

I found a solution, put my not for distribution notes into a hidden folder e.g. .notes

Tony Byrne (tony-badwolf) said : #5

I found a solution, put my not for distribution notes into a hidden folder e.g. .notes