python install path change suggestion (Feature #1087)


Added by Ethan Rublee almost 14 years ago. Updated almost 14 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:python bindings
Target version:-
Difficulty: Pull request:

Description


<pre>
For Debian and derivatives, this sys.path is augmented with directories
    for packages distributed within the distribution. Local addons go
    into /usr/local/lib/python<version>/dist-packages, Debian addons
    install into /usr/{lib,share}/python<version>/dist-packages.
    /usr/lib/python<version>/site-packages is not used.
</pre>

If by default the python wrappers are installed to dist-packages on debian machines, then the python path does not need to be mangled by hand.

Attached is a patch

python_install_cmake.diff (1.3 kB) Ethan Rublee, 2011-05-23 10:11 pm


Associated revisions

Revision 5c5cd449
Added by Ethan Rublee almost 14 years ago

Adding python default install path for debian vs mac. changing site-packages -> dist-packages. See python help
for site. Also ticket #1087.

Revision 36a4d246
Added by Roman Donchenko over 11 years ago

Merge pull request #1087 from znah:2.4

History

Updated by Ethan Rublee almost 14 years ago

If you are ok with this change, I can commit this.

Updated by Vadim Pisarevsky almost 14 years ago

that's fine

Updated by Ethan Rublee almost 14 years ago

Committed in r5193.

  • Status changed from Open to Done
  • (deleted custom field) set to fixed

Also available in: Atom PDF