Port all changes from github
Change-Id: Ie78388290ad2780074327c26508cdce73805f0da
diff --git a/setup.py b/setup.py
index 8d8f66d..f13131c 100755
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,14 @@
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
+import os
+def read(fname):
+ return open(os.path.join(os.path.dirname(__file__), fname)).read()
+
+def get_requirements_list(requirements):
+ all_requirements = read(requirements)
+ return all_requirements
with open('README.md') as f:
readme = f.read()
@@ -16,5 +23,6 @@
long_description=readme,
author='Mirantis',
license=license,
+ install_requires=get_requirements_list('./requirements.txt'),
packages=find_packages(exclude=('tests', 'docs'))
)