-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
77 lines (71 loc) · 1.74 KB
/
setup.py
File metadata and controls
77 lines (71 loc) · 1.74 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
"""
Setup script for cmcd.
This setup is required or else
>> ModuleNotFoundError: No module named 'cmcd'
will occur.
"""
from setuptools import setup, find_packages
import pathlib
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
extra_compile_args = ['-O3']
extra_link_args = []
setup(
name="cmcd",
version="0.0.0",
description="cmcd is a package for solving sampling problems",
long_description=README,
long_description_content_type="text/markdown",
license="MIT",
packages=find_packages(exclude=['*.test']),
install_requires=[
# 'diffusionjax',
# 'flax==0.3.3',
'ml-collections==0.1.1',
'numpy',
'scipy',
'h5py',
'matplotlib',
'absl-py==0.10.0',
'opt-einsum==3.3.0',
'optax==0.1.3',
'pickleshare==0.7.5',
'tqdm==4.64.1',
'wandb==0.13.5',
],
extras_require={
'linting': [
"flake8",
"pylint",
"mypy",
"typing-extensions",
"pre-commit",
"ruff",
'jaxtyping',
],
'testing': [
"pytest",
"pytest-xdist",
"pytest-cov",
"coveralls",
"jax>=0.4.1",
"jaxlib>=0.4.1",
"setuptools_scm[toml]",
"setuptools_scm_git_archive",
],
'examples': [
"chex==0.1.82",
"inference_gym==0.0.4",
"haiku",
"dm-haiku==0.0.9",
"dm-tree==0.1.7",
"distrax==0.1.2",
"keras==2.13.1",
"matplotlib==3.6.2",
"matplotlib-inline==0.1.6",
"numpyro==0.10.1",
],
},
include_package_data=True)