diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..95b440c --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,28 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +name = "meshcore-cli" +version = "0.3" +authors = [ + { name="Florent de Lamotte", email="florent@frizoncorrea.fr" }, +] +description = "Command line interface to meshcore companion radios" +readme = "README.md" +requires-python = ">=3.10" +classifiers = [ + "Programming Language :: Python :: 3", + "Operating System :: OS Independent", +] +license = "MIT" +license-files = ["LICEN[CS]E*"] +dependencies = [ "meshcore" ] + +[project.urls] +Homepage = "https://github.com/fdlamotte/meshcore-cli" +Issues = "https://github.com/fdlamotte/meshcore-cli/issues" + +[project.scripts] +meshcli = "meshcore_cli.meshcore_cli:cli" +meshcore-cli = "meshcore_cli.meshcore_cli:cli" diff --git a/src/meshcore_cli/__init__.py b/src/meshcore_cli/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/meshcore_cli/__main__.py b/src/meshcore_cli/__main__.py new file mode 100644 index 0000000..4b9e25f --- /dev/null +++ b/src/meshcore_cli/__main__.py @@ -0,0 +1,3 @@ +if __name__ == "__main__": + from meshcore_cli.meshcore_cli import cli + cli()