force --install-layout=deb on systems where that makes sense?

L

Lee Harr

Is there a way to make distutils use --install-layout=deb
but only on systems where that makes sense?

I just noticed that if someone installs without that switch,
my app will not be able to find its data files, because
sys.prefix = /usr  but the installation is actually in to
/usr/local


I suppose most people here will advise that I abandon
distutils and use something more reasonable. I am open
to that, but I went down this path because of stdeb and
the ability to do python setup.py bdist_deb
So if you can suggest some method that can also generate
a .deb file easily I am listening.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top