From dff6c5468397c2779b9f320ce83402941c796d80 Mon Sep 17 00:00:00 2001 From: dachengx Date: Sun, 28 Apr 2024 07:44:04 -0500 Subject: [PATCH 1/3] 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" From 6a7bb7db393375714ae089de7b6efe5a7cc00e32 Mon Sep 17 00:00:00 2001 From: dachengx Date: Sun, 28 Apr 2024 07:48:18 -0500 Subject: [PATCH 2/3] Debug --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index daa670a..3a740b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ 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" +license = "BSD-3-Clause" authors = [ "Dacheng Xu, ", ] From 360a1bc8b51f6c2298a482967b0d4ed88df345bf Mon Sep 17 00:00:00 2001 From: dachengx Date: Sun, 28 Apr 2024 07:49:42 -0500 Subject: [PATCH 3/3] Minor change --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3a740b6..e1bbdfa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,5 +26,5 @@ strax = ">=1.6.2" straxen = ">=2.2.1" [build-system] -requires = ["poetry-core>=1.0.8", "setuptools"] +requires = ["poetry-core>=1.0.8", "setuptools>=61.0"] build-backend = "poetry.core.masonry.api"