So I'm trying to create a package as a mean of distribution for my project (developed in Python). So far all the dependencies and installs of smaller components are done by the means of an install.sh that is in $PROJECTDIR/main/trunk. This works fine when i run it from it's folder.
Now for creating the package I dropped the whole $PROJECTDIR into PackageMaker and after I added install.sh as a postinstall script. The package was created with no errors. Now if I try to install however, the $PROJECTDIR is copied where it is suppose to but an error occurs when running the script.
So my first question would be:
- Is there any way to see where the script failed? Because the only thing I get is run script failed.
- What should I be carefull for// what is different between running the script from the folder manually and the script being run from Installer? The script mostly contains some cd's and some python setup.py install.
Regards, Bogdan