Skip to content

Commit 974f07a

Browse files
authored
Merge pull request #117 from ColCarroll/update-ci
Fix release version
2 parents 638a78e + ec765f8 commit 974f07a

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

setup.py

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,25 @@
1515

1616

1717
def get_requirements():
18-
with codecs.open(REQUIREMENTS_FILE) as buff:
19-
return buff.read().splitlines()
18+
# TODO: The gh-action to upload to PyPI doesn't include the requirements.txt
19+
# so we're just copying them here as a backup. This is super brittle!
20+
try:
21+
with codecs.open(REQUIREMENTS_FILE) as buff:
22+
return buff.read().splitlines()
23+
except:
24+
return """pymc >= 5.10.0
25+
arviz
26+
scikit-learn
27+
matplotlib
28+
pandas
29+
seaborn
30+
graphviz
31+
numpy
32+
jax
33+
numpyro
34+
jaxlib
35+
numba
36+
netCDF4""".splitlines()
2037

2138

2239
def get_long_description():

0 commit comments

Comments
 (0)