Changeset 541


Ignore:
Timestamp:
Apr 13, 2012 3:48:01 PM (10 years ago)
Author:
vondreele
Message:

openGL now looked for in pyGSASII first

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r540 r541  
    2525import matplotlib as mpl
    2626import wx.lib.inspection as wxeye
    27 
    2827try:
    2928    import OpenGL as ogl
     
    3433    print('*******************************************************')
    3534    def install_with_easyinstall(package):
    36         easy_install.main(["-U", package])
     35        easy_install.main(['-f',ospath.split(__file__)[0],package])
    3736    from setuptools.command import easy_install
    3837    install_with_easyinstall('PyOpenGl')
    3938    print('*******************************************************')         
    40     print('OpenGL has been installed. Please restart GSAS-II again')
     39    print('OpenGL has been installed. Please restart GSAS-II')
    4140    print('*******************************************************')         
    4241    sys.exit()
Note: See TracChangeset for help on using the changeset viewer.