← Back to team overview

hugin-devs team mailing list archive

[Bug 790883] Re: .py files install to dist-packages not site-packages

 

Sorry for misunderstanding the report.  Now I understand.  The path was
sort of a mix of hard-coded / generated for Ubuntu.

Tried to fix in changeset 5285:868a9b2d0977

Please test.  Here on Ubuntu it makes no difference because the location
is the correct one.

** Changed in: hugin
       Status: Confirmed => In Progress

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

Title:
  .py files install to dist-packages not site-packages

Status in Hugin - Panorama Tools GUI:
  In Progress

Bug description:
  [Just working on the 2011.1.0 fedora rpm package]

  I'm no python expert so correct me if I'm wrong, the Hugin .py, .pyc &
  .pyo files install to here:

     $LIBDIR/python2.7/dist-packages

  ...whereas the fedora documentation suggests they would go into:

     $LIBDIR/python2.7/site-packages

  In particular they say that python libs should go in whatever location
  you get when you run this command:

    python -c "from distutils.sysconfig import get_python_lib;
  print(get_python_lib(1))"

  Which here is /usr/lib64/python2.7/site-packages


References