-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
42 lines (36 loc) · 1.35 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
__copyright__ = "Martha Hoffmann and Reiner Lemoine Institut gGmbH"
__license__ = "GNU Affero General Public License Version 3 (AGPL-3.0)"
__url__ = "https://github.com/rl-institut/offgridders/blob/dev/LICENSE"
from setuptools import setup, find_packages
import os
here = os.path.abspath(os.path.dirname(__file__))
main_namespace = {}
exec(
open(os.path.join(here, "src", "version.py")).read(),
main_namespace,
)
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
with open("requirements.txt") as f:
requirements = f.read().splitlines()
setup(
name="Offgridders",
version=main_namespace["version_num"],
description="Simulator for electricty supplied systems",
long_description=read("README.md"),
url="https://github.com/rl-institut/offgridders",
license="GNU GPLv3",
packages=find_packages(),
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Scientific/Engineering",
],
)