generated from rosalindfranklininstitute/python-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated dependencies list in pyproject.toml.
- Loading branch information
1 parent
943b07c
commit 092284c
Showing
1 changed file
with
17 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,108 +1,19 @@ | ||
# | ||
# Build system requirements | ||
# | ||
[build-system] | ||
|
||
requires = ["setuptools", "setuptools-scm", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
# | ||
# | ||
# Basic project metadata | ||
# | ||
[project] | ||
|
||
name = "template" | ||
|
||
description = "A Python project template" | ||
|
||
[tool.poetry] | ||
name = "creeper" | ||
version = "0.1.0" | ||
description = "" | ||
authors = ["Neville Yee <[email protected]>"] | ||
license = "Apache V2" | ||
readme = "README.md" | ||
|
||
requires-python = ">=3.6" | ||
|
||
license = {file = "LICENSE"} | ||
|
||
keywords = [ | ||
"template", | ||
"python", | ||
"project" | ||
] | ||
|
||
authors = [ | ||
{name = "Aaron A. Aaronson", email = "[email protected]" } | ||
] | ||
|
||
classifiers = [ | ||
"Development Status :: 3 - Alpha", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
] | ||
|
||
dependencies = [ | ||
"numpy" | ||
] | ||
|
||
dynamic = [ | ||
"version" | ||
] | ||
|
||
# | ||
# Project urls | ||
# | ||
[project.urls] | ||
|
||
"Source" = "https://github.com/rosalindfranklininstitute/python-template" | ||
"Tracker" = "https://github.com/rosalindfranklininstitute/python-template/issues" | ||
|
||
# | ||
# Project additional optional dependencies | ||
# | ||
[project.optional-dependencies] | ||
|
||
test = [ | ||
"pytest", | ||
"pytest-cov", | ||
] | ||
|
||
# | ||
# Project command line scripts | ||
# | ||
[project.scripts] | ||
|
||
python-template = "template.command_line:main" | ||
|
||
# | ||
# Configure setup tools | ||
# | ||
[tool.setuptools.packages.find] | ||
|
||
where = ["src"] | ||
|
||
# | ||
# Set the package version from git tag | ||
# | ||
[tool.setuptools.dynamic] | ||
|
||
version = {attr = "template._version.__version__"} | ||
|
||
# | ||
# Configure setuptools-scm to generate version file | ||
# | ||
[tool.setuptools_scm] | ||
|
||
write_to = "src/template/_version.py" | ||
|
||
# | ||
# Configure pytest | ||
# | ||
[tool.pytest.ini_options] | ||
|
||
addopts = "--cov=src --cov-report term --cov-report html" | ||
|
||
testpaths = [ "tests" ] | ||
[tool.poetry.dependencies] | ||
python = ">=3.9, <3.12" | ||
numpy = "^1.26.0" | ||
tqdm = "*" | ||
jupyterlab = "*" | ||
matplotlib = "*" | ||
scikit-learn = "*" | ||
|
||
# [build-system] | ||
# requires = ["poetry-core"] | ||
# build-backend = "poetry.core.masonry.api" |