This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
/
setup.py
59 lines (55 loc) · 1.86 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
54
55
56
57
58
59
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
try:
from setuptools import find_packages, setup
except ImportError:
from distutils.core import setup
with open('README.md', 'r') as f:
readme = f.read()
if os.system('curl --version | grep NSS 2>/dev/null') != 0:
os.environ['PYCURL_SSL_LIBRARY'] = 'openssl'
os.system(
'pip install --compile --install-option="--with-openssl" '
'pycurl')
else:
os.environ['PYCURL_SSL_LIBRARY'] = 'nss'
os.system(
'pip install --compile --install-option="--with-nss" pycurl')
setup(
name='satellite6-upgrade',
version='0.1.0',
description='Tools to perform and test satellite6 upgrade.'
'And test framework that validates entities postupgrade.',
long_description=readme,
author='Jitendra Yejare',
author_email='[email protected]',
url='https://github.com/SatelliteQE/satellite6-upgrade',
license='GNU GPL v3.0',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Testers',
'Natural Language :: English',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.11',
],
packages=find_packages(),
# some requirements are also in requirements*.txt files
# Its assumed this is installed as a dependency of robottelo, frozen packages are defined there
install_requires=[
'broker',
'dynaconf[vault]',
'fabric<2',
'fauxfactory',
'jinja2',
'pycurl',
'pytest',
# python-bugzilla is on 3.x, and this package is about 5 years old
# I'm afraid to touch it while un-freezing pytest and fauxfactory
'python-bugzilla==1.2.2',
'requests',
'robozilla',
],
)