|
| 1 | +[build-system] |
| 2 | +requires = ["setuptools"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "histogrammar" |
| 7 | +description = "Composable histogram primitives for distributed data reduction" |
| 8 | +keywords = [ |
| 9 | + "pandas", |
| 10 | + "spark", |
| 11 | + "data-science", |
| 12 | + "data-analysis", |
| 13 | + "statistics", |
| 14 | + "python", |
| 15 | + "jupyter", |
| 16 | + "ipython" |
| 17 | +] |
| 18 | +readme = "README.rst" |
| 19 | +requires-python = ">=3.9" |
| 20 | +authors = [{ name = "Jim Pivarski (DIANA-HEP)", email = "pivarski@fnal.gov" }, { name = "Max Baak", email = "maxbaak@gmail.com" }] |
| 21 | +maintainers = [{ name = "Max Baak", email = "maxbaak@gmail.com" }] |
| 22 | +license = { type = "Apache Software License v2", file = "LICENSE" } |
| 23 | +dependencies = [ |
| 24 | + "numpy", |
| 25 | + "tqdm", |
| 26 | + "joblib>=0.14.0" |
| 27 | +] |
| 28 | +classifiers = ["Development Status :: 5 - Production/Stable", |
| 29 | + "Environment :: Console", |
| 30 | + "Intended Audience :: Science/Research", |
| 31 | + "License :: OSI Approved :: Apache Software License", |
| 32 | + "Topic :: Scientific/Engineering :: Information Analysis", |
| 33 | + "Topic :: Scientific/Engineering :: Mathematics", |
| 34 | + "Topic :: Scientific/Engineering :: Physics", |
| 35 | +] |
| 36 | +dynamic = ["version"] |
| 37 | + |
| 38 | +[project.optional-dependencies] |
| 39 | +pandas = [ |
| 40 | + "pandas" |
| 41 | +] |
| 42 | +spark = [ |
| 43 | + "pyspark>=3.1; python_version <= '3.11'", |
| 44 | +] |
| 45 | +test = [ |
| 46 | + "ipykernel>=5.1.3", |
| 47 | + "jupyter_client>=5.2.3", |
| 48 | + "matplotlib", |
| 49 | + "pandas", |
| 50 | + "pre-commit>=2.9.0", |
| 51 | + "pytest-notebook>=0.6.1", |
| 52 | + "pytest>=4.0.2", |
| 53 | +] |
| 54 | +test_numpy_pre2 = [ |
| 55 | + "numpy<2", |
| 56 | + "pandas<2", |
| 57 | +] |
| 58 | + |
| 59 | +# files to be shipped with the installation, under: histogrammar/test_data and histogrammar/notebooks |
| 60 | +# after installation, these can be found with the functions in resources.py |
| 61 | +[tool.setuptools.package-data] |
| 62 | +histogrammar = [ |
| 63 | + "test_data/*.csv.gz", |
| 64 | + "test_data/*.json*", |
| 65 | + "notebooks/*tutorial*.ipynb", |
| 66 | +] |
| 67 | + |
| 68 | +[project.urls] |
| 69 | +repository = "https://github.com/histogrammar/histogrammar-python" |
| 70 | + |
| 71 | +[tool.semantic_release] |
| 72 | +version_variable = [ |
| 73 | + "histogrammar/version.py:version", |
| 74 | +] |
| 75 | +build_command = "pip install build && python -m build" |
| 76 | + |
| 77 | +[tool.setuptools.dynamic] |
| 78 | +version = { attr = "histogrammar.version.version" } |
0 commit comments