classification
Title: Update distutils sample config file in Doc/install/index.rst
Type: behavior Stage: test needed
Components: Distutils, Documentation Versions: Python 3.7, Python 3.6, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: merwok Nosy List: docs@python, merwok, zach.ware
Priority: normal Keywords:

Created on 2014-01-31 20:55 by zach.ware, last changed 2017-09-30 21:12 by zach.ware.

Messages (1)
msg209829 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2014-01-31 20:55
From docs@:

On Thu, Jan 16, 2014 at 2:56 AM, Peter Bröcker <peter.broecker@uni-koeln.de> wrote:
> 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
History
Date User Action Args
2017-09-30 21:12:38zach.waresetversions: + Python 3.7, - Python 3.4, Python 3.5
2015-07-31 03:26:21zach.waresetversions: + Python 3.5, Python 3.6, - Python 3.3
2014-03-13 09:25:35merwoksetassignee: docs@python -> merwok

nosy: + merwok
2014-01-31 20:55:11zach.warecreate