-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (45 loc) · 1.61 KB
/
setup.py
File metadata and controls
51 lines (45 loc) · 1.61 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
The setup script for OpenConfig
'''
import uuid
import codecs
from setuptools import setup, find_packages
from pip.req import parse_requirements
__author__ = 'Mircea Ulinic <mircea.ulinic@gmail.com>'
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
reqs = [str(ir.req) for ir in install_reqs]
with codecs.open('README.rst', 'r', encoding='utf8') as file:
long_description = file.read()
print(long_description)
setup(
name='openconfig',
version='0.0.1',
packages=find_packages(),
author='Mircea Ulinic',
author_email='mircea.ulinic@gmail.com',
description='Vendor-neutral, model-driven network management designed by users',
long_description=long_description,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Topic :: Utilities',
'Topic :: System :: Networking',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Operating System :: POSIX :: Linux',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS',
'Intended Audience :: Developers'
],
url='https://github.com/mirceaulinic/python-openconfig',
license="Apache License 2.0",
keywords=('openconfig', 'networking', 'yang', 'vendor-neutral'),
include_package_data=True,
install_requires=reqs
)