#10 Use console_scripts to add cli tool

Zamknięty
Ghost chce scalić 0 commity/ów z deleted do necklace/master
Ghost skomentował 3 lat temu

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).
Nichlas Severinsen skomentował 3 lat temu
Właściciel

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.
Proszę otworzyć ponownie pull request aby wykonać operację scalenia.
Zaloguj się, aby dołączyć do tej rozmowy.
Brak kamienia milowego
Brak przypisania
2 uczestników
Ładowanie...
Anuluj
Zapisz
Nie ma jeszcze treści.