Skip to content

Commit

Permalink
Updated dependencies list in pyproject.toml.
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterVexillen committed Jun 10, 2024
1 parent 943b07c commit 092284c
Showing 1 changed file with 17 additions and 106 deletions.
123 changes: 17 additions & 106 deletions pyproject.toml
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"

0 comments on commit 092284c

Please sign in to comment.