Le samedi 31 janvier 2009 à 14:10 +0000, Floris Bruynooghe a écrit : > On Fri, Jan 30, 2009 at 11:02:36PM +0000, Floris Bruynooghe wrote: > > Ok, that was supposed to read: > > > > prefix = sys.prefix > > libdir = sys.prefix/lib/pythonX.Y/site-packages/pkgname > > datadir = sys.prefix/share/mypackage > > docdir = sys.prefix/share/doc/mypackage > > Just how many time will I get this wrong?? > > libdir = sys.prefix/lib/pythonX.Y/site-packages > datadir = sys.prefix/share/<project_name> > docdir = sys.prefix/share/doc/<project_name>
Please don’t add more confusion by adding a libdir meaning something different from the existing autoconf macros. prefix = sys.prefix libdir = prefix+"/lib" # not sys.prefix; redefining prefix must lead to redefining the others pkglibdir = libdir+"/"+pkgname datadir = prefix+"/share" pkgdatadir = datadir+"/"+pkgname pythondir = libdir+"pythonX.Y/site-packages" pkgpythondir = pythondir+modulename ... (And you can add the prefix / exec_prefix distinction for systems that require it.) -- .''`. : :' : We are debian.org. Lower your prices, surrender your code. `. `' We will add your hardware and software distinctiveness to `- our own. Resistance is futile.
signature.asc
Description: Ceci est une partie de message numériquement signée
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig