-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
54 lines (47 loc) · 1.96 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
# Copyright 2021 Nokia
# Licensed under the BSD 3-Clause License.
# SPDX-License-Identifier: BSD-3-Clause
import os
from setuptools import setup
CURRENT_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)))
VERSION_FILE = os.path.join(CURRENT_DIR, 'fellowship', '_version.py')
with open(VERSION_FILE) as ver:
__version__ = ver.read().split('=')[1].strip().strip("'")
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(name='fellowship',
version=__version__,
description='Library for testing api endpoints ',
packages=['fellowship'],
install_requires=['Jinja2',
'attrs',
'genson',
'grpc-requests',
'grpcio',
'grpcio-tools',
'jsonschema',
'pyyaml',
'requests',
'rfc3987'],
entry_points={
'console_scripts': ['fellowship=fellowship.cli:run'],
},
package_data={
'': ['schemas/*', 'configs/*']
},
author='Robin Nyman',
author_email='[email protected]',
license='BSD-3-Clause',
long_description=read('README.rst'),
url='https://github.com/nokia/contract-test-framework',
classifiers=['Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Software Development :: Testing'],
keywords="Microservice Contract Testing")