Skip to content
Snippets Groups Projects
Commit 9de5deaf authored by Mads M. Pedersen's avatar Mads M. Pedersen
Browse files

pip install + requirements

parent ec8729f8
Branches degradation-to-p2x-assembly
No related tags found
1 merge request!7Pip install
[![pipeline status](https://gitlab.windenergy.dtu.dk/TOPFARM/TopFarm2/badges/master/pipeline.svg)](https://gitlab.windenergy.dtu.dk/TOPFARM/TopFarm2/commits/master) [![pipeline status](https://gitlab.windenergy.dtu.dk/TOPFARM/TopFarm2/badges/master/pipeline.svg)](https://gitlab.windenergy.dtu.dk/TOPFARM/TopFarm2/commits/master)
[![coverage report](https://gitlab.windenergy.dtu.dk/TOPFARM/TopFarm2/badges/master/coverage.svg)](https://gitlab.windenergy.dtu.dk/TOPFARM/TopFarm2/commits/master) [![coverage report](https://gitlab.windenergy.dtu.dk/TOPFARM/TopFarm2/badges/master/coverage.svg)](https://gitlab.windenergy.dtu.dk/TOPFARM/TopFarm2/commits/master)
\ No newline at end of file
Install windows
---------------
conda create -n pyTopfarm python=3.6
activate pyTopfarm
git clone
cd Topfarm2
pip install -e .
cd tests
python -m pytest
...@@ -7,7 +7,7 @@ Setup file for Topfarm2 ...@@ -7,7 +7,7 @@ Setup file for Topfarm2
from setuptools import setup from setuptools import setup
setup(name='topfarm', setup(name='topfarm',
version='1.0', version='2.0',
description='Topfarm - Wind farm optimization using OpenMDAO', description='Topfarm - Wind farm optimization using OpenMDAO',
url='https://gitlab.windenergy.dtu.dk/TOPFARM/topfarm2', url='https://gitlab.windenergy.dtu.dk/TOPFARM/topfarm2',
author='MMPE, PIRE, MIKF, RINK', author='MMPE, PIRE, MIKF, RINK',
...@@ -15,6 +15,12 @@ setup(name='topfarm', ...@@ -15,6 +15,12 @@ setup(name='topfarm',
license='GNU GPL', license='GNU GPL',
packages=['topfarm' packages=['topfarm'
], ],
install_requires=[
'openmdao',
'pytest',
'pytest-cov',
'matplotlib'
],
# files= ['plotting.py', # files= ['plotting.py',
# 'topfarm.py', # 'topfarm.py',
# ], # ],
......
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