forked from lettucecfd/lettuce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
66 lines (59 loc) · 2.01 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
59
60
61
62
63
64
65
66
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
from setuptools import setup, find_packages
import versioneer
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read()
requirements = ['Click>=6.0', "torch>=2.1", "numpy==1.26.4", "matplotlib==3.9.0", "pyevtk", "h5py>=3.2.1", "mmh3"]
setup_requirements = ['pytest-runner', 'pytest']
setup(
author="Andreas Kraemer",
author_email='kraemer.research@gmail.com',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
description="Lattice Boltzmann Python GPU",
entry_points={
'console_scripts': [
'lettuce=lettuce.cli:main',
],
},
install_requires=requirements,
license="MIT license",
long_description=readme + '\n\n' + history,
package_data={'lettuce.native_generator': ['lettuce/native_generator/template/setup.py']},
include_package_data=True,
keywords='lettuce',
name='lettuce',
packages=find_packages(include=[
'lettuce',
'lettuce.ext',
'lettuce.ext._boundary',
'lettuce.ext._collision',
'lettuce.ext._equilibrium',
'lettuce.ext._flows',
'lettuce.ext._force',
'lettuce.ext._reporter',
'lettuce.ext._stencil',
'lettuce.cuda_native',
'lettuce.cuda_native.ext',
'lettuce.cuda_native.ext._boundary',
'lettuce.cuda_native.ext._collision',
'lettuce.cuda_native.ext._equilibrium',
'lettuce.cuda_native.ext._force',
'lettuce.util']),
setup_requires=setup_requirements,
test_suite='tests',
url='https://github.com/lettucecfd/lettuce',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
zip_safe=False,
)