peterbrittain / asciimatics

A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations
Apache License 2.0
3.64k stars 238 forks source link

Make scripts runnable in macOS and Linux #250

Closed yam655 closed 4 years ago

yam655 commented 4 years ago

Scripts should now be runnable with ./script.py. This uses #!/usr/bin/env python3 so python3 just needs to be on the path. (This lets it work both in Linux as well as in macOS when using brew or other third-party package manager.)

Added a few lines to .gitignore:

I had these files created, but they were not checked in, and it seemed like they should never be checked in.

Issues fixed by this PR

Closes #248

What does this implement/fix?

This makes the sample scripts more easily runnable on the command-line.

Any other comments?

I love the product!

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 94.615% when pulling 5873e0284bd0aad932458e6c68e18c7e8c5cb609 on yam655:feature/runnable-samples into 676097d12150bc09e6b5a7ca6c471b7f97c1b9f4 on peterbrittain:master.

peterbrittain commented 4 years ago

Thanks! All looks good to me.