-
Notifications
You must be signed in to change notification settings - Fork 192
/
setup.py
58 lines (54 loc) · 1.88 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
58
from os.path import join, dirname
from setuptools import setup
try:
with open(join(dirname(__file__), 'docs/Package_Info.md'), 'r') as readme:
long_description = readme.read()
except FileNotFoundError:
long_description = ""
pass
with open(join(dirname(__file__), 'phi', 'VERSION'), 'r') as version_file:
version = version_file.read()
setup(
name='phiflow',
version=version,
download_url='https://github.com/tum-pbs/PhiFlow/archive/%s.tar.gz' % version,
packages=['phi',
'phi.field',
'phi.geom',
'phi.jax',
'phi.jax.stax',
'phi.math',
'phi.physics',
'phi.tf',
'phi.torch',
'phi.vis',
'phi.vis._console',
'phi.vis._dash',
'phi.vis._matplotlib',
],
description='Differentiable PDE solving framework for machine learning',
long_description=long_description,
long_description_content_type='text/markdown',
keywords=['Differentiable', 'Simulation', 'Fluid', 'Machine Learning', 'Deep Learning'],
license='MIT',
author='Philipp Holl',
author_email='philipp.holl@tum.de',
url='https://github.com/tum-pbs/PhiFlow',
include_package_data=True,
install_requires=[
'phiml>=1.9.0',
'matplotlib>=3.5.0', # also required by dash for color maps
'packaging',
],
# Optional packages: dash + plotly (included in dash)
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
)