#10 Use console_scripts to add cli tool

Closed
Ghost wants to merge 0 commits from deleted into necklace/master
Ghost commented 2 years ago

Use the console_scripts entry point to add the command-line tool to path rather than a symlink (for cross-platform compatibility with anything other than *nix).

Use [the console_scripts entry point](https://python-packaging.readthedocs.io/en/latest/command-line-scripts.html#the-console-scripts-entry-point) to add the command-line tool to path rather than a symlink (for cross-platform compatibility with anything other than *nix).

It is imperative that all code contributed be legitimately free software. For that reason, code from anonymous (or pseudonymous) contributors will not be accepted.

Regardless, I strongly dislike how console_scripts requires a main() function. I don't want main to be callable by a different program (perhaps a UI program) which imports libray as a dependency.

It is imperative that all code contributed be legitimately free software. For that reason, code from anonymous (or pseudonymous) contributors will not be accepted. Regardless, I strongly dislike how console_scripts requires a main() function. I don't want main to be callable by a different program (perhaps a UI program) which imports libray as a dependency.
Please reopen this pull request to perform merge operation.
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.