Changeset 540


Ignore:
Timestamp:
Apr 13, 2012 2:41:15 PM (10 years ago)
Author:
vondreele
Message:

revisions to teh opengl loader

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r539 r540  
    2929    import OpenGL as ogl
    3030except ImportError:
    31     from setuptools.command import easy_install
    32     print("OpenGL wwas not found. Will attempt to load the package.")
     31    print('*******************************************************')
     32    print('PyOpenGL is missing from your python installation')
     33    print('     - we will try to install it')
     34    print('*******************************************************')
    3335    def install_with_easyinstall(package):
    3436        easy_install.main(["-U", package])
     37    from setuptools.command import easy_install
    3538    install_with_easyinstall('PyOpenGl')
    36     print("OpenGL has been installed. Please restart GSAS-II again")
     39    print('*******************************************************')         
     40    print('OpenGL has been installed. Please restart GSAS-II again')
     41    print('*******************************************************')         
    3742    sys.exit()
    3843
Note: See TracChangeset for help on using the changeset viewer.