Changeset 2033


Ignore:
Timestamp:
Oct 29, 2015 12:44:21 PM (6 years ago)
Author:
toby
Message:

change a few imports for RTFD

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIctrls.py

    r1998 r2033  
    1919import os
    2020import sys
    21 import wx
    22 import wx.grid as wg
    23 # import wx.wizard as wz
    24 import wx.aui
    25 import wx.lib.scrolledpanel as wxscroll
    2621import time
    2722import copy
    28 # import cPickle
    29 # import numpy as np
    30 # import numpy.ma as ma
    31 # import scipy.optimize as so
    32 import wx.html        # could postpone this for quicker startup
    3323import webbrowser     # could postpone this for quicker startup
     24if not os.environ.get('READTHEDOCS', False):
     25    import wx
     26    import wx.grid as wg
     27    import wx.aui
     28    import wx.lib.scrolledpanel as wxscroll
     29    import wx.html        # could postpone this for quicker startup
    3430
    3531import GSASIIpath
    3632GSASIIpath.SetVersionNumber("$Revision: 1614 $")
    37 # import GSASIImath as G2mth
    38 # import GSASIIIO as G2IO
    39 # import GSASIIstrIO as G2stIO
    40 # import GSASIIlattice as G2lat
    41 # import GSASIIplot as G2plt
    4233import GSASIIpwdGUI as G2pdG
    43 # import GSASIIimgGUI as G2imG
    44 # import GSASIIphsGUI as G2phG
    45 # import GSASIIspc as G2spc
    46 # import GSASIImapvars as G2mv
    47 # import GSASIIconstrGUI as G2cnstG
    48 # import GSASIIrestrGUI as G2restG
    4934import GSASIIpy3 as G2py3
    50 # import GSASIIobj as G2obj
    51 # import GSASIIexprGUI as G2exG
    5235import GSASIIlog as log
    5336
  • trunk/GSASIIgrid.py

    r2021 r2033  
    1313
    1414'''
    15 import wx
    16 import wx.grid as wg
    17 #import wx.wizard as wz
    18 #import wx.aui
    19 import wx.lib.scrolledpanel as wxscroll
    2015import time
    2116import copy
     
    2318import sys
    2419import os
    25 import numpy as np
    26 import numpy.ma as ma
    27 import scipy.optimize as so
     20if not os.environ.get('READTHEDOCS', False):
     21    import wx
     22    import wx.grid as wg
     23    import wx.lib.scrolledpanel as wxscroll
     24    import numpy as np
     25    import numpy.ma as ma
     26    import scipy.optimize as so
    2827import GSASIIpath
    2928GSASIIpath.SetVersionNumber("$Revision$")
  • trunk/GSASIIphsGUI.py

    r2025 r2033  
    2222'''
    2323import os.path
    24 import wx
    25 import wx.grid as wg
    26 import wx.lib.gridmovers as wgmove
    27 import wx.wizard as wz
    28 import wx.lib.scrolledpanel as wxscroll
    29 import matplotlib as mpl
    3024import copy
    3125import time
     
    3327import random as ran
    3428import cPickle
    35 import GSASIIpath
     29if not os.environ.get('READTHEDOCS', False):
     30    import wx
     31    import wx.grid as wg
     32    import wx.lib.gridmovers as wgmove
     33    import wx.wizard as wz
     34    import wx.lib.scrolledpanel as wxscroll
     35    import matplotlib as mpl
     36    import numpy as np
     37    import numpy.linalg as nl
     38    import numpy.ma as ma
     39    import GSASIIpath
    3640GSASIIpath.SetVersionNumber("$Revision$")
    3741import GSASIIlattice as G2lat
     
    4953import GSASIIobj as G2obj
    5054import GSASIIctrls as G2G
    51 import numpy as np
    52 import numpy.linalg as nl
    53 import numpy.ma as ma
    5455
    5556VERY_LIGHT_GREY = wx.Colour(235,235,235)
Note: See TracChangeset for help on using the changeset viewer.