-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
54 lines (48 loc) · 1.62 KB
/
Copy pathsetup.py
File metadata and controls
54 lines (48 loc) · 1.62 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
49
50
51
52
53
54
import os
#import sys; print(sys.executable)
from setuptools import find_packages, setup
#from numpy.distutils.core import setup, Extension
#import numpy
#from numpy.distutils.core import setup
# src = os.path.join("multi_mesh", 'src')
# lib = Extension('multi_mesh',
# sources=[
# os.path.join(src, "centroid.c"),
# os.path.join(src, "trilinearinterpolator.c")],
# extra_compile_args=["-O3", "-fopenmp"],
# extra_link_args=['-lgomp'])
def readme():
with open("README.md") as f:
return f.read()
setup(
name="multi_mesh",
version="0.1",
author="The MultiMesh Development Team",
long_description=readme(),
packages=find_packages(),
license="MIT",
dependency_links=[
"https://github.com/SalvusHub/pyexodus"
"/archive/master.zip#egg=pyexodus-master"
],
install_requires=["numpy", "scipy", "click", "h5py", "pyexodus", "tdqm", "pykdtree"],
platforms="OS Independent",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
],
entry_points="""
[console_scripts]
multi_mesh=multi_mesh.scripts.cli:cli
"""
# ext_package='multi_mesh.lib',
# ext_modules=[lib]
)