forked from oemof/oemof-solph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (31 loc) · 1.2 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
#! /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 developing group',
author_email='[email protected]',
description='The open energy modelling framework',
url='https://oemof.org/',
namespace_package=['oemof'],
long_description=read('README.rst'),
packages=find_packages(),
package_data={'oemof': [os.path.join('tools', 'default_files', '*.ini')]},
install_requires=['dill',
'numpy >= 1.7.0',
'pandas >= 0.18.0',
'pyomo >= 4.2.0, != 4.3.11377',
'networkx'],
entry_points={
'console_scripts': [
'oemof_installation_test = '
'tests.test_installation:check_oemof_installation']})