Seed code for ironic_virtmedia_driver
[ta/ironic-virtmedia-driver.git] / src / setup.py
1 # Copyright 2019 Nokia
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 #
15
16 VERSION = '0.1'
17 PROJECT = 'ironic_virtmedia_driver'
18
19 from setuptools import setup, find_packages
20 setup(
21     name=PROJECT,
22     version=VERSION,
23     description='ironic-virtmedia-driver',
24     author='Chandra Rangavajjula, Janne Suominen',
25     author_email='chandra.s.rangavajjula@nokia.com, janne.suominen@nokia.com',
26     platforms=['Any'],
27     scripts=[],
28     provides=[],
29     install_requires=['openstack-ironic-common', 'ironic_virtmedia_driver'],
30     namespace_packages=[],
31     packages=find_packages(),
32     include_package_data=True,
33     entry_points={
34         'ironic.hardware.types': [
35             'ipmi_virtmedia = ironic_virtmedia_driver.ipmi_virtmedia:IPMIVirtmediaHardware',
36             'ssh_virtmedia = ironic_virtmedia_driver.ssh_virtmedia:SSHVirtmediaHardware'
37         ],
38         'ironic.hardware.interfaces.boot': [
39             'virtmedia_ipmi_boot = ironic_virtmedia_driver.virtmedia_ipmi_boot:VirtualMediaAndIpmiBoot',
40             'virtmedia_ssh_boot = ironic_virtmedia_driver.virtmedia_ssh_boot:VirtualMediaAndSSHBoot'
41         ],
42     },
43     zip_safe=False,
44 )