https://github.com/geomstats/geomstats
Tip revision: cadbda232b2667db6bfd851ab7565893fc430e27 authored by Luís F. Pereira on 02 April 2024, 17:19:58 UTC
Merge pull request #1984 from luisfpereira/pre-shape
Merge pull request #1984 from luisfpereira/pre-shape
Tip revision: cadbda2
pyproject.toml
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "geomstats"
dynamic = ["version"]
authors = [{ name = "Nina Miolane", email = "nmiolane@gmail.com" }]
readme = "README.rst"
description = "Geometric statistics on manifolds"
license = { file = "LICENSE.md" }
classifiers = [
"License :: OSI Approved :: MIT License",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
requires-python = ">= 3.8"
dependencies = [
"joblib >= 0.17.0",
"matplotlib >= 3.3.4",
"numpy >= 1.18.1",
"pandas >= 1.1.5",
"scikit-learn >= 0.22.1",
"scipy >= 1.9",
]
[project.optional-dependencies]
doc = [
"jupyter",
"nbsphinx",
"nbsphinx_link",
"sphinx",
"sphinx_gallery",
"pydata-sphinx-theme",
]
lint = [
"black",
"flake8",
"flake8-docstrings",
"Flake8-pyproject",
"isort",
"pre-commit",
]
test = ["pytest", "pytest-cov", "coverage", "jupyter", "ipython < 8.23"]
graph = ["networkx"]
autograd = ["autograd >= 1.3"]
pytorch = ["torch >= 1.9.1"]
backends = ["geomstats[autograd, pytorch]"]
opt = ["geomstats[graph]"]
dev = ["geomstats[test, lint, doc]"]
all = ["geomstats[dev, opt, backends]"]
[project.urls]
homepage = "http://github.com/geomstats/geomstats"
documentation = "https://geomstats.github.io/"
repository = "http://github.com/geomstats/geomstats"
[tool.setuptools.dynamic]
version = { attr = "geomstats.__version__" }
[tool.setuptools.packages.find]
include = ["geomstats", "geomstats.*"]
[tool.setuptools.package-data]
"*" = ["datasets/data/**/*"]
[tool.pytest.ini_options]
markers = [
"smoke: simple and basic numerical tests.",
"random: tests that use randomized data.",
"validation: not smoke, neither random.",
"ignore: deselect tests.",
"vec: vectorization tests.",
"shape: array shape tests.",
"type: checks output types.",
"mathprop: mathematical properties tests.",
"slow: for slow tests.",
"redundant: redundant test.",
]
[tool.flake8]
application_import_names = "geomstats"
docstring-convention = "numpy"
exclude = "examples/*.ipynb"
ignore = ["W503", "W504"]
import_order_style = "smarkets"
max-line-length = 88
extend-ignore = "E203"
per-file-ignores = [
"geomstats/learning/_sklearn_wrapper.py: D101, D102, D105",
"geomstats/*: E731",
"geomstats/_backend/*:F401, D103",
"geomstats/numerics/*:D104,E731",
"geomstats/test_cases/backend/__init__.py: D104, F401",
"geomstats/visualization/*: D101, D102",
"geomstats/visualization/__init__.py: F401",
"geomstats/tests.py : D101, D102",
"tests/*: D100, D101, D102, D103, D106, D200, D201, D205, D400, D404, I100, I101, I201, I202, E501, E731",
"tests/conftest.py: D100, F401",
"*/__init__.py: D104",
"geomstats/test*/*: D100, D101, D102, D103, D104, E501",
]