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
<http://bugs.python.org/issue24753>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com