-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
43 lines (38 loc) · 1.51 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[tool.poetry]
name = "easyphysics"
version = "0.1.0"
description = "A package with useful physics formulas to make physics easy and fun for users!"
authors = ["Group 16"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/UBC-MDS/easyphysics"
repository = "https://github.com/UBC-MDS/easyphysics"
documentation = "https://easyphysics.readthedocs.io"
[tool.poetry.dependencies]
python = "^3.9"
matplotlib = "^3.6.3"
altair = "^4.2.0"
[tool.poetry.dev-dependencies]
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.1"
pytest-cov = "^4.0.0"
jupyter = "^1.0.0"
myst-nb = {version = "^0.17.1", python = "^3.9"}
sphinx-autoapi = "^2.0.1"
sphinx-rtd-theme = "^1.1.1"
python-semantic-release = "^7.33.0"
[tool.semantic_release]
#version_variable = "pyproject.toml:version" # version location
version_variable = "src/easyphysics/__init__.py:__version__" # version location
branch = "main" # branch to make releases of
changelog_file = "CHANGELOG.md" # changelog file
build_command = "poetry build" # build dists
dist_path = "dist/" # where to put dists
upload_to_release = true # auto-create GitHub release
upload_to_pypi = false # don't auto-upload to PyPI
remove_dist = false # don't remove dists
patch_without_tag = true # patch release by default
version_source = "commit"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"