Skip to content
Snippets Groups Projects
Commit 856e592b authored by David Verelst's avatar David Verelst
Browse files

[WIP] simplified installation manual

parent 458fe3db
No related branches found
No related tags found
No related merge requests found
# Installation
Detailed installation instructions, including how to install Python from scratch,
are described in the [detailed installation manual](docs/install-manual-detailed.md).
# Installation using Anaconda (Windows/Mac/Linux)
If you know what you are doing, you can install as a package as follows: Install the necessary Python dependencies using the conda package manager:
``` ```
python setup.py install conda install setuptools_scm future h5py pytables pytest nose sphinx
conda install scipy pandas matplotlib cython xlrd coverage xlwt openpyxl psutil
conda install -c https://conda.anaconda.org/conda-forge pyscaffold pytest-cov
``` ```
Or in development mode, install from your working directory Now you can install ```wetb``` with ```pip```. However, we would like that
conda keeps track of the dependencies, so we'll tell ```pip``` not to check them:
``` ```
pip install -e ./ pip install wetb --upgrade --no-deps
``` ```
# Updating ```wetb``` using Anaconda
Or create a binary wheel distribution package with:
``` ```
python setup.py bdist_wheel -d dist conda update --all
pip install wetb --upgrade --no-deps
``` ```
# Installation using pip
## Works with Python 2 and Python 3
# Works with Python 2 and Python 3
This module is tested for Python 2 and 3 compatibility, and works on both This module is tested for Python 2 and 3 compatibility, and works on both
Windows and Linux. Testing for Mac is on the way, but in theory it should work. Windows and Linux. Testing for Mac is on the way, but in theory it should work.
...@@ -44,8 +50,7 @@ in Python 2.7 by default. You can also write code that is compatible with both ...@@ -44,8 +50,7 @@ in Python 2.7 by default. You can also write code that is compatible with both
[issue 1](https://gitlab.windenergy.dtu.dk/toolbox/WindEnergyToolbox/issues/1)). [issue 1](https://gitlab.windenergy.dtu.dk/toolbox/WindEnergyToolbox/issues/1)).
# Dependencies
## Dependencies
* [numpy](http://www.numpy.org/) * [numpy](http://www.numpy.org/)
...@@ -72,7 +77,7 @@ in Python 2.7 by default. You can also write code that is compatible with both ...@@ -72,7 +77,7 @@ in Python 2.7 by default. You can also write code that is compatible with both
* six, [future](http://python-future.org/index.html) * six, [future](http://python-future.org/index.html)
## Note # Note
This project has been set up using PyScaffold 2.5. For details and usage This project has been set up using PyScaffold 2.5. For details and usage
information on PyScaffold see http://pyscaffold.readthedocs.org/. information on PyScaffold see http://pyscaffold.readthedocs.org/.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment