Independent of the platform, you can build and install imagefusion using conda-build. The dependencies are all available as conda packages on conda-forge and will be installed automatically.
Independent of the platform, you can build and install imagefusion using conda-build. The dependencies are all available as conda packages on conda-forge and will be installed automatically.
...
@@ -75,7 +75,7 @@ Or to reinstall:
...
@@ -75,7 +75,7 @@ Or to reinstall:
Now everything is there; utilities like `starfm`, the library, a CMake file to import the library in a C++ project and, most importantly, the python interface. Try it! Let's import the python interface:
Now everything is there; utilities like `starfm`, the library, a CMake file to import the library in a C++ project and, most importantly, the python interface. Try it! Let's import the python interface:
(imfu) $ cd ../examples # go to python/examples
(imfu) $ cd ../examples # go to python/examples
(imfu) $ python starfm-example.py # or another example
(imfu) $ python starfm-example.py # or execute another example
Or execute a binary utility:
Or execute a binary utility:
...
@@ -127,7 +127,7 @@ To build the documentation (open with `doc/doc.html` in the source directory, no
...
@@ -127,7 +127,7 @@ To build the documentation (open with `doc/doc.html` in the source directory, no
#### Python interface
#### Python interface
The `sudo make install` should also work, but with pip the requirements are easier to handle, because they are available as python packages. Assuming you have some kind of python 3 installed as well as pip:
The `sudo make install` should already install the python interface in `/usr/local/lib/python3/dist-packages/imagefusion/`. With conda the requirements are easier to handle, because they are available as conda packages. For installing imagefusion with conda, see [conda build](#conda). You can also try pip:
cd imagefusion # make sure you are in the repository directory
cd imagefusion # make sure you are in the repository directory
pip install . # or: pip3 if you use the pip version from the linux distribution
pip install . # or: pip3 if you use the pip version from the linux distribution