-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
28 lines (25 loc) · 928 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
"""
Setup file for ncmw.
Use setup.cfg to configure your project.
This file was generated with PyScaffold 4.0.2.
PyScaffold helps you to put up the scaffold of your new Python project.
Learn more under: https://pyscaffold.org/
"""
from setuptools import setup
import os
# Install without deps using pip
call = "pip install --no-deps sbi @ git+https://github.com/sbi-dev/sbi.git"
call2 = "pip install --no-deps arviz==0.12"
os.system(call)
os.system(call2)
if __name__ == "__main__":
try:
setup(use_scm_version={"version_scheme": "no-guess-dev"})
except: # noqa
print(
"\n\nAn error occurred while building the project, "
"please ensure you have the most updated version of setuptools, "
"setuptools_scm and wheel with:\n"
" pip install -U setuptools setuptools_scm wheel\n\n"
)
raise