Simon Pasquier 137728334d Pick the correct fuel-qa branch depending on MOS
When preparing the environment, the script will now pick up the correct
fuel-qa branch that matches with the tested ISO unless the FUELQA_GITREF
variable is already defined.

Change-Id: I623a15803f339733ed8525d5c70667e83ddae2cf
2016-07-21 16:53:43 +02:00

42 lines
1.2 KiB
Python

#!/usr/bin/env python
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def get_requirements_list(requirements):
all_requirements = read(requirements)
all_requirements = [req for req in all_requirements.splitlines()
if 'devops' not in req and 'launchpadlib' not in req]
return all_requirements
setup(
name='fuelweb_test',
version=1.0,
description='Fuel-qa fuelweb package',
url='http://www.openstack.org/',
author='OpenStack',
author_email='openstack-dev@lists.openstack.org',
packages=['fuelweb_test', 'gates_tests'],
include_package_data=True,
classifiers=[
'Environment :: Linux',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
install_requires=get_requirements_list('./fuelweb_test/requirements.txt'),
)