[New-bugs-announce] [issue24753] function to get completion install location for setup.py?

Kentaro Wada report at bugs.python.org
Thu Jul 30 09:27:23 CEST 2015

New submission from Kentaro Wada:

I'm distributing command line tools by pypi, and the package also installs shell completion file.
The default shell completion install location is sometimes platform specific, so the code cannot be so simple. 
I think it is good to have a function which can be used easily when distributing this kind of package. I think the function is similar with ``distutils.sysconfig.get_python_lib()``.

Please see attached file. It contains a function I'm thinking to add now.

components: Installation
files: get_completion_install_location.py
messages: 247654
nosy: Kentaro Wada
priority: normal
severity: normal
status: open
title: function to get completion install location for setup.py?
type: enhancement
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6
Added file: http://bugs.python.org/file40064/get_completion_install_location.py

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list