|
| 1 | +[project] |
| 2 | +name = "numpyro" |
| 3 | +version = "0.1.53" |
| 4 | +description="Pyro PPL on NumPy" |
| 5 | +readme = "README.md" |
| 6 | +requires-python = ">=3.9" |
| 7 | +authors = [ |
| 8 | + { name = "Uber AI Labs", email = "[email protected]" }, |
| 9 | +] |
| 10 | +keywords = ["probabilistic", "machine learning", "bayesian", "statistics"] |
| 11 | +license.file = "LICENSE.md" |
| 12 | +classifiers=[ |
| 13 | + "Intended Audience :: Developers", |
| 14 | + "Intended Audience :: Education", |
| 15 | + "Intended Audience :: Science/Research", |
| 16 | + "License :: OSI Approved :: Apache Software License", |
| 17 | + "Operating System :: POSIX :: Linux", |
| 18 | + "Operating System :: MacOS :: MacOS X", |
| 19 | + "Programming Language :: Python :: 3.9", |
| 20 | + "Programming Language :: Python :: 3.10", |
| 21 | + "Programming Language :: Python :: 3.11", |
| 22 | +] |
| 23 | +dependencies = [ |
| 24 | + "jax>=0.4.25", |
| 25 | + "jaxlib>=0.4.25", |
| 26 | + "multipledispatch>=1.0.0", |
| 27 | + "numpy>=1.22", |
| 28 | + "tqdm>=4.60", |
| 29 | +] |
| 30 | + |
| 31 | +[project.optional-dependencies] |
| 32 | +doc = [ |
| 33 | + "ipython", # sphinx needs this to render codes |
| 34 | + "nbsphinx>=0.8.9", |
| 35 | + "readthedocs-sphinx-search>=0.3.2", |
| 36 | + "sphinx>=5", |
| 37 | + "sphinx_rtd_theme", |
| 38 | + "sphinx-gallery", |
| 39 | +] |
| 40 | +test = [ |
| 41 | + "importlib-metadata<5.0", |
| 42 | + "ruff>=0.1.8", |
| 43 | + "pytest>=4.1", |
| 44 | + "pyro-api>=0.1.1", |
| 45 | + "scikit-learn", |
| 46 | + "scipy>=1.9", |
| 47 | +] |
| 48 | +dev = [ |
| 49 | + "dm-haiku", |
| 50 | + "flax", |
| 51 | + "funsor>=0.4.1", |
| 52 | + "graphviz", |
| 53 | + "jaxns==2.6.3", |
| 54 | + "matplotlib", |
| 55 | + "optax>=0.0.6", |
| 56 | + "pylab-sdk", # jaxns dependency |
| 57 | + "pyyaml", # flax dependency |
| 58 | + "requests", # pylab dependency |
| 59 | + "tensorflow_probability>=0.18.0", |
| 60 | +] |
| 61 | +examples = [ |
| 62 | + "arviz", |
| 63 | + "jupyter", |
| 64 | + "matplotlib", |
| 65 | + "pandas", |
| 66 | + "seaborn", |
| 67 | + "scikit-learn", |
| 68 | + "wordcloud", |
| 69 | +] |
| 70 | +cpu = ["numpyro", "jax[cpu]"] |
| 71 | +gpu = ["numpyro", "jax[tpu]"] |
| 72 | +cuda = ["numpyro", "jax[cuda]"] |
| 73 | + |
| 74 | +[project.urls] |
| 75 | +Documentation = "https://num.pyro.ai/en/stable/" |
| 76 | +Repository = "https://github.com/pyro-ppl/numpyro" |
| 77 | + |
| 78 | + |
| 79 | +[build-system] |
| 80 | +requires = ["setuptools>=42", "wheel"] |
| 81 | +build-backend = "setuptools.build_meta" |
| 82 | + |
| 83 | + |
| 84 | +# NOTE: this can be simplified using src-layout |
| 85 | +[tool.setuptools.packages.find] |
| 86 | +include = ["numpyro*"] |
| 87 | + |
| 88 | + |
1 | 89 | [tool.ruff] |
2 | 90 | # Exclude a variety of commonly ignored directories. |
3 | 91 | exclude = [ |
|
0 commit comments