-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
60 lines (51 loc) · 2 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
53
54
55
56
57
58
59
60
"""
Copyright [2019] [Paul Sims]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from setuptools import setup, find_packages
from os import path
SCRIPT_NAME = 'ironic-importer'
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf8' ) as f:
long_description = f.read()
setup(
name='ironic_importer',
version='1.0.0',
description='Register ironic nodes via excel spreadsheet',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/chalupaul/ironic_importer',
author='paul sims',
author_email='[email protected]',
classifiers=[
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 3',
],
keywords="ironic node registration",
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
python_requires='>=3.5',
install_requires=[
'pandas',
'xlrd',
'gevent==1.4.0',
'python-ironicclient==2.7.2',
'python-ironic_inspector_client==3.5.0',
'python-keystoneclient==3.19.0',
'python-novaclient==13.0.1',
'python-glanceclient==2.16.0',
],
data_files=[('examples', ['examples/ironic_nodes.xlsx'])],
entry_points={
'console_scripts': [
'%s=ironic_importer.inventory:main' % (SCRIPT_NAME),
]
}
)