← Back to team overview

hugin-devs team mailing list archive

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

 

These are not scripts, this is the Hugin python interface itself. This
is a python library, so it make sense to install into $LIBDIR just like
any other reusable python code that should be available system-wide.

The .pyc and .pyo files need to be built and installed, unless you are
running Hugin as root they will not be generated at runtime.

-- 
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:
  Confirmed

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