diff --git a/.gitignore b/.gitignore index 9195364..4a6a1c7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ __pycache__ +/dist /.venv diff --git a/cd.sh b/cd.sh index 1884737..af48a0c 100644 --- a/cd.sh +++ b/cd.sh @@ -658,7 +658,8 @@ cd_cat () { cd_echo () { if [ -n "${1}" ] ; then for cd_echo__name in "${@}" ; do - eval "echo ${cd_echo__name} = \\\"\${${cd_echo__name}}\\\"" + eval "cd_echo__text=\"\${${cd_echo__name}}\"" + echo "${cd_echo__name} = \"${cd_echo__text}\"" done fi } diff --git a/cd/__init__.py b/cd/__init__.py index 7c86330..ca3b9c8 100644 --- a/cd/__init__.py +++ b/cd/__init__.py @@ -1,5 +1,7 @@ """Continuous Deployment.""" +__version__ = "0.0.1" + import os from pathlib import Path diff --git a/pyproject.toml b/pyproject.toml index 8aa6871..6027135 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,36 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +authors = [ + { name = "Marc Beninca", email = "git@marc.beninca.link" }, +] +maintainers = [ + { name = "Marc Beninca", email = "git@marc.beninca.link" }, +] +classifiers = [ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: GNU Affero General Public License v3", + "Operating System :: OS Independent", +] +dependencies = ["rwx"] +description = "Continuous Deployment" +dynamic = ["version"] +keywords = [] +license-files = { paths = ["license.md"] } +name = "cd" +readme = "readme.md" +requires-python = ">= 3.10" + +[project.scripts] +# command = "package.module:function" + +[project.urls] + +[tool.hatch.version] +path = "cd/__init__.py" + [tool.ruff] line-length = 80 diff --git a/readme.md b/readme.md index 5bcb7df..b6a1738 100644 --- a/readme.md +++ b/readme.md @@ -25,7 +25,7 @@ from various contexts of CA, CI and OCI / OS. * [ ] 20231112 * [X] 20240101 * [X] Debian - * [X] Bullseye (11) → Python 3.9 + * [ ] Bullseye (11) → Python 3.9 * [X] Bookworm (12) → Python 3.11 * [X] Fedora → Python 3.12 * [X] 39