Rev | Line | |
---|
[171] | 1 | #!/usr/bin/env python
|
---|
| 2 | """
|
---|
| 3 | setup.py - script for building 1001Screenshot
|
---|
| 4 |
|
---|
| 5 | Usage:
|
---|
| 6 | % python setup.py py2app
|
---|
| 7 | """
|
---|
| 8 | from distutils.core import setup
|
---|
| 9 | import py2app
|
---|
| 10 |
|
---|
| 11 | NAME = '1001Screenshot'
|
---|
[177] | 12 | VERSION = '1.0.1'
|
---|
[171] | 13 | COPYRIGHT = u'\xa9 2005 Nicholas Riley'
|
---|
| 14 |
|
---|
| 15 | plist = dict(
|
---|
| 16 | CFBundleName=NAME,
|
---|
| 17 | CFBundleVersion=VERSION,
|
---|
| 18 | CFBundleShortVersionString=VERSION,
|
---|
| 19 | CFBundleGetInfoString='%s %s, %s' % (NAME, VERSION, COPYRIGHT),
|
---|
| 20 | CFBundleExecutable=NAME,
|
---|
| 21 | CFBundleIdentifier='net.sabi.1001screenshot',
|
---|
| 22 | NSHumanReadableCopyright=COPYRIGHT,
|
---|
| 23 | LSUIElement=1,
|
---|
| 24 | )
|
---|
| 25 |
|
---|
| 26 |
|
---|
| 27 | setup(
|
---|
| 28 | app=[
|
---|
| 29 | dict(script='screenshot.py', plist=plist),
|
---|
| 30 | ],
|
---|
[175] | 31 | data_files=['/usr/local/bin/launch', '__error__.sh'],
|
---|
[171] | 32 | )
|
---|
Note:
See
TracBrowser
for help on using the repository browser.