-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #258 from ajhynes7/use_poetry
Use poetry and `pyproject.toml`
- Loading branch information
Showing
25 changed files
with
144 additions
and
135 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
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 |
---|---|---|
|
@@ -11,5 +11,6 @@ docs/source/api_reference/*/ | |
docs/source/computations/*/ | ||
docs/source/gallery/ | ||
htmlcov/ | ||
poetry.lock | ||
|
||
!.github/ |
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -63,7 +63,7 @@ | |
'../../examples/intersection', | ||
'../../examples/fitting', | ||
'../../examples/triangle', | ||
] | ||
], | ||
), | ||
} | ||
|
||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
[6, 5], | ||
[5, 6], | ||
[7, 8], | ||
] | ||
], | ||
) | ||
|
||
line_fit = Line.best_fit(points) | ||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
[6, 5, 5], | ||
[6, 6, 5], | ||
[7, 6, 7], | ||
] | ||
], | ||
) | ||
|
||
line_fit = Line.best_fit(points) | ||
|
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[mypy] | ||
mypy_path = stubs |
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 |
---|---|---|
@@ -0,0 +1,65 @@ | ||
[tool.poetry] | ||
|
||
name = "scikit-spatial" | ||
version = "5.2.0" | ||
description = "Spatial objects and computations based on NumPy arrays." | ||
license = "BSD" | ||
|
||
authors = ["Andrew Hynes <andrewjhynes@gmail.com>"] | ||
|
||
readme = "README.rst" | ||
|
||
repository = "https://github.com/ajhynes7/scikit-spatial" | ||
documentation = "https://scikit-spatial.readthedocs.io" | ||
|
||
keywords = ["NumPy", "matplotlib", "visualization", "spatial", "linear algebra"] | ||
|
||
classifiers = [ | ||
"Development Status :: 3 - Alpha", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: BSD License", | ||
"Natural Language :: English", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Topic :: Scientific/Engineering", | ||
] | ||
|
||
packages = [{ include = "skspatial", from = "src" }] | ||
|
||
|
||
[tool.poetry.dependencies] | ||
python = "^3.7" | ||
|
||
numpy = "^1.20" | ||
matplotlib = "^3" | ||
|
||
# Pre-commit | ||
pre-commit = { version = "2.11.1", optional = true } | ||
|
||
# Types | ||
mypy = { version = "0.812", optional = true } | ||
|
||
# Testing | ||
pytest = { version = "6.2.2", optional = true } | ||
pytest-cov = { version = "2.11.1", optional = true } | ||
hypothesis = { version = "6.8.1", optional = true } | ||
|
||
# Docs | ||
Sphinx = { version = "3.5.2", optional = true } | ||
numpydoc = { version = "1.1.0", optional = true } | ||
sphinx-bootstrap-theme = { version = "0.7.1", optional = true } | ||
sphinx-gallery = { version = "0.8.2", optional = true } | ||
|
||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
|
||
[tool.poetry.extras] | ||
pre_commit = ["pre-commit"] | ||
types = ["mypy"] | ||
base_test = ["pytest", "pytest-cov"] | ||
property = ["hypothesis"] | ||
docs = ["Sphinx", "numpydoc", "sphinx-bootstrap-theme", "sphinx-gallery"] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
Oops, something went wrong.