forked from vfxetc/sgactions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
59 lines (45 loc) · 1.66 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
55
56
57
58
59
import os
from setuptools import setup, find_packages
setup(
name='sgactions',
version='1.1.0',
description='Shotgun ActionMenuItem enrichment.',
url='http://github.com/westernx/sgactions',
packages=find_packages(exclude=['build*', 'tests*']),
include_package_data=True,
author='Mike Boers',
author_email='[email protected]',
license='BSD-3',
install_requires='''
pyyaml
''',
metatools_apps=[{
'name': 'SGActions',
'identifier': 'com.westernx.sgactions',
'target_type': 'entrypoint',
'target': 'sgactions.dispatch:main',
'use_compiled_bootstrap': True,
'icon': 'sgactions/art/sgactions.icns',
'url_schemes': ['sgaction'],
'argv_emulation': True,
# Bake in the development path if we are in dev mode.
'python_path': os.environ['PYTHONPATH'].split(':') if '--dev' in os.environ.get('VEE_EXEC_ARGS', '') else [],
# Place us into the global applications folder if in vee.
'bundle_path': (
os.path.join(os.environ['VEE'], 'Applications', 'SGActions.app')
if 'VEE' in os.environ else
'build/lib/sgactions/platforms/darwin/SGActions.app'
),
'plist_defaults': {
# 'LSBackgroundOnly': True, # Don't show up in dock.
}
}],
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)