-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (46 loc) · 1.59 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
# coding: utf-8
import sys
import datetime
from setuptools import setup, find_packages # noqa: H301
NAME = "groupdocs-viewer-cloud"
VERSION = "24.8"
# Append current time to the version when publishing to test environment
if "--test" in sys.argv:
VERSION += "." + datetime.datetime.now().strftime("%Y%m%d%H%M")
sys.argv.remove("--test")
# To install the library, run the following
#
# python setup.py install
#
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
REQUIRES = ["urllib3 >= 1.15", "six >= 1.10", "certifi", "python-dateutil"]
TEST_REQUIRES = ["asposestoragecloud >= 1.0.5"]
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name=NAME,
version=VERSION,
description="GroupDocs.Viewer Cloud Python SDK",
author="GroupDocs",
author_email="support@groupdocs.cloud",
url="http://github.com/groupdocs-viewer-cloud/groupdocs-viewer-cloud-python",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
keywords=["groupdocs", "viewer", "cloud", "python", "sdk"],
install_requires=REQUIRES,
tests_require=TEST_REQUIRES,
packages=find_packages(),
include_package_data=True,
long_description=long_description,
long_description_content_type="text/markdown",
)