forked from ladybug-tools/honeybee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
41 lines (37 loc) · 1.24 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
import re
import setuptools
import sys
with open("README.md", "r") as fh:
long_description = fh.read()
with open('honeybee/__init__.py', 'r') as fd:
version = re.search(
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(),
re.MULTILINE
).group(1)
try:
from semantic_release import setup_hook
setup_hook(sys.argv)
except ImportError:
pass
setuptools.setup(
name="lbt-honeybee",
version=version,
author="Ladybug Tools",
author_email="[email protected]",
description="Honeybee is a Python library to create, run and visualize the results of daylight (RADIANCE) and energy analysis (EnergyPlus/OpenStudio). The current version supports only Radiance integration.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ladybug-tools/honeybee",
packages=setuptools.find_packages(),
include_package_data=True,
install_requires=[
'lbt-ladybug'
],
classifiers=[
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: Implementation :: CPython",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent"
],
)