| 1 |
from distutils.core import setup |
|---|
| 2 |
import py2app |
|---|
| 3 |
import os |
|---|
| 4 |
|
|---|
| 5 |
plist = dict( |
|---|
| 6 |
CFBundleDocumentTypes = [ |
|---|
| 7 |
dict( |
|---|
| 8 |
CFBundleTypeExtensions = ["otf", "ttf"], |
|---|
| 9 |
CFBundleTypeName = "OpenType Font", |
|---|
| 10 |
CFBundleTypeRole = "Viewer", |
|---|
| 11 |
NSDocumentClass = "FeatureProofDocument", |
|---|
| 12 |
LSTypeIsPackage = False, |
|---|
| 13 |
), |
|---|
| 14 |
], |
|---|
| 15 |
CFBundleIdentifier = "com.typesupply.FeatureProof", |
|---|
| 16 |
LSMinimumSystemVersion = "10.4.0", |
|---|
| 17 |
CFBundleShortVersionString = "1.0.0", |
|---|
| 18 |
CFBundleVersion = "1.0.0b1", |
|---|
| 19 |
|
|---|
| 20 |
NSHumanReadableCopyright = "Copyright 2007 Tal Leming. All rights reserved." |
|---|
| 21 |
) |
|---|
| 22 |
|
|---|
| 23 |
dataFiles = [ |
|---|
| 24 |
"Resources/English.lproj", |
|---|
| 25 |
|
|---|
| 26 |
"Resources/buttonAdd.tif", |
|---|
| 27 |
"Resources/buttonRemove.tif", |
|---|
| 28 |
"Resources/fileListButtonFill.tif", |
|---|
| 29 |
"Resources/webDisclosureClosed.png", |
|---|
| 30 |
"Resources/webDisclosureOpen.png", |
|---|
| 31 |
"Resources/webDefaultBackground.png", |
|---|
| 32 |
"Resources/toolbarInteractive.png", |
|---|
| 33 |
"Resources/toolbarList.png", |
|---|
| 34 |
"Resources/toolbarLog.png", |
|---|
| 35 |
"Resources/toolbarTest.png", |
|---|
| 36 |
"Resources/toolbarBrowse.png", |
|---|
| 37 |
] |
|---|
| 38 |
|
|---|
| 39 |
setup( |
|---|
| 40 |
data_files=dataFiles, |
|---|
| 41 |
app=[dict(script="FeatureProof.py", plist=plist)] |
|---|
| 42 |
) |
|---|