forked from 3rdparty/wrf-python
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
785 B
31 lines
785 B
import setuptools |
|
import numpy.distutils.core |
|
|
|
ext1 = numpy.distutils.core.Extension( |
|
name = "wrf._wrfext", |
|
sources = ["src/wrf/wrfext.f90", |
|
"src/wrf/wrfext.pyf"] |
|
) |
|
|
|
ext2 = numpy.distutils.core.Extension( |
|
name = "wrf._wrfcape", |
|
sources = ["src/wrf/wrfcape.f90", |
|
"src/wrf/wrfcape.pyf"] |
|
) |
|
|
|
ext3 = numpy.distutils.core.Extension( |
|
name = "wrf._wrffortran", |
|
sources = ["fortran/constants.f90", |
|
"fortran/wrf_user.f90", |
|
"fortran/wrffortran.pyf"] |
|
) |
|
|
|
numpy.distutils.core.setup( |
|
name = "wrf", |
|
version = "0.0.1", |
|
packages = setuptools.find_packages("src"), |
|
ext_modules = [ext1,ext2,ext3], |
|
package_dir={"":"src"}, |
|
#namespace_packages=["wrf"], |
|
scripts=[], |
|
)
|
|
|