Changes between Version 36 and Version 37 of PyGamma


Ignore:
Timestamp:
Mar 23, 2016, 5:46:54 PM (3 years ago)
Author:
flip
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PyGamma

    v36 v37  
    1 = PyGAMMA =
     1= PyGamma =
    22
    3 PyGAMMA is a Python-wrapped version of [GammaDetailedDescription GAMMA]. It combines the power
     3PyGamma is a Python-wrapped version of [GammaDetailedDescription GAMMA]. It combines the power
    44of the GAMMA library with the convenience of working in
    55[http://www.python.org/ the Python programming language]. Python is open
    66source, object-oriented, and considerably easier to write than C++.
    77
    8 PyGAMMA works with Python 2.5 - 2.7 (but not the 3.x series).
     8PyGamma works with Python 2.5 - 2.7 (but not the 3.x series).
    99
    10 The PyGAMMA wrapper was created using [http://www.swig.org/ SWIG]. Most,
    11 but not all of GAMMA is [SwiggedGammaListing available to Python through PyGAMMA].
     10The PyGamma wrapper was created using [http://www.swig.org/ SWIG]. Most,
     11but not all of GAMMA is [SwiggedGammaListing available to Python through PyGamma].
    1212
    13 We have are some [wiki:PyGammaUsageTips tips on exploring and using PyGAMMA].
     13We have are some [wiki:PyGammaUsageTips tips on exploring and using PyGamma].
    1414
    15 The [GammaVsPyGamma performance of PyGAMMA] for compute-intense calculations
     15The [GammaVsPyGamma performance of PyGamma] for compute-intense calculations
    1616is very comparable to that of GAMMA.
    1717
    18 = Downloading PyGAMMA =
     18= Installing PyGamma =
    1919
    20 You can [PyGammaDownloads download the latest version of PyGAMMA] which includes a Python installer.
     20As of version 4.3.3, PyGamma is installable via pip, Python's preferred installer program.
    2121
     22We strongly recommend upgrading to the latest version of pip before installing
     23pygamma.
    2224
    23 = Installing PyGAMMA =
     25To upgrade pip, use this command --
     26{{{
     27python -m pip install --upgrade pip
     28}}}
    2429
    25 PyGAMMA uses the standard Python installer `setup.py`. It attempts to use prebuilt PyGAMMA
    26 binaries for your platform. If it can't find appropriate binaries, it will
    27 tell you that and direct you to the
    28 [PyGammaBuildingLibrary instructions for building a custom PyGAMMA].
     30To install PyGamma, use this command --
     31{{{
     32pip install pygamma
     33}}}
    2934
    30 == Running `setup.py` ==
     35If pip isn't installed, get it via the the instructions here --
     36https://pip.pypa.io/en/stable/installing/#installing-with-get-pip-py
    3137
    32 If you've installed Python applications before, this might seem familiar.
    33 At the command line, in gamma/pygamma directory,
    34 execute this command under Windows --
    35 {{{
    36 python setup.py install
    37 }}}
    38 
    39 And this command on other platforms --
    40 {{{
    41 sudo python setup.py install
    42 }}}
    43 
    44 
    45 If `setup.py` says that it doesn't have binaries for your platform, you'll
    46 need to follow the [PyGammaBuildingLibrary instructions for building a custom PyGAMMA]. If you find yourself
    47 in this situation, the `pygamma` directory from which you just ran `setup.py`
    48 is useless, I'm afraid, so you'd best delete it to avoid confusion.