2012-10-10 20:48:41 +04:00
|
|
|
# This Source Code is subject to the terms of the Mozilla Public License
|
|
|
|
# version 2.0 (the "License"). You can obtain a copy of the License at
|
|
|
|
# http://mozilla.org/MPL/2.0/.
|
2011-07-12 04:31:08 +04:00
|
|
|
|
|
|
|
import sys
|
|
|
|
from setuptools import setup
|
|
|
|
|
2012-11-07 03:17:37 +04:00
|
|
|
version = '0.6.2'
|
2011-07-12 04:31:08 +04:00
|
|
|
|
2012-01-06 18:47:31 +04:00
|
|
|
deps = ['web.py', 'tempita', 'python-daemon', 'which']
|
2011-07-12 04:31:08 +04:00
|
|
|
|
|
|
|
if sys.version < '2.5' or sys.version >= '3.0':
|
2012-01-06 18:47:31 +04:00
|
|
|
print >>sys.stderr, '%s requires Python >= 2.5 and < 3.0' % _PACKAGE_NAME
|
2011-07-12 04:31:08 +04:00
|
|
|
sys.exit(1)
|
|
|
|
|
|
|
|
try:
|
|
|
|
import json
|
|
|
|
except ImportError:
|
|
|
|
deps.append('simplejson')
|
|
|
|
|
|
|
|
setup(name='templeton',
|
|
|
|
version=version,
|
|
|
|
description="Minimal web framework for rapid development of web tools",
|
|
|
|
long_description="""\
|
|
|
|
""",
|
|
|
|
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
|
|
|
|
keywords='',
|
|
|
|
author='Mark Cote',
|
|
|
|
author_email='mcote@mozilla.com',
|
2012-10-10 23:27:33 +04:00
|
|
|
url='https://github.com/mozilla/templeton',
|
2011-07-12 04:31:08 +04:00
|
|
|
license='MPL',
|
2011-08-04 20:51:04 +04:00
|
|
|
scripts=['scripts/templeton',
|
|
|
|
'scripts/templetond',
|
|
|
|
'scripts/templeton.fcgi'],
|
2011-07-12 04:31:08 +04:00
|
|
|
packages=['templeton'],
|
2011-08-04 09:19:01 +04:00
|
|
|
package_data={'templeton': ['templates/project/html/*',
|
|
|
|
'templates/project/server/*',
|
2011-07-12 04:31:08 +04:00
|
|
|
'templates/server/*',
|
|
|
|
'server/scripts/*',
|
2011-09-09 08:27:07 +04:00
|
|
|
'server/style/*css',
|
2011-07-12 04:31:08 +04:00
|
|
|
'server/style/Aristo/*css',
|
|
|
|
'server/style/Aristo/images/*']},
|
|
|
|
include_package_data=True,
|
|
|
|
zip_safe=False,
|
|
|
|
install_requires=deps,
|
|
|
|
)
|