-
Notifications
You must be signed in to change notification settings - Fork 198
/
setup.py
53 lines (47 loc) · 1.77 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
# -*- coding: utf-8 -*-
# Copyright (c) 2019 Shotgun Software Inc.
#
# CONFIDENTIAL AND PROPRIETARY
#
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit
# Source Code License included in this distribution package. See LICENSE.
# By accessing, using, copying or modifying this work you indicate your
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
# not expressly granted therein are reserved by Shotgun Software Inc.
import sys
from setuptools import setup, find_packages
f = open('README.md')
readme = f.read().strip()
f = open('LICENSE')
license = f.read().strip()
# For python 2.4 support
script_args = sys.argv[1:]
if (sys.version_info[0] <= 2) or (sys.version_info[0] == 2 and sys.version_info[1] <= 5):
if 'install' in script_args and '--no-compile' not in script_args:
script_args.append('--no-compile')
setup(
name='shotgun_api3',
version='3.6.2',
description='Flow Production Tracking Python API',
long_description=readme,
author='Autodesk',
author_email='https://www.autodesk.com/support/contact-support',
url='https://github.com/shotgunsoftware/python-api',
license=license,
packages=find_packages(exclude=('tests',)),
script_args=script_args,
include_package_data=True,
package_data={'': ['cacerts.txt', 'cacert.pem']},
zip_safe=False,
python_requires=">=3.7.0",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
],
)