Closed Technologicat closed 3 years ago
The name pyan3
has been used for the script in #33. There is one package named pyan3
on PyPI and no package named pyan
on PyPI. Python 2.7 reached its EOL on Jan 1 2020. Python 3 is the current version of the Python language. I would recommend that the entry point be named pyan
, instead of pyan3
, so that users would have to type and remember less.
Also, the package itself could be released as pyan
on PyPI, instead of pyan3
(and the entry of pyan3
could even be removed, though this may cause backward compatibility issues with users).
The recommended way to set up command-line scripts is nowadays using the
entry_points
option ofsetup.py
.The
pyan3
wrapper script should be replaced by asetup.py
entrypoint namedpyan3
, pointing topyan.main:main
, to ensure the wrapper will work everywhere command-line Python does.See e.g. Python project maturity checklist by Michał Karzyński.