forked from flaskbb/flaskbb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
131 lines (115 loc) · 2.97 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
"""
FlaskBB
=======
FlaskBB is a forum software written in Python using the microframework Flask.
And Easy to Setup
-----------------
.. code:: bash
$ python manage.py createall
$ python manage.py runserver
* Running on http://localhost:8080/
Resources
---------
* `website <http://flaskbb.org>`_
* `source <https://github.com/sh4nks/flaskbb>`_
* `issues <https://github.com/sh4nks/flaskbb/issues>`_
"""
from setuptools import setup
from setuptools.command.test import test as TestCommand
import sys
class PyTestCommand(TestCommand):
user_options = [('pytest-args=', 'a', 'Arguments to pass to py.test')]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = []
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
errno = pytest.main(self.pytest_args)
sys.exit(errno)
setup(
name='FlaskBB',
version='1.0.dev0',
url='http://github.com/sh4nks/flaskbb/',
license='BSD',
author='sh4nks',
author_email='[email protected]',
description='A forum software written with flask',
long_description=__doc__,
packages=['flaskbb'],
include_package_data=True,
zip_safe=False,
platforms='any',
install_requires=[
'alembic',
'amqp',
'anyjson',
'Babel',
'billiard',
'blinker',
'celery',
'click',
'cov-core',
'coverage',
'Flask',
'flask-allows',
'Flask-BabelPlus',
'Flask-Caching',
'Flask-DebugToolbar',
'Flask-Limiter',
'Flask-Login',
'Flask-Mail',
'Flask-Migrate',
'Flask-Plugins',
'Flask-Redis',
'Flask-Script',
'Flask-SQLAlchemy',
'Flask-Themes2',
'flask-whooshee',
'Flask-WTF',
'itsdangerous',
'Jinja2',
'kombu',
'limits',
'Mako',
'MarkupSafe',
'mistune',
'Pillow',
'Pygments',
'python-editor',
'pytz',
'redis',
'requests',
'simplejson',
'six',
'speaklater',
'SQLAlchemy',
'SQLAlchemy-Utils',
'Unidecode',
'Werkzeug',
'Whoosh',
'WTForms'
],
test_suite='tests',
tests_require=[
'py',
'pytest',
'pytest-cov',
'pytest-random'
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers, Users',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
],
cmdclass={'test': PyTestCommand}
)