KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a python script, myscript.py, which I wish to install using distutils: from distutils.core import setup setup(..., scripts=['myscript.py'], ...) I'd prefer if I could call the installed script using just myscript instead of typing myscript.py . This could be accomplished by renaming the file to just myscript but then a lot of editors etc. would no longer understand that it is a Python file. Is there some way to keep the old name, myscript.py but still install the file as myscript ?
Tags (comma-separated)
Save Edits
Cancel