Hi,
I am trying to create packages for Python3 for the source package
[1]. Following the guide [2], I get some success. However, the packages
for Python2 and Python3 differ significantly: in the Python2 package,
all machine independent data go into /usr/share/, while the Python3
package contains
into /usr/share/, while the Python3
package contains everything under /usr/lib/python3.
Having /usr/share/pyshared in Python2 is an implementation detail. This is never
used on sys.path directly.
Is this intentional, or shall I change something in the rules to get a
proper layout? I've
independent data go into /usr/share/, while the Python3
package contains everything under /usr/lib/python3.
The Python code itself goes into /usr/lib/python3 now - as I understand it,
/usr/share/pyshared was a workaround that's not needed for Python 3. If the
package includes actual data files
into /usr/share/, while the Python3
package contains everything under /usr/lib/python3.
If you use the dh_python{2,3} helpers as described in [2], you generally don't
have to worry about such implementation details.
[2] http://wiki.debian.org/Python/LibraryStyleGuide
Cheers,
-Barry
--
To UNSUBSCRIBE
4 matches
Mail list logo