Skip to content

Commit b863180

Browse files
author
Henry
committed
✨ switch to dynamic versioning based on latest tag
- keep track of intermediate versions
1 parent 55036f5 commit b863180

File tree

2 files changed

+45
-50
lines changed

2 files changed

+45
-50
lines changed

pyproject.toml

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,48 @@
1+
[project]
2+
name = "njab"
3+
authors = [{ name = "Henry Webel", email = "henry.webel@cpr.ku.dk" }]
4+
description = "not Just Another Biomarker"
5+
readme = "README.md"
6+
requires-python = ">=3.8"
7+
keywords = ["bioinformatics", "biomarker"]
8+
license = { file = "LICENSE" }
9+
classifiers = [
10+
"License :: OSI Approved :: MIT License",
11+
"Intended Audience :: Healthcare Industry",
12+
"Intended Audience :: Science/Research",
13+
"Programming Language :: Python :: 3",
14+
"Topic :: Scientific/Engineering :: Bio-Informatics",
15+
]
16+
dependencies = [
17+
"omegaconf",
18+
"lifelines",
19+
"numpy",
20+
"pandas",
21+
"scikit-learn",
22+
"statsmodels",
23+
"umap-learn",
24+
"matplotlib",
25+
"mrmr_selection",
26+
"pingouin",
27+
"seaborn",
28+
]
29+
dynamic = ["version"]
30+
31+
[project.optional-dependencies]
32+
docs = [
33+
"sphinx",
34+
"sphinx-book-theme",
35+
"myst-nb",
36+
"ipywidgets",
37+
"sphinx-new-tab-link!=0.2.2",
38+
]
39+
40+
[project.urls]
41+
"Bug Tracker" = "https://github.com/RasmussenLab/njab/issues"
42+
"Homepage" = "https://github.com/RasmussenLab/njab"
43+
144
[build-system]
2-
requires = ["setuptools>=42", "wheel"]
345
build-backend = "setuptools.build_meta"
46+
requires = ["setuptools>=64", "setuptools_scm>=8"]
447

48+
[tool.setuptools_scm]

setup.cfg

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,3 @@
1-
[metadata]
2-
name = njab
3-
version = 0.0.6
4-
description = not Just Another Biomarker
5-
long_description = file: README.md
6-
long_description_content_type = text/markdown
7-
author = Henry Webel
8-
author_email = "Henry Webel" <henry.webel@cpr.ku.dk>
9-
license = MIT
10-
license_files = LICENSE
11-
classifiers =
12-
License :: OSI Approved :: MIT License
13-
Intended Audience :: Healthcare Industry
14-
Intended Audience :: Science/Research
15-
Programming Language :: Python :: 3
16-
Topic :: Scientific/Engineering :: Bio-Informatics
17-
18-
[options]
19-
requires_python = ">=3.8"
20-
package_dir =
21-
=src
22-
packages = find:
23-
include_package_data = False
24-
install_requires =
25-
omegaconf
26-
lifelines
27-
numpy
28-
pandas
29-
scikit-learn
30-
statsmodels
31-
umap-learn
32-
matplotlib
33-
mrmr_selection
34-
pingouin
35-
seaborn
36-
37-
[options.extras_require]
38-
docs =
39-
sphinx
40-
sphinx-book-theme
41-
myst-nb
42-
ipywidgets
43-
sphinx-new-tab-link!=0.2.2
44-
45-
[options.packages.find]
46-
where = src
47-
exclude =
48-
test*
49-
501
[yapf]
512
based_on_style = pep8
523

0 commit comments

Comments
 (0)