python-ovh/setup.py
Jean-Tiare Le Bigot 283078fcfe feat: preserve dict key order
Signed-off-by: Jean-Tiare Le Bigot <jean-tiare.le-bigot@corp.ovh.com>
2016-12-02 01:09:43 +01:00

60 lines
1.7 KiB
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup, find_packages
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
# Python 2.6 compatibility
requirements=[]
try:
from collections import OrderedDict
except ImportError:
requirements=['ordereddict', 'simplejson']
# Read README.rst content
with open('README.rst') as f:
readme = f.read()
setup(
name = "ovh",
version = "0.4.5",
setup_requires=['setuptools'],
install_requires=requirements,
author = "Jean-Tiare Le Bigot",
author_email = "jean-tiare.le-bigot@corp.ovh.com",
description = "Official OVH.com API wrapper",
long_description = readme,
license = "BSD",
keywords = "ovh sdk rest",
url = "http://api.ovh.com",
packages = find_packages(exclude=['tests']),
package_data={
'ovh.vendor.requests': ['*.pem'],
},
include_package_data=True,
tests_require=[
"coverage==3.7.1",
"mock==1.0.1",
"nose==1.3.3",
"yanc==0.2.4",
],
classifiers=[
"License :: OSI Approved :: BSD License",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Archiving :: Packaging",
],
)