-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
executable file
·146 lines (130 loc) · 3.96 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import find_packages, setup
from setuptools.command.test import test as TestCommand
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 # noqa
errno = pytest.main(self.pytest_args)
sys.exit(errno)
def read(*parts):
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, *parts), "r") as fp:
return fp.read()
long_description = read("README.md")
install_requires = [
"alembic>=1.4.2",
"amqp>=2.6.0",
"attrs>=19.3.0",
"Babel>=2.8.0",
"billiard>=3.6.3.0",
"blinker>=1.4",
"celery>=4.4.6",
"certifi>=2020.6.20",
"chardet>=3.0.4",
"click>=7.1.2",
"click-log>=0.3.2",
"dnspython>=1.16.0",
"email-validator>=1.1.1",
"Flask>=1.1.2",
"Flask-Alembic>=2.0.1",
"flask-allows @ git+https://github.com/justanr/flask-allows.git@f/Cut-down-on-warnings#egg=flask-allows"
"Flask-BabelPlus>=2.2.0",
"Flask-Caching>=1.9.0",
"Flask-DebugToolbar>=0.11.0",
"flask-debugtoolbar-warnings>=0.1.0",
"Flask-Limiter>=1.3.1",
"Flask-Login>=0.5.0",
"Flask-Mail>=0.9.1",
"flask-redis>=0.4.0",
"Flask-SQLAlchemy>=2.4.3",
"Flask-Themes2>=0.1.5",
"flask-whooshee>=0.7.0",
"Flask-WTF>=0.14.3",
"flaskbb-plugin-portal>=1.1.3",
"future>=0.18.2",
"idna>=2.10",
"itsdangerous>=1.1.0",
"Jinja2>=2.11.2",
"kombu>=4.6.11",
"limits>=1.5.1",
"Mako>=1.1.3",
"MarkupSafe>=1.1.1",
"mistune>=0.8.4",
"olefile>=0.46",
"Pillow>=7.2.0",
"pluggy>=0.13.1",
"Pygments>=2.6.1",
"python-dateutil>=2.8.1",
"python-editor>=1.0.4",
"pytz>=2020.1",
"redis>=3.5.3",
"requests>=2.24.0",
"simplejson>=3.17.0",
"six>=1.15.0",
"speaklater>=1.3",
"SQLAlchemy>=1.3.18",
"SQLAlchemy-Utils>=0.36.8",
"Unidecode>=1.1.1",
"urllib3>=1.25.9",
"vine>=1.3.0",
"Werkzeug>=1.0.1",
"Whoosh>=2.7.4",
"WTForms>=2.3.1",
]
extras_require = {"postgres": ["psycopg2-binary"]}
tests_require = ["py", "pytest", "pytest-cov", "cov-core", "coverage"]
setup(
name="FlaskBB",
version="2.0.2",
url="https://flaskbb.org",
project_urls={
"Documentation": "https://flaskbb.readthedocs.io/en/latest/",
"Code": "https://github.com/flaskbb/flaskbb",
"Issue Tracker": "https://github.com/flaskbb/flaskbb",
},
license="BSD",
author="Peter Justin",
author_email="[email protected]",
description="A classic Forum Software in Python using Flask.",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
platforms="any",
entry_points="""
[console_scripts]
flaskbb=flaskbb.cli:flaskbb
""",
python_requires=">=3.5",
install_requires=install_requires,
extras_require=extras_require,
tests_require=tests_require,
test_suite="tests",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
],
cmdclass={"test": PyTestCommand},
)