-
Notifications
You must be signed in to change notification settings - Fork 19
/
setup.py
30 lines (26 loc) · 889 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
30
#
# Copyright © 2020-2023 VMware, Inc.
# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-only
#
import os
from version import get_installer_version
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "requirements.txt")) as requirements_txt:
REQUIRES = requirements_txt.read().splitlines()
setup(
name='photon-installer',
description='Installer code for photon',
packages=find_packages(include=['photon_installer', 'photon_installer.modules']),
install_requires=REQUIRES,
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': [
'photon-installer = photon_installer.main:main',
'photon-iso-builder = photon_installer.isoBuilder:main'
]
},
version=get_installer_version(),
author_email='[email protected]'
)