forked from energy-modelling-toolkit/Dispa-SET
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (51 loc) · 1.56 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
54
55
#!/usr/bin/env python
from setuptools import setup, find_packages
import codecs
import os
HERE = os.path.abspath(os.path.dirname(__file__))
def read(*parts):
"""
Build an absolute path from *parts* and and return the contents of the
resulting file. Assume UTF-8 encoding.
"""
with codecs.open(os.path.join(HERE, *parts), "rb", "utf-8") as f:
return f.read()
# Sets the __version__ variable
__version__ = None
exec(open('dispaset/_version.py').read())
setup(
name='dispaset',
version=__version__,
author='Sylvain Quoilin, Konstantinos Kavvadias',
author_email='[email protected]',
description='An open-source unit commitment and optimal dispatch model ',
license='EUPL v1.2.',
url='https://www.dispaset.eu',
download_url='https://www.dispaset.eu/en/latest/releases.html',
packages=find_packages(),
long_description=read('README.md'),
include_package_data=True,
install_requires=[
"future >= 0.15",
"click >= 3.3",
"numpy >= 1.12",
"pandas >= 0.19",
"xlrd >= 0.9",
"matplotlib >= 1.5.1",
"gdxcc >= 7",
"gamsxcc",
"optcc"
],
extras_require={'pyomo': ['pyomo>=5.2'],
},
entry_points={
'console_scripts': [
'dispaset = dispaset.cli:cli'
]},
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved :: EUPL Software License',
'Programming Language :: Python'
],
keywords=['energy systems', 'optimization', 'mathematical programming']
)