We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As of version 0.4.3, the ./scripts directory contains some wrappers that should emulate previous behaviour.
0.4.3
./scripts
This is sprites.py, for example:
sprites.py
#!/bin/python3 import sys from s4c.core.sprites import main if __name__ == "__main__": main(sys.argv)
The import works by leveraging a symlink for ./scripts/s4c:
import
./scripts/s4c
./scripts/s4c -> ./s4c-scripts/s4c.
./scripts/s4c -> ./s4c-scripts/s4c
The old versions of the scripts are available under ./scripts-legacy.
./scripts-legacy
Eventually, these will be removed. The patch needed in any Makefile using the scripts directly would be something like this:
Makefile
< python3 ./sprites4curses/scripts/palette.py C-impl $(PALETTE_PATH) .. > ./src/palette.c < python3 ./sprites4curses/scripts/palette.py C-header $(PALETTE_PATH) .. > ./src/palette.h --- > python3 -m sprites4curses.s4c-scripts.s4c.core.palette C-impl $(PALETTE_PATH) .. > ./src/palette.c > python3 -m sprites4curses.s4c-scripts.s4c.core.palette C-header $(PALETTE_PATH) .. > ./src/palette.h
The text was updated successfully, but these errors were encountered:
Version 0.4.4 drops the old scripts (scripts-legacy/).
0.4.4
scripts-legacy/
Sorry, something went wrong.
No branches or pull requests
As of version
0.4.3
, the./scripts
directory contains some wrappers that should emulate previous behaviour.This is
sprites.py
, for example:The
import
works by leveraging a symlink for./scripts/s4c
:./scripts/s4c -> ./s4c-scripts/s4c
.The old versions of the scripts are available under
./scripts-legacy
.Eventually, these will be removed. The patch needed in any
Makefile
using the scripts directly would be something like this:The text was updated successfully, but these errors were encountered: