You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 15, 2020. It is now read-only.
Add code to setup.py to check for python version. No need to require futures if you actually use python3. This code will bypass future if you are already using 3.
from setuptools import find_packages
from setuptools import setup
import sys
is_future = 'future>=0.15.2' if sys.version_info[0] < 3 else ''
setup(name='hpOneView',
version='4.0.0',
description='HPE OneView Python Library',
url='https://github.com/HewlettPackard/python-hpOneView',
download_url="https://github.com/HewlettPackard/python-hpOneView/tarball/v4.0.0",
author='Hewlett Packard Enterprise Development LP',
author_email='oneview-pythonsdk@hpe.com',
license='MIT',
packages=find_packages(exclude=['examples*', 'tests*']),
keywords=['oneview', 'hpe'],
install_requires=[is_future])
Scenario/Intent
Add code to setup.py to check for python version. No need to require futures if you actually use python3. This code will bypass future if you are already using 3.