fontbakery main executable not recognized in Powershell/cmd.exe because of missing .py suffix
See original GitHub issueObserved behaviour
In cmd.exe and Powershell, scripts like fontbakery-check-googlefonts.py
can be invoked either with or without suffix, but the main fontbakery
can’t.
Expected behaviour
Running fontbakery
should work on Windows.
Resources and exact process needed to replicate
Renaming the script to fontbakery.py
makes it work as expected.
Issue Analytics
- State:
- Created 6 years ago
- Comments:16 (13 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
you could make a
fontbakery.cli
module with the contents of the currentbin/fontbakery
, and a single console_scripts entry_point called justfontbakery
, with each argparse subcommand calling functions from other sub-modules (one for each currentbin/
script). And you won’t need to call the scripts as subprocesses as you do now.(Note: i’m not a fontbakery developer and I’m not familiar with it’s codebase. This are just my 2c. Please defer to @felipesanches @graphicore @m4rc1e & co.)
Closed by #1745.