forked from jkomijani/normflow_
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (49 loc) · 1.53 KB
/
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
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
# Copyright (c) 2021-2023 Javad Komijani
from setuptools import setup
def readme():
with open('README.rst') as f:
return f.read()
packages = [
'normflow',
'normflow.action',
'normflow.device',
'normflow.lib',
'normflow.lib.combo',
'normflow.lib.indexing',
'normflow.lib.linalg',
'normflow.lib.spline',
'normflow.lib.stats',
'normflow.mask',
'normflow.mcmc',
'normflow.nn',
'normflow.nn.scalar',
'normflow.prior'
]
package_dir = {
'normflow': 'src',
'normflow.action': 'src/action',
'normflow.device': 'src/device',
'normflow.lib': 'src/lib',
'normflow.lib.combo': 'src/lib/combo',
'normflow.lib.indexing': 'src/lib/indexing',
'normflow.lib.linalg': 'src/lib/linalg',
'normflow.lib.spline': 'src/lib/spline',
'normflow.lib.stats': 'src/lib/stats',
'normflow.mask': 'src/mask',
'normflow.mcmc': 'src/mcmc',
'normflow.nn': 'src/nn',
'normflow.nn.scalar': 'src/nn/scalar',
'normflow.prior': 'src/prior'
}
setup(name='normflow',
version='1.1',
description='Normalizing flow for generating lattice field configurations',
packages=packages,
package_dir=package_dir,
url='http://github.com/jkomijani/normflow',
author='Javad Komijani',
author_email='[email protected]',
license='MIT',
install_requires=['numpy>=1.20', 'torch>=2.0'],
zip_safe=False
)