-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
35 lines (27 loc) · 923 Bytes
/
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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
'''Setup Script.'''
from setuptools import setup, find_packages
from pathlib import Path
def _get_requirements():
with open('requirements.txt') as _file:
return _file.readlines()
def _get_long_description():
cur_dir = Path(__file__).absolute().parent
readme_file = cur_dir.joinpath('README').with_suffix('.md')
with open(str(readme_file)) as _file:
return _file.read()
setup(
name='osa-data-model',
version='0.0.1',
description='Data model for OSA',
long_description=_get_long_description(),
author='Avishkar Gupta',
author_email='[email protected]',
license='GPLv3',
url='https://github.com/fabric8-analytics/osa-data-model',
keywords=['CVE', 'Probable CVE'],
python_requires='>=3.6',
packages=find_packages(exclude=['tests', 'benchmark_data']),
install_requires=_get_requirements(),
)