-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
69 lines (63 loc) · 1.61 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
####################################################################################
#
# RjzServer
# By Chris McCormick
# GPLv3
#
# See the files README and COPYING for details.
#
# Modified by Christian Haudum for Reality Jockey Ltd.
# 2012
#
#
# -*- coding: utf-8 -*-
# vim: set fileencodings=utf-8
#
####################################################################################
import os
from setuptools import setup, find_packages
APP_VERSION = "1.1"
plist = dict(
LSPrefersPPC = True,
CFBundleShortVersionString = APP_VERSION,
)
requirements = [
'altgraph',
'mako',
'py2app==0.7.3',
'wxPython',
]
OPTIONS = dict(
plist = plist,
iconfile = os.path.join("src","resources","RjzServer.icns"),
argv_emulation = 1,
includes = ['mako.cache',],
resources = [
os.path.join("src","resources","templates"),
os.path.join("src","resources","media"),
],
)
setup(name = "RJZServer",
app = [os.path.join("src","application.py"),],
data_files = [],
options = dict(py2app=OPTIONS),
version = APP_VERSION,
author = 'Reality Jockey Ltd.',
author_email = '[email protected]',
description = 'RJZ Server',
url = 'http://rjdj.me',
packages = find_packages('src'),
package_dir = {'':'src'},
setup_requires = requirements,
install_requires = requirements + [
'setuptools>=0.7',
],
entry_points = {
'console_scripts': [
'server=application:run',
'gui=application:gui',
],
},
include_package_data = True,
zip_safe = False,
)