forked from DTUWindEnergy/TopFarm2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
38 lines (33 loc) · 1.13 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# -*- coding: utf-8 -*-
"""
Setup file for Topfarm2
"""
import os
from git_utils import write_vers
from setuptools import setup, find_packages
repo = os.path.dirname(__file__)
version = write_vers(vers_file='topfarm/__init__.py', repo=repo, skip_chars=1)
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='topfarm',
version=version,
description='Topfarm - Wind farm optimization using OpenMDAO',
long_description=read('README'),
url='https://gitlab.windenergy.dtu.dk/TOPFARM/topfarm2',
author='DTU Wind Energy',
author_email='[email protected]',
license='MIT',
packages=find_packages(),
install_requires=[
'matplotlib', # for plotting
'numpy', # for numerical calculations
'openmdao==2.6', # for optimization
'pytest', # for testing
'pytest-cov', # for calculating coverage
'py_wake>=1.0.11', # for calculating AEP
'scipy', # constraints
'sphinx', # generating documentation
'sphinx_rtd_theme', # docs theme
'scikit-learn', # load surrogate
],
zip_safe=True)