grassgis 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/grassgis/context.rb +2 -0
- data/lib/grassgis/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31603b3573329e791fb150b29bdbc2431ac67b73
|
4
|
+
data.tar.gz: 22cef2943a628277b2811565625be816400a5cfa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5f0bc0d8e6f86f97e25ffb8d70ad2ba7dc34b699be10350e0f72ffd67162760ff08c0fa5477ecd63829386e3c3f4d82c2d248ab2aa9972880ca1b26346e54b6
|
7
|
+
data.tar.gz: 9f652b3f652615c98ab606fee366546d6c4cac5ca5c47e69b87eed9479496c9f9bc9110ec94e435b7fd1295a20aa68fb9170f655bcc9e032f23bae571a73301b
|
data/lib/grassgis/context.rb
CHANGED
@@ -24,6 +24,7 @@ module GrassGis
|
|
24
24
|
config[:gnuplot] ||= 'gnuplot -persist'
|
25
25
|
config[:gui] ||= 'wxpython'
|
26
26
|
config[:python] ||= 'python'
|
27
|
+
config[:pythonpath] ||= File.join(config[:gisbase], 'etc', 'python')
|
27
28
|
|
28
29
|
config[:errors] ||= :raise
|
29
30
|
config[:echo] = :commands unless config.key?(:echo)
|
@@ -98,6 +99,7 @@ module GrassGis
|
|
98
99
|
replace_var 'GRASS_PNG_AUTO_WRITE', bool_var(@config[:png_auto_write])
|
99
100
|
replace_var 'GRASS_GNUPLOT', @config[:gnuplot]
|
100
101
|
replace_var 'GRASS_PYTHON', @config[:python]
|
102
|
+
insert_path 'PYTHONPATH', @config[:pythonpath]
|
101
103
|
|
102
104
|
paths = ['bin', 'scripts']
|
103
105
|
if OS.windows?
|
data/lib/grassgis/version.rb
CHANGED