forked from vfxetc/uitools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (40 loc) · 1.65 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
import os
from setuptools import setup, find_packages
setup(
name='uitools',
version='0.1-dev',
description='Collection of general tools and utilities for working with and testing Qt tools.',
url='https://github.com/westernx/uitools',
packages=find_packages(exclude=['build*', 'tests*']),
author='Mike Boers',
author_email='[email protected]',
license='BSD-3',
metatools_apps=[{
'name': 'WesternX-Notifications.app',
'identifier': 'com.westernx.uitools.notifications',
'target_type': 'entrypoint',
'target': 'uitools.notifications._main:noop',
'use_compiled_bootstrap': 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', 'Notifications.app')
if 'VEE' in os.environ else
'build/lib/uitools/notifications/WesternX-Notifications.app'
),
'icon': 'art/notifications.icns',
'plist_defaults': {
'LSBackgroundOnly': True, # Don't show up in dock.
# 'NSUserNotificationAlertStyle': 'alert',
}
}],
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',
],
)