[issue20464] Update distutils sample config file in Doc/install/index.rst
New submission from Zachary Ware:
From docs@:
On Thu, Jan 16, 2014 at 2:56 AM, Peter Bröcker
Hi,
I have tried to set up the distutils config files for a custom module installation. Using the suggested snippet from
http://docs.python.org/2/install/
[install] install-base=$HOME/python install-purelib=lib install-platlib=lib.$PLAT install-scripts=scripts install-data=data did not work for me.
Instead, I had to add install-headers and additionally modify all paths to include $base:
[install] install-base=/some/dir install-purelib=$base/lib install-platlib=$base/lib.$PLAT install-scripts=$base/scripts install-headers=$base/include install-data=$base/data
I'm unsure if this is actually a bug, but I could only resolve this with the help of this answer on stackoverflow: http://stackoverflow.com/a/12768721
Best regards, Peter
----------
assignee: docs@python
components: Distutils, Documentation
messages: 209829
nosy: docs@python, zach.ware
priority: normal
severity: normal
stage: test needed
status: open
title: Update distutils sample config file in Doc/install/index.rst
type: behavior
versions: Python 2.7, Python 3.3, Python 3.4
_______________________________________
Python tracker
Changes by Éric Araujo
Changes by Zachary Ware
Change by Zachary Ware
Steve Dower
participants (3)
-
Steve Dower
-
Zachary Ware
-
Éric Araujo