-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
48 lines (44 loc) · 1.37 KB
/
Copy pathsetup.py
File metadata and controls
48 lines (44 loc) · 1.37 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
from setuptools import setup, find_packages
import sysconfig
platform = sysconfig.get_platform()
is_m1_mac = platform.startswith("mac") and "universal" in platform or platform == "macosx-11.1-arm64"
if is_m1_mac:
install_requires = [
'DynamicFieldPy',
'tensorflow-macos==2.9.0',
'matplotlib==3.5.1',
'numpy==1.22.3',
'scipy==1.9.3',
'tensorflow-probability==0.15.0',
'protobuf==3.20.0'
]
elif platform == "macosx-11.1-arm64":
install_requires = [
'DynamicFieldPy',
'tensorflow-macos==2.9.0',
'matplotlib==3.5.1',
'numpy==1.22.3',
'scipy==1.9.3',
'tensorflow-probability==0.15.0',
'protobuf==3.20.0'
]
else:
install_requires = [
'DynamicFieldPy',
'tensorflow==2.9.0',
'matplotlib==3.5.1',
'numpy==1.22.3',
'scipy==1.9.3',
'tensorflow-probability==0.15.0',
'protobuf==3.20.0'
]
setup(name='DynamicFieldFlow',
version='0.1',
description='A library for simulating Dynamic Field architectures with TensorFlow',
url='https://github.com/danielsabinasz/DynamicFieldFlow',
author='Daniel Sabinasz',
author_email='daniel@sabinasz.net',
license='CC-BY-ND 3.0',
packages=find_packages(include=['dff', 'dff.*']),
install_requires=install_requires,
zip_safe=False)