forked from shotgunsoftware/python-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (27 loc) · 884 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
31
32
# -*- coding: utf-8 -*-
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.0.36',
description='Shotgun Python API ',
long_description=readme,
author='Shotgun Software',
author_email='[email protected]',
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']},
zip_safe=False,
)