This repository was archived by the owner on Sep 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
57 lines (53 loc) · 1.27 KB
/
setup.py
File metadata and controls
57 lines (53 loc) · 1.27 KB
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
# Copyright 2021 Hewlett Packard Enterprise Development LP
from setuptools import find_packages
from setuptools import setup
def readme() -> str:
"""
Print the README file.
:returns: Read README file.
"""
with open('README.md') as file:
return str(file.read())
def version() -> str:
'''returns version'''
with open('.version') as file:
return str(file.read().rstrip())
setup(
name='metal-net-scripts',
version=version(),
description='Network scripts for metal deployments.',
long_description=readme(),
author='',
author_email='',
maintainer='CSM/Metal Team',
url='https://stash.us.cray.com/projects/MTL/repos/metal-net-scripts/browse',
install_requires=[
'pyyaml',
'requests',
'urllib3',
],
extras_require={
'ci': [
'tox',
],
'lint': [
'pycodestyle',
],
'unit': [
'pytest',
'pyfakefs',
'pytest-mock',
],
'docs': [
'sphinx',
'sphinx-click',
],
},
scripts=[
'bin/aruba_set_bgp_peers.py',
'bin/mellanox_set_bgp_peers.py',
],
packages=find_packages(),
include_package_data=True,
zip_safe=False,
)