~sirn/fanboi2

ref: a68873a108d20a6a49a1b6caf374bfb2cf6a94fe fanboi2/setup.py -rw-r--r-- 1.7 KiB
a68873a1Kridsada Thanabulpong Coding style cleanups and setup pre-commit hooks (#42) 3 years ago
                                                                                
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
import os
from setuptools import setup, find_packages

here = os.path.abspath(os.path.dirname(__file__))
readme = open(os.path.join(here, "README.rst")).read()
changes = open(os.path.join(here, "CHANGES.rst")).read()


install_requires = [
    # Pyramid
    "pyramid >=1.9, <1.10",
    "pyramid_nacl_session",
    "pyramid_debugtoolbar",
    "pyramid_mako",
    "pyramid_services",
    "pyramid_tm",
    "waitress",
    # Backend
    "alembic >=0.9, <0.10",
    "argon2_cffi",
    "celery >=4.1, <4.2",
    "dogpile.cache",
    "geoip2",
    "hiredis",
    "hupper",
    "passlib",
    "psycopg2",
    "python3-memcached",
    "pytz",
    "redis",
    "requests",
    "sqlalchemy >=1.2, <1.3",
    "transaction",
    "zope.sqlalchemy",
    # Frontend
    "MarkupSafe",
    "isodate",
    "misaka",
    "wtforms >=2.1, <3.0",
]


test_requires = ["coverage", "nose", "rednose"]


setup(
    name="fanboi2",
    version="0.30.0",
    description="board engine behind fanboi.ch",
    long_description=readme + "\n\n" + changes,
    classifiers=[
        "programming language :: python",
        "programming language :: python :: 3",
        "framework :: pyramid",
        "topic :: internet :: www/http",
        "topic :: internet :: www/http :: wsgi :: application",
    ],
    author="",
    author_email="",
    url="",
    keywords="web wsgi bfg pylons pyramid",
    packages=find_packages(),
    include_package_data=True,
    zip_safe=False,
    test_suite="fanboi2.tests",
    install_requires=install_requires,
    test_requires=test_requires,
    python_requires=">=3.6",
    entry_points="""
    [console_scripts]
    fbctl = fanboi2.cmd.ctl:main
    fbcelery = fanboi2.cmd.celery:main
    """,
)