From ec765f81e5c6fb9958ebca171430aeaba272bbd3 Mon Sep 17 00:00:00 2001 From: Colin Carroll Date: Sun, 7 Jul 2024 22:16:42 -0400 Subject: [PATCH] Fix release version --- setup.py | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 7ebf742..fc96082 100644 --- a/setup.py +++ b/setup.py @@ -15,8 +15,25 @@ def get_requirements(): - with codecs.open(REQUIREMENTS_FILE) as buff: - return buff.read().splitlines() + # TODO: The gh-action to upload to PyPI doesn't include the requirements.txt + # so we're just copying them here as a backup. This is super brittle! + try: + with codecs.open(REQUIREMENTS_FILE) as buff: + return buff.read().splitlines() + except: + return """pymc >= 5.10.0 +arviz +scikit-learn +matplotlib +pandas +seaborn +graphviz +numpy +jax +numpyro +jaxlib +numba +netCDF4""".splitlines() def get_long_description():