|
1 | 1 | [build-system]
|
2 |
| -requires = [ |
3 |
| - "setuptools >= 35.0.2", |
4 |
| - "setuptools_scm >= 2.0.0, <3" |
5 |
| -] |
6 | 2 | build-backend = "setuptools.build_meta"
|
| 3 | +requires = ["setuptools ~= 65.0.0", "versioningit ~= 2.0.1", "wheel"] |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "adaptive" |
| 7 | +dynamic = ["version"] |
| 8 | +description = "Parallel active learning of mathematical functions" |
| 9 | +maintainers = [{ name = "Adaptive authors" }] |
| 10 | +license = { text = "BSD" } |
| 11 | +requires-python = ">=3.7" |
| 12 | +classifiers = [ |
| 13 | + "Development Status :: 4 - Beta", |
| 14 | + "License :: OSI Approved :: BSD License", |
| 15 | + "Intended Audience :: Science/Research", |
| 16 | + "Programming Language :: Python :: 3.7", |
| 17 | + "Programming Language :: Python :: 3.8", |
| 18 | + "Programming Language :: Python :: 3.9", |
| 19 | + "Programming Language :: Python :: 3.10", |
| 20 | + "Programming Language :: Python :: 3.11", |
| 21 | +] |
| 22 | +dependencies = [ |
| 23 | + "scipy", |
| 24 | + "sortedcollections >= 1.1", |
| 25 | + "sortedcontainers >= 2.0", |
| 26 | + "cloudpickle", |
| 27 | + "loky >= 2.9", |
| 28 | + "typing_extensions; python_version < '3.10'", |
| 29 | +] |
| 30 | + |
| 31 | +[project.optional-dependencies] |
| 32 | +other =[ |
| 33 | + "dill", |
| 34 | + "distributed", |
| 35 | + "ipyparallel>=6.2.5", # because of https://github.com/ipython/ipyparallel/issues/404 |
| 36 | + "scikit-optimize>=0.8.1", # because of https://github.com/scikit-optimize/scikit-optimize/issues/931 |
| 37 | + "scikit-learn", |
| 38 | + "wexpect; os_name == 'nt'", |
| 39 | + "pexpect; os_name != 'nt'", |
| 40 | +] |
| 41 | +notebook = [ |
| 42 | + "ipython", |
| 43 | + "ipykernel>=4.8.0", # because https://github.com/ipython/ipykernel/issues/274 and https://github.com/ipython/ipykernel/issues/263 |
| 44 | + "jupyter_client>=5.2.2", # because https://github.com/jupyter/jupyter_client/pull/314 |
| 45 | + "holoviews>=1.9.1", |
| 46 | + "ipywidgets", |
| 47 | + "bokeh", |
| 48 | + "pandas", |
| 49 | + "matplotlib", |
| 50 | + "plotly", |
| 51 | +] |
| 52 | +testing = [ |
| 53 | + "flaky", |
| 54 | + "pytest", |
| 55 | + "pytest-cov", |
| 56 | + "pytest-randomly", |
| 57 | + "pytest-timeout", |
| 58 | + "pre_commit", |
| 59 | + "typeguard", |
| 60 | +] |
| 61 | + |
| 62 | +[project.urls] |
| 63 | +homepage = "https://adaptive.readthedocs.io/" |
| 64 | +documentation = "https://adaptive.readthedocs.io/" |
| 65 | +repository = "https://github.com/python-adaptive/adaptive" |
| 66 | + |
| 67 | +[project.readme] |
| 68 | +content-type = "text/markdown" |
| 69 | +file = "README.md" |
| 70 | + |
| 71 | +[tool.setuptools.packages.find] |
| 72 | +include = ["adaptive.*", "adaptive"] |
7 | 73 |
|
8 | 74 | [tool.pytest.ini_options]
|
9 | 75 | testpaths = ["adaptive"]
|
10 | 76 | addopts = "--durations=5 --cov --cov-append --cov-fail-under=70 -vvv --cov-report="
|
11 | 77 | norecursedirs = ["docs"]
|
12 | 78 |
|
13 | 79 | [tool.coverage.paths]
|
14 |
| -source = [ |
15 |
| - "adaptive", |
16 |
| - ".nox/py*/lib/python*/site-packages", |
17 |
| -] |
| 80 | +source = ["adaptive", ".nox/py*/lib/python*/site-packages"] |
18 | 81 |
|
19 | 82 | [tool.coverage.run]
|
20 | 83 | branch = true
|
|
0 commit comments