-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·39 lines (35 loc) · 1.71 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
from os import name
import setuptools
from numpy.distutils.core import setup, Extension
delhommeauSources = ["src/litebem/solver/green_functions/delhommeau_f90/constants.f90",
"src/litebem/solver/green_functions/delhommeau_f90/old_Prony_decomposition.f90",
"src/litebem/solver/green_functions/delhommeau_f90/Green_Rankine.f90",
"src/litebem/solver/green_functions/delhommeau_f90/Initialize_Green_wave.f90",
"src/litebem/solver/green_functions/delhommeau_f90/Green_wave.f90",
"src/litebem/solver/green_functions/delhommeau_f90/matrices.f90"]
delhommeauExtension = Extension(name="litebem.solver.green_functions.delhommeau_f90",
sources=delhommeauSources,
extra_f90_compile_args=['-fpp'])
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name = 'litebem',
version="1.0.2",
author = 'mancellin, dav-og, dunc-lamb',
license = 'Apache-2.0',
description = 'A lightweight, Apache 2.0 distribution of Matthieu Ancellin`s Capytaine BEM code.',
long_description=long_description,
long_description_content_type="text/markdown",
url = 'https://github.com/dav-og/liteBEM',
install_requires = ['pytest', 'numpy', 'scipy', 'pandas', 'xarray'],
classifiers=[
"Programming Language :: Python",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering"
],
package_dir={"": "src"},
packages=setuptools.find_packages(where="src"),
ext_modules=[delhommeauExtension],
python_requires=">=3.0",
)