-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathsetup.py
30 lines (27 loc) · 991 Bytes
/
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
# -*- coding: utf-8 -*-
# Copyright 2021 Cohesity Inc.
from setuptools import setup, find_packages
# Try to convert markdown README to rst format for PyPI.
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
long_description_content_type='text/x-rst'
except(IOError, ImportError):
long_description = open('README.md').read()
long_description_content_type='text/markdown'
setup(
name='cohesity_management_sdk',
version='1.10.1',
description='This SDK provides operations for interfacing with the Cohesity Cluster.',
long_description=long_description,
long_description_content_type=long_description_content_type,
author='Cohesity Inc.',
author_email='cohesity-api-sdks@cohesity.com',
url='https://github.com/cohesity/management-sdk-python',
packages=find_packages(),
install_requires=[
'requests>=2.31.0, <3.0',
'cachecontrol>=0.11.7, <1.0',
'python-dateutil>=2.5.3, <3.0'
]
)