[issue24753] function to get completion install location for setup.py?

2015-07-30 Thread Kentaro Wada

Kentaro Wada added the comment:

Yeah, that's right. I don't think to send patch to distutils but send to that 
kind of package as you said.
I'm looking for that kind of packages to send patch but not found yet.

Do you have any idea?

--

___
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



[issue24753] function to get completion install location for setup.py?

2015-07-30 Thread Kentaro Wada

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