forked from reegis/berlin_hp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (38 loc) · 1.23 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
#! /usr/bin/env python
from setuptools import setup, find_packages
import os
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
github = "@https://github.com/"
setup(
name="berlin_hp",
version="0.0.1",
author="Uwe Krien",
author_email="[email protected]",
description="A reegis heat and power model of Berlin.",
long_description=read("README.rst"),
long_description_content_type="text/x-rst",
packages=find_packages(),
package_dir={"berlin_hp": "berlin_hp"},
url="https://github.com/reegis/deflex",
license="MIT",
install_requires=[
"oemof.solph == 0.4.1",
"pandas == 1.1.4",
"reegis@https://github.com/reegis/reegis/archive/phd.zip",
"owslib == 0.20.0",
"geopandas == 0.8.1",
"workalendar == 13.0.0",
"demandlib{0}oemof/demandlib/archive/v0.1.7b1.zip".format(github),
"requests == 2.25.0",
],
package_data={
"berlin_hp": [
os.path.join("data", "static", "*.csv"),
os.path.join("data", "static", "*.txt"),
os.path.join("data", "geometries", "*.csv"),
os.path.join("data", "geometries", "*.geojson"),
"*.ini",
]
},
)