diff --git a/pyproject.toml b/pyproject.toml index c4af95c..8ea8d5b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,13 +1,13 @@ -[tool.poetry] +[project] name = "quantms-utils" +dynamic = ["version"] description = "Python scripts and helpers for the quantMS workflow" readme = "README.md" license = "MIT" -version = "0.0.27" authors = [ - "Yasset Perez-Riverol ", - "Dai Chengxin ", - "Julianus Pfeuffer " + { name = "Yasset Perez-Riverol", email = "ypriverol@gmail.com" }, + { name = "Dai Chengxin", email = "chengxin2024@126.com" }, + { name = "Julianus Pfeuffer", email = "jule.pf@gmail.com" } ] keywords = [ "quantms", @@ -24,26 +24,22 @@ classifiers = [ "Topic :: Scientific/Engineering :: Bio-Informatics", "Development Status :: 5 - Production/Stable" ] -packages = [ - { include = "quantmsutils" } +dependencies = [ + "click", + "sdrf-pipelines>=0.1.2", + "pyopenms>=3.3.0", + "pandas", + "pyarrow>=16.1.0", + "scipy", ] -[tool.poetry.dependencies] -python = "*" -click = "*" -sdrf-pipelines = ">=0.1.2" -pyopenms = ">=3.3.0" -pandas = "*" -pyarrow = ">=16.1.0" -scipy = "*" - -[tool.poetry.urls] +[project.urls] GitHub = "https://github.com/bigbio/quantms-utils" PyPi = "https://pypi.org/project/quantms-utils/" Quantms = "https://quantms.org" LICENSE = "https://github.com/bigbio/quantms-utils/blob/main/LICENSE" -[tool.poetry.scripts] +[project.scripts] quantmsutilsc = "quantmsutils.quantmsutilsc:main" [tool.isort] @@ -54,5 +50,14 @@ line-length = 99 target-version = ["py39"] [build-system] -requires = ["poetry-core>=1.2.0"] -build-backend = "poetry.core.masonry.api" +requires = ["hatchling", "hatch-vcs"] +build-backend = "hatchling.build" + +[tool.hatch.version] +source = "vcs" + +[tool.hatch.version.raw-options] +local_scheme = "no-local-version" + +[tool.hatch.build.targets.wheel] +packages = ["quantmsutils"] diff --git a/recipe/meta.yaml b/recipe/meta.yaml index b318cac..ed4e9c2 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,7 +1,7 @@ # recipe/meta.yaml package: name: quantms-utils - version: "0.0.26" + version: "0.0.27" source: path: ../ @@ -19,12 +19,12 @@ requirements: host: - python - pip - - poetry-core >=1.2.0 - + - hatchling + - hatch-vcs run: - python >=3.9,<3.13 - click - - sdrf-pipelines >=0.1.1 + - sdrf-pipelines >=0.1.2 - pyopenms>=3.3.0 - pandas - pyarrow>=16.1.0