Changeset 67282


Ignore:
Timestamp:
Dec 20, 2015, 7:04:40 AM (9 years ago)
Author:
martinl
Message:

pythonlib: add wxpython modules to pythonpath when calling gsetup.init()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • grass/trunk/lib/python/script/setup.py

    r65791 r67282  
    175175    # TODO: isn't this useless? user already imported this somehow
    176176    path = os.getenv('PYTHONPATH')
    177     etcpy = os.path.join(gisbase, 'etc', 'python')
     177    etcpy = os.path.join(gisbase, 'etc', 'python') + os.pathsep + os.path.join(gisbase, 'gui', 'wxpython')
    178178    if path:
    179179        path = etcpy + os.pathsep + path
Note: See TracChangeset for help on using the changeset viewer.