Hi list, I have begun trying to package gnomolicious. My debian/rules file is mostly identical from the straw package one, since they use the same build system. With modifications where needed, I was able to get a package with all files needed, and the right path for them. However (of course, there's a however, what did you think ?), the python distutils tools (which are used to build the package) are making it a bit difficult. The problem is that the setup.py file is called with both a --root argument, to install the files into the false root of the package, and a --prefix argument, which of course, is set to /usr. The problem is that distutils changes the "install_scripts" value by prepending the "root" value to it. And setup.py (one of the classes it imports, really) uses the "install_scripts" value (which should be /usr/bin) inside the bonobo server file to point to the gnomolicious binary. In other words, it points to a bad place. Using the --install-scripts command line argument doesn't solve the problem, since the "root" is also prepended to it. I couldn't find a way to solve this just using setup.py arguments, and that's why I'm posting here: patching may be required, and I want to know what I can and cannot (or should and shouldn't) do. Like, say, hardcoding the /usr/bin path inside setup.py.
Any kind of help appreciated. I may not have been quite clear explaining my problem, please do not hesitate to ask clarification where needed. Thanks, -- Alain Perry -- ubuntu-desktop mailing list [email protected] http://lists.ubuntu.com/mailman/listinfo/ubuntu-desktop
