From 09c7e5e331e2126cabfda117b63be1e2d34b988e Mon Sep 17 00:00:00 2001 From: Mason Proffitt Date: Tue, 23 Nov 2021 20:49:27 +0100 Subject: [PATCH] add packing files --- pyproject.toml | 6 ++++++ setup.cfg | 27 +++++++++++++++++++++++++++ src/abcd_pyhf/__init__.py | 1 + 3 files changed, 34 insertions(+) create mode 100644 pyproject.toml create mode 100644 setup.cfg create mode 100644 src/abcd_pyhf/__init__.py diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..374b58c --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,6 @@ +[build-system] +requires = [ + "setuptools>=42", + "wheel" +] +build-backend = "setuptools.build_meta" diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..af371e1 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,27 @@ +[metadata] +name = abcd-pyhf +version = 0.0.0 +author = Mason Proffitt +author_email = masonlp@uw.edu +description = pyhf implementation of the ABCD method for background estimation +long_description = file: README.md +long_description_content_type = text/markdown +url = https://github.com/masonproffitt/abcd-pyhf +classifiers = + Programming Language :: Python :: 3 + License :: OSI Approved :: MIT License + Operating System :: OS Independent + +[options] +package_dir = + = src +packages = find: +python_requires = >=3.6 +install_requires = + numpy + matplotlib + pyhf + iminuit + +[options.packages.find] +where = src diff --git a/src/abcd_pyhf/__init__.py b/src/abcd_pyhf/__init__.py new file mode 100644 index 0000000..8eb5fa1 --- /dev/null +++ b/src/abcd_pyhf/__init__.py @@ -0,0 +1 @@ +from .abcd import ABCD