forked from 3rdparty/wrf-python
2 changed files with 12 additions and 20 deletions
@ -1,20 +0,0 @@ |
|||||||
from __future__ import (absolute_import, division, print_function, |
|
||||||
unicode_literals) |
|
||||||
import os |
|
||||||
import pkg_resources |
|
||||||
|
|
||||||
# For gfortran+msvc combination, extra shared libraries may exist (stored by numpy.distutils) |
|
||||||
if os.name == 'nt': |
|
||||||
try: |
|
||||||
req = pkg_resources.Requirement('wrf-python') |
|
||||||
extra_dll_dir = pkg_resources.resource_filename(req, 'wrf-python/extra-dll') |
|
||||||
if os.path.isdir(extra_dll_dir): |
|
||||||
os.environ['PATH'] += os.pathsep + extra_dll_dir |
|
||||||
except ImportError: |
|
||||||
pass |
|
||||||
|
|
||||||
from . import api |
|
||||||
from .api import * |
|
||||||
|
|
||||||
__all__ = [] |
|
||||||
__all__.extend(api.__all__) |
|
Loading…
Reference in new issue