0

I came across this answer: How do I create a deb package for a single python script?

Which is extremely helpful and well detailed. I have everything except the install file. In that post the user is installing a single .py file to /usr/bin. I need to install a module to /usr/local/lib/python2.7/site-packages

How should my install file be different?

1 Answers1

1

In the debian/install file, add this line (or only use this line, if there aren't any others in there):

moduleFileName /usr/local/lib/python2.7/site-packages/

You basically use the same line format for each file (or directory):

filename /path/to/destination/
s3lph
  • 14,644
  • 12
  • 60
  • 83