You are not logged in.
I'm trying to make a package for a program that doesn't use the typical ./configure make make install process, instead it has a python script. I've read the README and it says the command needed to install the software is
python setup.py install
so my question is, under the build section of PKGBUILD what would it say?
I've tried
build() {
cd $startdir/src/$pkgname-$pkgver
python setup.py install
}
but with no success, and i can't think of what else to try.
if possible, explain the build process to me more in depth, doesn't it just execute commands? so i'm not sure why this wouldn't work
thank you,
reid
Offline
have you tried
python setup.py install --prefix=$startdir/pkg/usr
Offline
haha. nevermind i guess i just have to include all the files built by the python script. ahhh HA
but i'll try that first. i figured the prefix option was only for the make process.
thanks.
yea, that worked thanks penguin...
it's a learning process for me.
Offline
one thing you can do is look at PKGBUILDs for existing Python applications. You can find some in abs or aur.
This doesn't just apply to python of course, you can do the same for Java apps, precompiled binaries, packages that need to access a version control repository, etc.
Dusty
Offline
have you tried
python setup.py install --prefix=$startdir/pkg/usr
I always use --root= for python distutils packages
Offline