-
Notifications
You must be signed in to change notification settings - Fork 33
/
setup.py
53 lines (50 loc) · 1.63 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from os import system, environ
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst', 'r') as f:
readme = f.read()
if system('curl --version | grep NSS 2>/dev/null') != 0:
environ['PYCURL_SSL_LIBRARY'] = 'openssl'
system('pip install --compile --install-option="--with-openssl" pycurl')
else:
environ['PYCURL_SSL_LIBRARY'] = 'nss'
system('pip install --compile --install-option="--with-nss" pycurl')
setup(
name='automation_tools',
version='0.1.0',
description='Tools to help automating testing Foreman with Robottelo.',
long_description=readme,
author=u'Elyézer Rezende',
author_email='[email protected]',
url='https://github.com/SatelliteQE/automation-tools',
packages=['automation_tools', 'automation_tools/satellite6'],
package_data={'': ['LICENSE']},
package_dir={'automation_tools': 'automation_tools'},
include_package_data=True,
install_requires=[
'beautifulsoup4',
'Fabric<2',
'lxml',
'pycurl',
'pytest',
'python-bugzilla==1.2.2',
'requests',
'robozilla',
'six',
'unittest2',
],
license='GNU GPL v3.0',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
],
)