Loading .gitignore +16 Changes for .gitignore: 16 added lines, 0 removed lines. Original line number Diff line number Diff line # python generated files __pycache__/ *.py[oc] build/ dist/ wheels/ *.egg-info # venv .venv # other .idea requirements-dev.lock requirements.lock climax.spec No newline at end of file Makefile +31 Changes for Makefile: 31 added lines, 0 removed lines. Original line number Diff line number Diff line install: ## Installation en développement, à n'exécuter qu'une fois rye sync .PHONY:install locales: ## générer les fichiers de traductions msgfmt -o src/climax/locales/fr/LC_MESSAGES/messages.mo src/climax/locales/fr/LC_MESSAGES/messages.po msgfmt -o src/climax/locales/en/LC_MESSAGES/messages.mo src/climax/locales/en/LC_MESSAGES/messages.po .PHONY:locales clean: rm -rf dist rm -rf build .PHONY:clean build:locales ## construire le paquet rye run pyinstaller src/climax.py mkdir dist/climax/_internal/climax mkdir dist/climax/_internal/climax/locales cp -r src/climax/locales/* dist/climax/_internal/climax/locales/ .PHONY:build format: ## Formatage des sources avec Black rye run black ./src/ .PHONY: format help: ## afficher l'aide @echo "\nChoisissez une commande. Les choix sont:\n" @grep -E '^[0-9a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[0;36m%-12s\033[m %s\n", $$1, $$2}' @echo "" .PHONY: help README.md +11 Changes for README.md: 11 added lines, 0 removed lines. Original line number Diff line number Diff line # CLIMAX climax is a CLI tool for MaX, Le Moteur d'Affichage XML. ## Prerequisite - Rye: `curl -sSf https://rye.astral.sh/get | bash` ## Dev commands Type `make help` No newline at end of file pyproject.toml +29 Changes for pyproject.toml: 29 added lines, 0 removed lines. Original line number Diff line number Diff line [project] name = "climax" version = "0.1.0" description = "CLI tool for MaX, Le Moteur d'Affichage XML." authors = [ { name = "Mickaël Desfrênes", email = "mickael.desfrenes@unicaen.fr" } ] dependencies = [ "typer>=0.12.3", "pyinstaller>=6.9.0", ] readme = "README.md" requires-python = ">= 3.12" [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.rye] managed = true dev-dependencies = [ "black>=24.4.2", ] [tool.hatch.metadata] allow-direct-references = true [tool.hatch.build.targets.wheel] packages = ["src/climax"] src/climax.py +4 Changes for src/climax.py: 4 added lines, 0 removed lines. Original line number Diff line number Diff line from climax.__main__ import app if __name__ == "__main__": app() Loading
.gitignore +16 Changes for .gitignore: 16 added lines, 0 removed lines. Original line number Diff line number Diff line # python generated files __pycache__/ *.py[oc] build/ dist/ wheels/ *.egg-info # venv .venv # other .idea requirements-dev.lock requirements.lock climax.spec No newline at end of file
Makefile +31 Changes for Makefile: 31 added lines, 0 removed lines. Original line number Diff line number Diff line install: ## Installation en développement, à n'exécuter qu'une fois rye sync .PHONY:install locales: ## générer les fichiers de traductions msgfmt -o src/climax/locales/fr/LC_MESSAGES/messages.mo src/climax/locales/fr/LC_MESSAGES/messages.po msgfmt -o src/climax/locales/en/LC_MESSAGES/messages.mo src/climax/locales/en/LC_MESSAGES/messages.po .PHONY:locales clean: rm -rf dist rm -rf build .PHONY:clean build:locales ## construire le paquet rye run pyinstaller src/climax.py mkdir dist/climax/_internal/climax mkdir dist/climax/_internal/climax/locales cp -r src/climax/locales/* dist/climax/_internal/climax/locales/ .PHONY:build format: ## Formatage des sources avec Black rye run black ./src/ .PHONY: format help: ## afficher l'aide @echo "\nChoisissez une commande. Les choix sont:\n" @grep -E '^[0-9a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[0;36m%-12s\033[m %s\n", $$1, $$2}' @echo "" .PHONY: help
README.md +11 Changes for README.md: 11 added lines, 0 removed lines. Original line number Diff line number Diff line # CLIMAX climax is a CLI tool for MaX, Le Moteur d'Affichage XML. ## Prerequisite - Rye: `curl -sSf https://rye.astral.sh/get | bash` ## Dev commands Type `make help` No newline at end of file
pyproject.toml +29 Changes for pyproject.toml: 29 added lines, 0 removed lines. Original line number Diff line number Diff line [project] name = "climax" version = "0.1.0" description = "CLI tool for MaX, Le Moteur d'Affichage XML." authors = [ { name = "Mickaël Desfrênes", email = "mickael.desfrenes@unicaen.fr" } ] dependencies = [ "typer>=0.12.3", "pyinstaller>=6.9.0", ] readme = "README.md" requires-python = ">= 3.12" [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.rye] managed = true dev-dependencies = [ "black>=24.4.2", ] [tool.hatch.metadata] allow-direct-references = true [tool.hatch.build.targets.wheel] packages = ["src/climax"]
src/climax.py +4 Changes for src/climax.py: 4 added lines, 0 removed lines. Original line number Diff line number Diff line from climax.__main__ import app if __name__ == "__main__": app()