Skip to content

Commit

Permalink
Merge 5928a9c into 3f0610a
Browse files Browse the repository at this point in the history
  • Loading branch information
carterbox committed Nov 29, 2018
2 parents 3f0610a + 5928a9c commit 419a9ca
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 30 deletions.
9 changes: 0 additions & 9 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@

To build the libtomopy shared library, use

python build.py

This will compile a shared library:
libtomopy.so, libtomopy.dylib, or libtomopy.dll (Linux, MacOS, Windows)
and install it to ./lib

For Windows, both MinGW-64 and `make` need to be installed and placed in the
PATH, so that the appropriate 'gcc.exe' (that is, one that supports C99) and
'make.exe' can be found. For Anaconda Python on Windows, adding the conda
Expand Down
32 changes: 16 additions & 16 deletions doc/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,25 @@ This section covers the basics of how to download and install TomoPy.
.. contents:: Contents:
:local:


Supported Environments
======================
----------------------

TomoPy is tested, built, and distributed for python 2.7 3.5 3.6 on Linux/macOS
and python 3.5 3.6 on Windows 10.

Installing from Conda (Recommended)
Common issues
-------------

No issues with the current build system have been reported.

Importing TomoPy
----------------

When importing, it is best to import TomoPy before importing numpy.
See `this thread <https://github.com/tomopy/tomopy/issues/178>`_ for details.

OPTION 1: Installing from Conda (Recommended)
===================================

If you only want to run TomoPy, not develop it, then you should install through
Expand All @@ -38,7 +50,7 @@ frequently. To update the installation run::
For some more information about using Conda, please refer to the
`docs <http://conda.pydata.org/docs>`__.

Installing from source with Conda
OPTION 2: Installing from source with Conda
=================================

Sometimes an adventurous user may want to get the source code, which is
Expand Down Expand Up @@ -66,18 +78,6 @@ installed using Conda by running::
$ conda install --file requirements.txt

After navigating to inside the `tomopy` directory, you can install TomoPy by
building/compiling the shared libraries and running the install script::
running the install script::

$ python build.py
$ pip install .

Common issues
-------------

No issues with the current build system have been reported.

Importing TomoPy
================

When importing, it is best to import TomoPy before importing numpy.
See `this thread <https://github.com/tomopy/tomopy/issues/178>`_ for details.
7 changes: 2 additions & 5 deletions meta.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
package:
name: tomopy
version: '1.2.1'
version: '1.3.0'

source:
# git_url: https://github.com/tomopy/tomopy.git
path: .

build:
number: 1
number: 0
script:
- "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv"

requirements:
build:
- {{ compiler('c') }} # [not win]
- mkl-devel # [not win]
host:
- Make # [win]
- MinGW # [win]
- mkl-devel
Expand All @@ -29,7 +27,6 @@ requirements:
- mkl
- mkl_fft
- python={{ python }}
- pywavelets
- numpy
- scikit-image
- scipy
Expand Down

0 comments on commit 419a9ca

Please sign in to comment.