forked from oemof/oemof-solph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (46 loc) · 1.75 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
41
42
43
44
45
46
47
48
49
50
51
52
53
#! /usr/bin/env python
"""TODO: Maybe add a docstring containing a long description for oemof?
This would double as something we could put int the `long_description`
parameter for `setup` and it would squelch some complaints pylint has on
`setup.py`.
"""
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={
'examples': [
os.path.join('solph',
'csv_reader',
'investment',
'data',
'*.csv'),
os.path.join('solph',
'csv_reader',
'dispatch',
'scenarios',
'*.csv'),
os.path.join('solph', 'simple_dispatch','*.csv'),
os.path.join('solph', 'variable_chp','*.csv'),
os.path.join('solph', 'storage_investment','*.csv')
],
'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',
'matplotlib'],
entry_points={
'console_scripts': [
'oemof_examples = examples.examples:examples']}
)