From dff6c5468397c2779b9f320ce83402941c796d80 Mon Sep 17 00:00:00 2001 From: dachengx Date: Sun, 28 Apr 2024 07:44:04 -0500 Subject: [PATCH] Use poetry --- pyproject.toml | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5daf750..daa670a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,26 +1,14 @@ -[build-system] -requires = ["setuptools>=61.0"] -build-backend = "setuptools.build_meta" - -[project] +[tool] +[tool.poetry] name = "axidence" version = "0.2.0" description = "strax-based data-driven accidental coincidence background simulation and peak-level salting" readme = "README.md" license.file = "LICENSE" authors = [ - { name = "Dacheng Xu", email = "dx2227@columbia.edu" }, -] -maintainers = [ - { name = "Dacheng Xu", email = "dx2227@columbia.edu" }, + "Dacheng Xu, ", ] requires-python = ">=3.9" - -dependencies = [ - "strax", - "straxen", -] - classifiers = [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: BSD License", @@ -30,7 +18,13 @@ classifiers = [ "Intended Audience :: Science/Research", "Topic :: Scientific/Engineering :: Physics", ] +repository = "https://github.com/dachengx/axidence" +documentation = "https://readthedocs.org/projects/axidence/" -[project.urls] -Homepage = "https://github.com/dachengx/axidence" -Documentation = "https://readthedocs.org/projects/axidence/" +[tool.poetry.dependencies] +strax = ">=1.6.2" +straxen = ">=2.2.1" + +[build-system] +requires = ["poetry-core>=1.0.8", "setuptools"] +build-backend = "poetry.core.masonry.api"