forked from shotgunsoftware/python-api
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
Latest commit
29 lines (24 loc) · 794 Bytes
/
Copy pathsetup.py
File metadata and controls
29 lines (24 loc) · 794 Bytes
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
# -*- coding: utf-8 -*-
importsys
fromsetuptoolsimportsetup, find_packages
f=open('README')
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] ==2andsys.version_info[1] <=5):
if'install'inscript_argsand'--no-compile'notinscript_args:
script_args.append('--no-compile')
setup(
name='shotgun_api3',
version='3.0.9.beta2',
description='Shotgun Python API ',
long_description=readme,
author='Shotgun Software',
author_email='support@shotgunsoftware.com',
url='https://github.com/shotgunsoftware/python-api',
license=license,
packages=find_packages(exclude=('tests',)),
script_args=script_args
)