-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·51 lines (41 loc) · 1.59 KB
/
setup.py
File metadata and controls
executable file
·51 lines (41 loc) · 1.59 KB
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
#!/usr/bin/env python
from distutils.core import setup
from distutils.command.install import INSTALL_SCHEMES
import os
for scheme in INSTALL_SCHEMES.values():
scheme['data'] = scheme['purelib']
template_files = []
for (path, dirs, files) in os.walk('templates'):
template_files.extend([os.path.join('..', path, f) for f in files])
setup(
name='Toto',
version='1.0.12',
author='JeremyOT',
author_email='',
download_url='https://github.com/JeremyOT/Toto/zipball/master',
license='MIT License',
platforms=['OS X', 'Linux'],
url='http://toto.li',
packages=['toto','toto.methods','toto.methods.account'],
requires=['tornado(>=3.2)',],
install_requires=['tornado>=3.2',],
provides=['toto',],
scripts=['scripts/toto-create',],
description='A Tornado based framework designed to accelerate web service development',
long_description='Documentation is available at http://toto.li/docs/',
classifiers=['License :: OSI Approved :: MIT License', 'Operating System :: POSIX'],
package_data={'toto': template_files}
)
print """
*****************************************************************************
By default, Toto will not connect to a database. Connect to a database with
the --database option. Database functionality requires the following modules:
pbkdf2>=1.3
MySQL: MySQL-python>=1.2.3, torndb>=0.1
Redis: redis>=2.4.12, hiredis>=0.1.1 (optional)
Postres: psycopg2>=2.4.5
MongoDB: pymongo>=2.1
ClientSessionCache: pycrypto>=2.6.1
Toto's event and worker frameworks require pyzmq>=2.2.0
*****************************************************************************
"""