From: Günter M. <mi...@us...> - 2022-04-29 14:42:48
|
> This might not be an actual bug, but the behavior is surprising, and > the documentation lead me to believe that docutils-cli.py should be > available regardless of installation method. > ... the command could not be found. > Other tools were available, such as rst2html.py. The reason is a missing entry in the `package_data['scripts']` list in `setup.py`. This is an oversight during the recent addition of this tool. There are plans, to overhoul the front-end tool naming and installation using "entry points" (that allow automatic installation and leaving out the ".py" extension also on Windows). In the course of this changes, the generic front-end tool could/should be renamed from `docutils-cli.py` to `docutils`. We may consider using the new name (and entry-point) already in 0.19. Thank you for reporting. --- ** [bugs:#447] docutils-cli.py not available when installing via pip** **Status:** open **Created:** Thu Apr 21, 2022 07:19 PM UTC by Jesse Brennan **Last Updated:** Thu Apr 21, 2022 07:19 PM UTC **Owner:** nobody This might not be an actual bug, but the behavior is surprising, and the documentation lead me to believe that docutils-cli.py should be available regardless of installation method. I created a new virtual environment with Python 3.8.3. With the virtual environment active, I updated to the latest version of pip, then installed docutils. I then tried to run docutils-cli.py but the command could not be found. Other tools were available, such as rst2html.py. --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |