You are not logged in.

#1 2010-12-10 09:04:28

Simplet
Member
Registered: 2010-12-02
Posts: 18

python library installation without setup.py

I'm currently packaging a little python library consisting of only two files.
The author did not make any setup.py thus I can't call "python setup.py ......." in the PKGBUILD.

My question is : Is it ok to do something like this to install the python lib :

install -Dm644 ${_svnmod}/somefile.py ${pkgdir}/usr/lib/python2.7/site-packages/${pkgname}/
install -Dm644 ${_svnmod}/someotherfile.py ${pkgdir}/usr/lib/python2.7/site-packages/${pkgname}/

Thanks for your help


"You feel a strange vibration under your feet."

Offline

Board footer

Powered by FluxBB