Oleksii Zhurba | a10927b | 2017-09-27 22:09:23 +0000 | [diff] [blame] | 1 | # -*- coding: utf-8 -*- |
| 2 | |
| 3 | from setuptools import setup, find_packages |
Oleksii Zhurba | e592ed1 | 2018-06-21 18:01:09 -0500 | [diff] [blame^] | 4 | import os |
Oleksii Zhurba | a10927b | 2017-09-27 22:09:23 +0000 | [diff] [blame] | 5 | |
Oleksii Zhurba | e592ed1 | 2018-06-21 18:01:09 -0500 | [diff] [blame^] | 6 | def read(fname): |
| 7 | return open(os.path.join(os.path.dirname(__file__), fname)).read() |
| 8 | |
| 9 | def get_requirements_list(requirements): |
| 10 | all_requirements = read(requirements) |
| 11 | return all_requirements |
Oleksii Zhurba | a10927b | 2017-09-27 22:09:23 +0000 | [diff] [blame] | 12 | |
| 13 | with open('README.md') as f: |
| 14 | readme = f.read() |
| 15 | |
| 16 | with open('LICENSE') as f: |
| 17 | license = f.read() |
| 18 | |
| 19 | setup( |
| 20 | name='cvp-sanity', |
| 21 | version='0.1', |
| 22 | description='set of tests for MCP verification', |
| 23 | long_description=readme, |
| 24 | author='Mirantis', |
| 25 | license=license, |
Oleksii Zhurba | e592ed1 | 2018-06-21 18:01:09 -0500 | [diff] [blame^] | 26 | install_requires=get_requirements_list('./requirements.txt'), |
Oleksii Zhurba | a10927b | 2017-09-27 22:09:23 +0000 | [diff] [blame] | 27 | packages=find_packages(exclude=('tests', 'docs')) |
| 28 | ) |