evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / gpaw / SetupPath.patch
blobe13389429f725364d4a2ff5686b1d3033152ed59
1 diff --git a/gpaw/__init__.py b/gpaw/__init__.py
2 index b5c029e13..518c16b13 100644
3 --- a/gpaw/__init__.py
4 +++ b/gpaw/__init__.py
5 @@ -201,12 +201,7 @@ def initialize_data_paths():
6 try:
7 setup_paths[:0] = os.environ['GPAW_SETUP_PATH'].split(os.pathsep)
8 except KeyError:
9 - if len(setup_paths) == 0:
10 - if os.pathsep == ';':
11 - setup_paths[:] = [r'C:\gpaw-setups']
12 - else:
13 - setup_paths[:] = ['/usr/local/share/gpaw-setups',
14 - '/usr/share/gpaw-setups']
15 + setup_paths[:0] = ["@gpawSetupPath@"]
18 read_rc_file()