-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·45 lines (38 loc) · 1.92 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
from setuptools import setup, find_packages
from numpy.distutils.core import setup, Extension
import os
import io
import subprocess
import platform
PYPI_VERSION = "0.9.6b1"
ext = Extension(name = 'quagmire._fortran',
sources = ['src/quagmire.pyf','src/trimesh.f90'])
this_directory = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
if __name__ == "__main__":
setup(name = 'quagmire',
author = "Ben Mather",
author_email = "[email protected]",
url = "https://github.com/underworldcode/quagmire",
version = PYPI_VERSION,
description = "Python surface process framework on highly scalable unstructured meshes",
long_description = long_description,
long_description_content_type='text/markdown',
ext_modules = [ext],
packages = ['quagmire',
'quagmire.tools',
'quagmire.tools.cloud',
'quagmire.equation_systems',
'quagmire.function',
'quagmire.scaling',
'quagmire.mesh',
'quagmire.topomesh'],
install_requires = ['numpy>=1.16.0', 'scipy>=1.0.0', 'stripy>=1.2', 'petsc4py', 'mpi4py', 'h5py', 'pint'],
classifiers = ['Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',]
)