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

2015-07-30 Thread R. David Murray

Changes by R. David Murray :


--
resolution:  -> rejected
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
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

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 

___
___
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 STINNER Victor

STINNER Victor added the comment:

> I think it is good to have a function which can be used easily when 
> distributing this kind of package.

I don't think that we should put this stuff into distutils, it's too specific 
for UNIX, and your patch only supports a few shells.

It's better to put that into a project which is updated more frequently on PyPI.

Stdlib is more for "frozen" stuff, we only update the stdlib every ~18 months! 
(each Python major release)

--
nosy: +haypo

___
Python tracker 

___
___
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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com