view setup.py @ 500:d3cd7d8d6b25 default tip

web: Breaking changes in flask-login API.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 07 Jun 2020 00:56:00 -0700
parents 36c3e9b1d1e3
children
line wrap: on
line source

import os
import os.path
from setuptools import setup, find_packages


def read(fname):
    with open(os.path.join(os.path.dirname(__file__), fname)) as fp:
        return fp.read()


install_requires = [
    'Flask>=1.1.2',
    'Flask-Bcrypt>=0.7.1',
    'Flask-Login>=0.5.0',
    'Jinja2>=2.11.2',
    'Markdown>=3.2.2',
    'Pygments>=2.6.1',
    'SQLAlchemy>=1.2.0',
    'Whoosh>=2.7.4',
    'colorama>=0.4.3',
    'python-hglib>=2.6.1',
    'repoze.lru>=0.7'
]
tests_require = [
    'invoke>=1.4.1'
    'pytest>=5.4.3'
]


setup(
        name='Wikked',
        description=("A wiki engine entirely managed with text files "
                     "stored in a revision control system."),
        author='Ludovic Chabant',
        author_email='ludovic@chabant.com',
        url="https://github.com/ludovicchabant/Wikked",
        license="Apache 2.0",
        keywords="wiki mercurial hg git",
        packages=find_packages(exclude=["monkeys", "tests"]),
        setup_requires=['setuptools_scm'],
        use_scm_version={
            'write_to': 'wikked/__version__.py'},
        install_requires=install_requires,
        tests_require=tests_require,
        include_package_data=True,
        zip_safe=False,
        classifiers=[
            'Development Status :: 3 - Alpha',
            'License :: OSI Approved :: Apache Software License',
            'Environment :: Console',
            'Operating System :: MacOS :: MacOS X',
            'Operating System :: Unix',
            'Operating System :: POSIX',
            'Operating System :: Microsoft :: Windows',
            'Programming Language :: Python'],
        entry_points={
                'console_scripts': [
                    'wk = wikked.witch:real_main']
                },
        )