forked from oemof/oemof-solph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (32 loc) · 1.24 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
39
40
#! /usr/bin/env python
"""
This file is part of project oemof (github.com/oemof/oemof). It's copyrighted
by the contributors recorded in the version control history of the file,
available from its original location oemof/setup.py
SPDX-License-Identifier: GPL-3.0-or-later
"""
from setuptools import find_packages, setup
import os
import oemof
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='oemof',
version=oemof.__version__,
author='oemof developer group',
author_email='oemof@rl-institut.de',
description='The open energy modelling framework',
url='https://oemof.org/',
namespace_package=['oemof'],
long_description=read('README.rst'),
packages=find_packages(),
install_requires=['blinker < 2.0',
'dill < 0.3',
'numpy >= 1.7.0, < 1.17',
'pandas >= 0.18.0, < 0.25',
'pyomo >= 4.4.0, < 5.7',
'networkx < 2.4'],
extras_require={'datapackage': ['datapackage']},
entry_points={
'console_scripts': [
'oemof_installation_test = ' +
'oemof.tools.console_scripts:check_oemof_installation']})