#10 Use console_scripts to add cli tool

Закрыто
Ghost хочет смерджить 0 коммит(ов) из deleted в necklace/master
Ghost прокомментировал 3 лет назад

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 прокомментировал 3 лет назад
Владелец

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.
Пожалуйста снова откройте этот запрос для слияния.
Войдите, чтобы присоединиться к обсуждению.
Нет этапа
Нет ответственного
2 участников
Загрузка...
Отмена
Сохранить
Пока нет содержимого.