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.
24 lines
653 B
24 lines
653 B
import setuptools |
|
import numpy.distutils.core |
|
|
|
ext1 = numpy.distutils.core.Extension( |
|
name = "wrf.var._wrfext", |
|
sources = ["src/python/wrf/var/wrfext.f90", |
|
"src/python/wrf/var/wrfext.pyf"] |
|
) |
|
|
|
ext2 = numpy.distutils.core.Extension( |
|
name = "wrf.var._wrfcape", |
|
sources = ["src/python/wrf/var/wrfcape.f90", |
|
"src/python/wrf/var/wrfcape.pyf"] |
|
) |
|
|
|
numpy.distutils.core.setup( |
|
name = "wrf.var", |
|
version = "0.0.1", |
|
packages = setuptools.find_packages("src/python"), |
|
ext_modules = [ext1,ext2], |
|
package_dir={"":"src/python"}, |
|
namespace_packages=["wrf"], |
|
scripts=[], |
|
)
|
|
|