question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

fontbakery main executable not recognized in Powershell/cmd.exe because of missing .py suffix

See original GitHub issue

Observed 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:closed
  • Created 6 years ago
  • Comments:16 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
anthrotypecommented, Mar 20, 2018

you could make a fontbakery.cli module with the contents of the current bin/fontbakery, and a single console_scripts entry_point called just fontbakery, with each argparse subcommand calling functions from other sub-modules (one for each current bin/ 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.)

0reactions
madigcommented, Apr 8, 2018

Closed by #1745.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found