"...ssh:/git@developer.sourcefind.cn:2222/tsoc/openmm.git" did not exist on "6e29cb3ff86226d83700dccd09c2aedb770a2e5c"
Commit 98ffd5fe authored by Robert McGibbon's avatar Robert McGibbon
Browse files

Just remove the whole nonsense

parent d5115033
#
#
#
""" """
Package simtk.openmm Package simtk.openmm
...@@ -13,17 +9,7 @@ It also tries to load any plugin modules it can find. ...@@ -13,17 +9,7 @@ It also tries to load any plugin modules it can find.
__author__ = "Randall J. Radmer" __author__ = "Randall J. Radmer"
import os, sys, glob, os.path import os, 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)
from simtk.openmm.openmm import * from simtk.openmm.openmm import *
from simtk.openmm.vec3 import Vec3 from simtk.openmm.vec3 import Vec3
from simtk.openmm import version from simtk.openmm import version
...@@ -32,7 +18,3 @@ if os.getenv('OPENMM_PLUGIN_DIR') is None and os.path.isdir(version.openmm_libra ...@@ -32,7 +18,3 @@ if os.getenv('OPENMM_PLUGIN_DIR') is None and os.path.isdir(version.openmm_libra
else: else:
pluginLoadedLibNames = Platform.loadPluginsFromDirectory(Platform.getDefaultPluginsDirectory()) pluginLoadedLibNames = Platform.loadPluginsFromDirectory(Platform.getDefaultPluginsDirectory())
__version__ = Platform.getOpenMMVersion() __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