-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
29 lines (25 loc) · 869 Bytes
/
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
from setuptools import setup, find_packages
MAIN_MODULE = 'agent'
# Find the agent package that contains the main module
packages = find_packages('.')
agent_package = 'UIAPIAgent'
# Find the version number from the main module
agent_module = agent_package + '.' + MAIN_MODULE
_temp = __import__(agent_module, globals(), locals(), ['__version__'], 0)
__version__ = _temp.__version__
# Setup
setup(
name=agent_package + 'agent',
version=__version__,
author="UToledo VOLTTRON-UI-API Team",
author_email="[email protected]",
url="https://github.com/VOLTTRON-UI-API/volttron-ui-api",
description="REST API for creating external interfaces to VOLTTRON",
install_requires=['volttron'],
packages=packages,
entry_points={
'setuptools.installation': [
'eggsecutable = ' + agent_module + ':main',
]
}
)