Skip to content

Commit 39d82a1

Browse files
authored
Merge pull request #75 from bigbio/dev
Minor changes and refinements
2 parents 9e90db6 + df7a417 commit 39d82a1

10 files changed

Lines changed: 33 additions & 110 deletions

File tree

.DS_Store

-8 KB
Binary file not shown.

.github/workflows/conda-build.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/python-app.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@ jobs:
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install --upgrade pip
29-
python -m pip install flake8 pytest
29+
python -m pip install flake8 pytest build
3030
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
31-
pip install poetry
32-
poetry build
31+
python -m build
3332
pip install dist/*.whl
3433
- name: Lint with flake8
3534
run: |
@@ -39,4 +38,4 @@ jobs:
3938
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
4039
- name: Test with pytest
4140
run: |
42-
poetry run pytest
41+
pytest

.github/workflows/python-package.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,9 @@ jobs:
2727
- name: Install dependencies
2828
run: |
2929
python -m pip install --upgrade pip
30-
python -m pip install flake8 pytest
30+
python -m pip install flake8 pytest build
3131
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
32-
pip install poetry
33-
poetry build
32+
python -m build
3433
pip install dist/*.whl
3534
- name: Lint with flake8
3635
run: |

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ cython_debug/
169169
.qodo
170170
/tests/test_data/RD139_Narrow_UPS1_0_1fmol_inj1.mzML
171171

172+
# macOS metadata files
173+
.DS_Store
174+
172175
# DIA-NN config file generated by tests
173176
diann_config.cfg
174177

pyproject.toml

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
[tool.poetry]
1+
[project]
22
name = "quantms-utils"
3+
dynamic = ["version"]
34
description = "Python scripts and helpers for the quantMS workflow"
45
readme = "README.md"
56
license = "MIT"
6-
version = "0.0.28"
77
authors = [
8-
"Yasset Perez-Riverol <ypriverol@gmail.com>",
9-
"Dai Chengxin <chengxin2024@126.com>",
10-
"Julianus Pfeuffer <jule.pf@gmail.com>"
8+
{ name = "Yasset Perez-Riverol", email = "ypriverol@gmail.com" },
9+
{ name = "Dai Chengxin", email = "chengxin2024@126.com" },
10+
{ name = "Julianus Pfeuffer", email = "jule.pf@gmail.com" }
1111
]
1212
keywords = [
1313
"quantms",
@@ -24,26 +24,22 @@ classifiers = [
2424
"Topic :: Scientific/Engineering :: Bio-Informatics",
2525
"Development Status :: 5 - Production/Stable"
2626
]
27-
packages = [
28-
{ include = "quantmsutils" }
27+
dependencies = [
28+
"click",
29+
"sdrf-pipelines>=0.1.2",
30+
"pyopenms>=3.3.0",
31+
"pandas",
32+
"pyarrow>=16.1.0",
33+
"scipy",
2934
]
3035

31-
[tool.poetry.dependencies]
32-
python = "*"
33-
click = "*"
34-
sdrf-pipelines = ">=0.1.2"
35-
pyopenms = ">=3.3.0"
36-
pandas = "*"
37-
pyarrow = ">=16.1.0"
38-
scipy = "*"
39-
40-
[tool.poetry.urls]
36+
[project.urls]
4137
GitHub = "https://github.com/bigbio/quantms-utils"
4238
PyPi = "https://pypi.org/project/quantms-utils/"
4339
Quantms = "https://quantms.org"
4440
LICENSE = "https://github.com/bigbio/quantms-utils/blob/main/LICENSE"
4541

46-
[tool.poetry.scripts]
42+
[project.scripts]
4743
quantmsutilsc = "quantmsutils.quantmsutilsc:main"
4844

4945
[tool.isort]
@@ -54,5 +50,14 @@ line-length = 99
5450
target-version = ["py39"]
5551

5652
[build-system]
57-
requires = ["poetry-core>=1.2.0"]
58-
build-backend = "poetry.core.masonry.api"
53+
requires = ["hatchling", "hatch-vcs"]
54+
build-backend = "hatchling.build"
55+
56+
[tool.hatch.version]
57+
source = "vcs"
58+
59+
[tool.hatch.version.raw-options]
60+
local_scheme = "no-local-version"
61+
62+
[tool.hatch.build.targets.wheel]
63+
packages = ["quantmsutils"]

quantmsutils/.DS_Store

-6 KB
Binary file not shown.

recipe/conda_build_config.yaml

Lines changed: 0 additions & 2 deletions
This file was deleted.

recipe/meta.yaml

Lines changed: 0 additions & 47 deletions
This file was deleted.

tests/.DS_Store

-8 KB
Binary file not shown.

0 commit comments

Comments
 (0)