-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
101 lines (94 loc) · 2.88 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#!/usr/bin/env python
import ez_setup
ez_setup.use_setuptools()
import sys, os
from setuptools import setup, find_packages
from pkg_resources import require, DistributionNotFound
cmdclass = {}
if 0:
try:
require("bdist_mpkg>=0.4")
except DistributionNotFound:
pass
else:
sys.path.insert(1, 'setup-lib')
import py2app_mpkg
cmdclass.update(py2app_mpkg.cmdclass)
LONG_DESCRIPTION = file('README.txt').read()
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Environment :: MacOS X :: Cocoa',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python',
'Programming Language :: Objective C',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: User Interfaces',
'Topic :: Software Development :: Build Tools',
]
setup(
# metadata
name='py2app',
version='0.4.2',
description='Create standalone Mac OS X applications with Python',
author='Bob Ippolito',
author_email='[email protected]',
url='http://undefined.org/python/#py2app',
download_url='http://undefined.org/python/#py2app',
license='MIT or PSF License',
platforms=['MacOS X'],
long_description=LONG_DESCRIPTION,
classifiers=CLASSIFIERS,
#setup_requires=[
# "bdist_mpkg>=0.4.2",
#],
install_requires=[
"altgraph>=0.6.7",
"modulegraph>=0.7.2dev",
"macholib>=1.1",
# "bdist_mpkg>=0.4",
],
# sources
cmdclass=cmdclass,
packages=find_packages(exclude=["ez_setup"]),
package_data={
'py2app.apptemplate': [
'prebuilt/main',
'lib/__error__.sh',
'lib/site.py',
'src/main.c',
],
'py2app.bundletemplate': [
'prebuilt/main',
'lib/__error__.sh',
'lib/site.py',
'src/main.m',
],
},
entry_points={
'distutils.commands': [
"py2app = py2app.build_app:py2app",
],
'distutils.setup_keywords': [
"app = py2app.build_app:validate_target",
"plugin = py2app.build_app:validate_target",
],
'console_scripts': [
"py2applet = py2app.script_py2applet:main",
],
'py2app.converter': [
"xib = py2app.converters.nibfile:convert_xib",
"nib = py2app.converters.nibfile:convert_nib",
"datamodel = py2app.converters.coredata:convert_datamodel",
"mappingmodel = py2app.converters.coredata:convert_mappingmodel",
],
'py2app.recipe': [
]
},
zip_safe=False,
# workaround for setuptools 0.6b4 bug
dependency_links=[],
)