Changes between Version 6 and Version 7 of PythonPackages


Ignore:
Timestamp:
Dec 8, 2015 5:47:03 PM (6 years ago)
Author:
toby
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PythonPackages

    v6 v7  
    11= Python Packages Required in GSAS-II =
    22
    3 At present, GSAS-II is being developed with Python version 2 (2.7.2 as I write this). This is because some of the packages
    4 that GSAS-II requires are not yet supported or are not yet well tested in Python 3. Note that the following packages that are not distributed as a part of Python are required in GSAS-II:
     3GSAS-II requires that you install Python 2.7.x on your computer as well as a number of
     4[http://gsas-ii.readthedocs.org/en/latest/#required-packages required Python packages].
    55
    6  * [http://www.wxpython.org/ WxPython]
    7       note that on linux, wx python requires a backend, usually GTk
    8  * [http://matplotlib.sourceforge.net/ matplotlib]
    9       note that matplotlib requires a backend for display, which should be wx here
    10  * [http://numpy.scipy.org/ NumPy]
    11  * [http://www.scipy.org/ SciPy]
    12  * [http://www.pythonware.com/products/pil/ Python Imaging Library] (PIL) or [https://python-pillow.github.io/ Pillow], the "friendly" PIL fork
     6There are many distributions of Python available, but for Windows and Mac users, the easiest way to obtain Python with the packages we require is to install the Canopy or Anaconda distributions, as described in the platform-specific installation instructions ([InstallWindows Windows], [InstallMac Mac OS X] or [InstallLinux Linux]). Linux users have the additional option of using pre-built Python dists from Redhat, Ubuntu, etc.
    137
    14 These packages must be installed after Python is installed, or preferably you can install a Python distribution that includes all of these packages [See platform-specific installation instructions: [InstallWindows Windows], [InstallMac Mac OS X] or [InstallLinux Linux]). At present, if any of these packages are not present in the version of Python used to start GSAS-II, the program will not start, with the exception of PIL which is only needed for reading some types of images. 
    15 
    16 In addition, the Python package for OpenGL is required:
    17 
    18  * [http://pyopengl.sourceforge.net/ PyOpenGL]
    19 
    20 but if needed this package will be installed by GSAS-II, but to do this the [https://pythonhosted.org/setuptools/ setuptools package] is needed.
     8At present, GSAS-II is being developed with Python version 2.7 (2.7.3 - 2.7.10 as this is written). GSAS-II requires the !WxPython which is not yet being included in bundled Python distributions for Python 3.x, so we have not started Python 3 testing. We hope this changes soon.