diff --git a/pyproject.toml b/pyproject.toml index 008c8e4..1b2e9f6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,4 +1,48 @@ +[project] +name = "njab" +authors = [{ name = "Henry Webel", email = "henry.webel@cpr.ku.dk" }] +description = "not Just Another Biomarker" +readme = "README.md" +requires-python = ">=3.8" +keywords = ["bioinformatics", "biomarker"] +license = { file = "LICENSE" } +classifiers = [ + "License :: OSI Approved :: MIT License", + "Intended Audience :: Healthcare Industry", + "Intended Audience :: Science/Research", + "Programming Language :: Python :: 3", + "Topic :: Scientific/Engineering :: Bio-Informatics", +] +dependencies = [ + "omegaconf", + "lifelines", + "numpy", + "pandas", + "scikit-learn", + "statsmodels", + "umap-learn", + "matplotlib", + "mrmr_selection", + "pingouin", + "seaborn", +] +dynamic = ["version"] + +[project.optional-dependencies] +docs = [ + "sphinx", + "sphinx-book-theme", + "myst-nb", + "ipywidgets", + "sphinx-new-tab-link!=0.2.2", +] + +[project.urls] +"Bug Tracker" = "https://github.com/RasmussenLab/njab/issues" +"Homepage" = "https://github.com/RasmussenLab/njab" + [build-system] -requires = ["setuptools>=42", "wheel"] build-backend = "setuptools.build_meta" +requires = ["setuptools>=64", "setuptools_scm>=8"] +[tool.setuptools_scm] diff --git a/setup.cfg b/setup.cfg index 1e8bb9a..412b0d9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,52 +1,3 @@ -[metadata] -name = njab -version = 0.0.6 -description = not Just Another Biomarker -long_description = file: README.md -long_description_content_type = text/markdown -author = Henry Webel -author_email = "Henry Webel" -license = MIT -license_files = LICENSE -classifiers = - License :: OSI Approved :: MIT License - Intended Audience :: Healthcare Industry - Intended Audience :: Science/Research - Programming Language :: Python :: 3 - Topic :: Scientific/Engineering :: Bio-Informatics - -[options] -requires_python = ">=3.8" -package_dir = - =src -packages = find: -include_package_data = False -install_requires = - omegaconf - lifelines - numpy - pandas - scikit-learn - statsmodels - umap-learn - matplotlib - mrmr_selection - pingouin - seaborn - -[options.extras_require] -docs = - sphinx - sphinx-book-theme - myst-nb - ipywidgets - sphinx-new-tab-link!=0.2.2 - -[options.packages.find] -where = src -exclude = - test* - [yapf] based_on_style = pep8