grassgis 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 596b7368e3685683bb99a7be04943d755710dfc8
4
- data.tar.gz: 6f2a675cd29f074e3a40237344052881d3b35d1d
3
+ metadata.gz: 31603b3573329e791fb150b29bdbc2431ac67b73
4
+ data.tar.gz: 22cef2943a628277b2811565625be816400a5cfa
5
5
  SHA512:
6
- metadata.gz: b34fba031b6740ad0505dd34ff7577811c74eabc39ec6d792c826dfa672393f1fe0ccbf4de7923088ae2e045c3c0a061e87c97806041382bca95b75698497d0d
7
- data.tar.gz: 75c4a6953e6767d89f122f221be2ad10548634ae28530c29fb4fd53ad524bd1fe6e948e0ea446ace978228c151649d4d336f1d90869e1f64eac6df6772f78598
6
+ metadata.gz: b5f0bc0d8e6f86f97e25ffb8d70ad2ba7dc34b699be10350e0f72ffd67162760ff08c0fa5477ecd63829386e3c3f4d82c2d248ab2aa9972880ca1b26346e54b6
7
+ data.tar.gz: 9f652b3f652615c98ab606fee366546d6c4cac5ca5c47e69b87eed9479496c9f9bc9110ec94e435b7fd1295a20aa68fb9170f655bcc9e032f23bae571a73301b
@@ -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?
@@ -1,3 +1,3 @@
1
1
  module GrassGis
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grassgis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Goizueta