We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fbf110 commit 7b3a8b6Copy full SHA for 7b3a8b6
1 file changed
src/amuse/support/options.py
@@ -7,11 +7,6 @@
7
from amuse.support.core import late
8
from amuse.support import exceptions
9
10
-try:
11
- import pkg_resources
12
-except ImportError:
13
- pkg_resources = None
14
-
15
16
class GlobalOptions:
17
INSTANCE = None
@@ -21,11 +16,6 @@ def __init__(self):
21
self.overriden_options = {}
22
23
18
def load(self, preloadfp=None):
24
- if pkg_resources is not None:
25
- if pkg_resources.resource_exists("amuse", "amuserc"):
26
- resourcerc = pkg_resources.resource_filename("amuse", "amuserc")
27
- self.config.read(resourcerc)
28
29
19
rootrc = os.path.join(self.amuse_rootdirectory, self.rcfilename)
30
20
self.config.read(rootrc)
31
0 commit comments