Le mardi 22 septembre 2009 à 23:09 +0200, Nacho Barrientos Arias a écrit : > > Starting from Python 2.6, the installation paths for distutils have > > changed. Instead of /usr/lib/pythonX.Y/site-packages, the default has > > now changed to /usr/local.
> Those manipulations are performed before dh_pysupport is executed so if > packaging helpers will deal automatically with the path change, why > should > I prevent debian/rules from operating with the contents of that > directory? You should not prevent it, but the directory will not be the same anymore. > What I'm doing right now is removing a directory containing some tests > when > the arch-dependant files are created. > > install-python%: > dh_testdir > dh_testroot > python$* setup.py install --no-compile --root=$(CURDIR)/debian/ > python-rdflib --single-version-externally-managed; Add --install-layout=deb here ^ > rm -rf $(CURDIR)/debian/python-rdflib/usr/lib/python$*/site- > packages/test And replace site-packages by *-packages here. Then you should have a working package with python 2.6. Cheers, -- .''`. Josselin Mouette : :' : `. `' “I recommend you to learn English in hope that you in `- future understand things” -- Jörg Schilling
signature.asc
Description: Ceci est une partie de message numériquement signée