From 097101df1d76a7fc1cb80078d349b026ce720433 Mon Sep 17 00:00:00 2001 From: Ziaeemehr Date: Tue, 6 Aug 2024 10:17:34 +0200 Subject: [PATCH] preparing package structure. --- pyproject.toml | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..52f95a6 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,53 @@ +[build-system] +requires = [ + "hatchling", + "setuptools", + "setuptools_scm[toml]>=6.2", + "wheel" +] +build-backend = "setuptools.build_meta" + +[project] +name = "spikes" +dynamic = ['version'] +description = "Provide jax codes for Spikes, decisions, and actions, Book by Hugh Wilson 1999." +authors = [ + { name = "Abolfazl Ziaeemehr", email = "a.ziaeemehr@gmail.com" }, +] +readme = "README.md" +dependencies = [ + "numpy", + "scipy", + "networkx", + "nbconvert", + "numpydoc", + "matplotlib", + "seaborn", + "jax", + "jaxlib", + "jax-dataclasses", + "setuptools-scm", + "tqdm" +] +classifiers = [ + "Programming Language :: Python :: 3", + "Topic :: Scientific/Engineering :: Information Analysis", + "License :: OSI Approved :: Apache Software License", + "Operating System :: OS Independent", +] + +[project.optional-dependencies] +dev = [ + "pytest", + "pytest-xdist", + "pytest-benchmark", + "build", + "jupyter", +] + +[project.urls] +homepage = "https://ziaeemehr.github.io/spikes/" +repository = "https://github.com/Ziaeemehr/spikes" + +[tool.hatch.version] +path = "spikes/_version.py"