Mailing List Archive

[issue976869] Stripping script extensions with distutils
Akira Kitada <akitada@gmail.com> added the comment:

I doubt "strip-extensions" has to be in distutils.
Isn't a simple script like below enough for this?

$ for i in *.py; do mv $i ${i%.py}; done

----------
nosy: +akitada, tarek

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue976869>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue976869] Stripping script extensions with distutils [ In reply to ]
Tarek Ziadé <ziade.tarek@gmail.com> added the comment:

It makes sense to me but we need to look at setuptools console feature
nowadays.

I think it might be the right piece to add in distutils for console scripts.

----------
assignee: -> tarek

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue976869>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com