-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
52 lines (47 loc) · 1.49 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
"""
Setup file for the Advanced Fenestration Controller.
"""
import os
import sys
import json
import setuptools
# description
with open('README.md', 'r', encoding='utf8') as f:
long_description = f.read()
# requirements
with open('requirements.txt', 'r', encoding='utf8') as f:
install_requires = f.read().splitlines()
# version
with open('afc/__init__.py', 'r', encoding='utf8') as f:
version = json.loads(f.read().split('__version__ = ')[1])
setuptools.setup(
name="afc",
version=version,
author="Gehbauer, Christoph",
description="Advanced Facade Control",
long_description=long_description,
long_description_content_type="text/markdown",
license_files = ['license.txt'],
url="https://github.com/LBNL-ETA/AFC",
project_urls={
"Bug Tracker": "https://github.com/LBNL-ETA/AFC/issues",
},
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
packages=['afc'],
package_data={'': ['*.txt', '*.md'],
'afc': ['glare/*',
'radiance/*',
'utility/*',
'resources/*',
'resources/*/*',
'resources/*/*/*',
'resources/*/*/*/*',
'resources/*/*/*/*/.*',
'resources/*/*/*/*/*']},
include_package_data=True,
python_requires=">=3.9",
install_requires=install_requires
)