Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

fpm make debs that install in /usr/local/lib #290

Closed
specialunderwear opened this Issue · 6 comments

2 participants

@specialunderwear

This never used to be the case. Since the --template-scripts parameter was added, suddenly deb's are generated that install in usr/local/lib instead of user/lib.

E: python-watchdog: file-in-usr-local usr/local/lib/python2.7/dist-packages/watchdog-0.6.0.egg-info/SOURCES.txt

Ofcourse it helps to add a --python-install-lib flag, nevertheless this is a regression and should be fixed.

@specialunderwear

It seems that ubuntu's python does this. So it's not caused by fpm at all.

bad ubuntu!

@jordansissel

Right, the default behavior of fpm is to use whatever python's default install location is. On ubunut thi sis /usr/local/lib/python... - after installing your packages, python should be able to find them.

The resulting package should be installed the exact same way a 'python setup.py install' or 'easy_install somepackage' would be installed.

@jordansissel

Right, the default behavior of fpm is to use whatever python's default install location is. On ubunut thi sis /usr/local/lib/python... - after installing your packages, python should be able to find them.

The resulting package should be installed the exact same way a 'python setup.py install' or 'easy_install somepackage' would be installed.

@specialunderwear

Yeah you're right. It's just strange that lintian error just popped up out of nowhere. I just added the flag to change the install lib directory. Maybe you like what I did with fpm: https://github.com/specialunderwear/debianize.sh

@jordansissel

hah, I ignore pretty much everything lintian says - most of lintian is about debian policy, practically none of which is meaningful in my life. ;)

@specialunderwear

Sure, but this one is about separating software you should remove with apt, from software you should remove by hand or with pip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.