[Bug 1250877] Re: Python3 modules are not installed in the right path

2016-12-28 Thread Shu Hung (Koala)
>From *Deviations_from_upstream* in Debina's Python wiki page
https://wiki.debian.org/Python#Deviations_from_upstream

---

* dist-packages instead of site-packages. Third party Python software
installed from Debian packages goes into dist-packages, not site-
packages. This is to reduce conflict between the system Python, and any
from-source Python build you might install manually.

---

A more detailed discussion on the same issue can be found here in Debian's bug 
tracker:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765022#30

That says Debian deliberately treat .deb python packages and manually
installed python modules differently. They changed the stock Debian
Pythons' module path from `site-packages` to `dist-packages`. So the
stock Python uses modules only from DEB sources (installs to `dist-
packages`) and not from easy_install or otherwise compiled (installs to
`site-packages`).

Automake either doesn't care or horner the management ideal. They only
support you to install your python library into `site-packages` so it
doesn't overwrite the packages you installed with .deb.

If Automake provide config directive to override `pyexecdir` and
`pythondir`, it would be a much better tool for system package
developers (e.g. Python based ibus engine developer) for proper testing.
I found no such option yet.

** Bug watch added: Debian Bug tracker #765022
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765022

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1250877

Title:
  Python3 modules are not installed in the right path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/automake/+bug/1250877/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1250877] Re: Python3 modules are not installed in the right path

2013-11-13 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: automake (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1250877

Title:
  Python3 modules are not installed in the right path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/automake/+bug/1250877/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs