Browse Source

wrong file..

lon0
Maik Riechert 7 years ago
parent
commit
d9236e7ba2
  1. 20
      build/lib.win-amd64-3.6/wrf/__init__.py
  2. 12
      src/wrf/__init__.py

20
build/lib.win-amd64-3.6/wrf/__init__.py

@ -1,20 +0,0 @@ @@ -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__)

12
src/wrf/__init__.py

@ -1,5 +1,17 @@ @@ -1,5 +1,17 @@
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.parse('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 *

Loading…
Cancel
Save