templeton/setup.py

47 строки
1.5 KiB
Python
Исходник Постоянная ссылка Обычный вид История

# 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
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':
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',
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'],
package_data={'templeton': ['templates/project/html/*',
'templates/project/server/*',
2011-07-12 04:31:08 +04:00
'templates/server/*',
'server/scripts/*',
'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,
)