You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am sorry. I was blind. There is an example for 'console_scripts':
# setup.py
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'sample=sample:main',
],
},
Hi, I am missing an example how to package an executable script.
Imagine you have mygrep.py the world best grep replacement.
How to structure the files and directories?
AFAIK the script (here mygrep.py) is almost empty. It just imports from the library and calls its main() method.
A simple example inside this sampleproject would be nice.
The text was updated successfully, but these errors were encountered: