Commit 98ffd5fe authored by Robert McGibbon's avatar Robert McGibbon
Browse files

Just remove the whole nonsense

parent d5115033
#
#
#
"""
Package simtk.openmm
......@@ -13,17 +9,7 @@ It also tries to load any plugin modules it can find.
__author__ = "Randall J. Radmer"
import os, sys, glob, os.path
if sys.platform not in ['win32', 'darwin']:
# The following is an evil incantation that is needed to permit
# the POSIX "dlopen" function to work. I do not understand
# it. If a better solution is known, please forward to the
# PyOpenMM code maintainers.
import ctypes
flags = sys.getdlopenflags()
sys.setdlopenflags(flags | ctypes.RTLD_GLOBAL)
import os, os.path
from simtk.openmm.openmm import *
from simtk.openmm.vec3 import Vec3
from simtk.openmm import version
......@@ -32,7 +18,3 @@ if os.getenv('OPENMM_PLUGIN_DIR') is None and os.path.isdir(version.openmm_libra
else:
pluginLoadedLibNames = Platform.loadPluginsFromDirectory(Platform.getDefaultPluginsDirectory())
__version__ = Platform.getOpenMMVersion()
if sys.platform not in ['win32', 'darwin']:
# rset the dlopen flags on linux
sys.setdlopenflags(flags)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment