Skip to content

Commit

Permalink
Use poetry to install the package (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
dachengx authored Feb 5, 2024
1 parent 1dd603e commit e228974
Showing 1 changed file with 32 additions and 27 deletions.
59 changes: 32 additions & 27 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,39 +1,44 @@
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
[tool]
[tool.poetry]
name = "fuse"
version = "0.3.0"
description = "XENON Framework for Unified Simulations of Events"
authors = [
{ name="Henning Schulze Eißing", email="[email protected]" },
{ name="Diego Ramírez García", email="[email protected]" }
"Henning Schulze Eißing, <[email protected]>",
"Diego Ramírez García, <[email protected]>",
]
description = "XENON Framework for Unified Simulations of Events"
readme = "README.md"
requires-python = ">=3.9"
homepage = "https://github.com/XENONnT/fuse"
classifiers = [
"Programming Language :: Python :: 3",
"Development Status :: 2 - Pre-Alpha",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = [
"numpy",
"pandas",
"scipy",
"scikit-learn",
"immutabledict",
"timeout_decorator",
"nestpy >= 2.0.2",
"numba >= 0.57.0",
"awkward >= 2.2.1",
"uproot >= 5.0.7",
"strax >= 1.6.0",
"straxen >= 2.2.0",
packages = [
{ include = "fuse" },
{ include = "tests", format = "sdist" },
]

[project.urls]
"Homepage" = "https://github.com/XENONnT/fuse"
"Bug Tracker" = "https://github.com/XENONnT/fuse/issues"
[tool.poetry.dependencies]
numpy = "*"
pandas = "*"
scipy = "*"
scikit-learn = "*"
immutabledict = "*"
timeout_decorator = "*"
nestpy = ">=2.0.2"
numba = ">=0.58.1"
awkward = ">=2.5.1"
uproot = ">=5.2.1"
strax = ">=1.6.0"
straxen = ">=2.2.0"

[tool.setuptools.packages.find]
include = ["fuse*"]
[build-system]
requires = ["poetry-core>=1.0.8", "setuptools"]
build-backend = "poetry.core.masonry.api"

0 comments on commit e228974

Please sign in to comment.