From dd450fd3f3f5b5ad514ee015bdd4a0eb297c0a94 Mon Sep 17 00:00:00 2001 From: Carmen Alvarez Date: Sun, 2 Jun 2024 22:43:02 +0200 Subject: [PATCH] Add pyproject.toml for distribution. --- .gitignore | 2 ++ pyproject.toml | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 pyproject.toml diff --git a/.gitignore b/.gitignore index c01ed3a..bdf5106 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ .coverage .vscode/ reports/ +dist/ __pycache__ +*.egg-info/ diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..2b9198e --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,39 @@ +[build-system] +requires = ["setuptools >= 61.0"] +build-backend = "setuptools.build_meta" + +[project] +name = "cycle-plotter" +version = "0.0.1" +dependencies = [ + "defusedxml", + "matplotlib", +] +requires-python = ">=3.11" +authors = [ + {name = "Carmen Alvarez", email = "carmen@rmen.ca"}, +] +description = "Command line tool to plot a graph of cycles exported from Apple Health or Withings Health Mate." +readme = "README.md" +license = { file = "LICENSE" } +keywords = ["cli", "health"] +classifiers = [ + "Development Status :: 3 - Alpha", + "Environment :: Console", + "Framework :: Matplotlib", + "Intended Audience :: End Users/Desktop", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", +] + +[project.scripts] +cycle-plotter = "cycleplotter.main:main" + +[project.urls] +Repository = "https://github.com/caarmen/cycle-plotter" +Changelog = "https://github.com/caarmen/cycle-plotter/releases" + +[tool.setuptools.packages.find] +where = ["."] +include = ["cycleplotter*"] +namespaces = false \ No newline at end of file