Blame view

setup.py 1.34 KB
ed0097b4   Miguel Barão   removes redirect ...
1
2
3
'''
Perguntations setup
'''
aab6a036   Miguel Barão   minor changes
4

4b703498   Miguel Barão   Major reorganizat...
5
6
7
8
9
from setuptools import setup, find_packages

from perguntations import (__author__, __license__,
                           APP_NAME, APP_VERSION, APP_DESCRIPTION)

f0d08f5c   Miguel Barão   minor
10
with open("README.md", "r") as f:
4b703498   Miguel Barão   Major reorganizat...
11
12
13
14
15
16
    long_description = f.read()

setup(
    name=APP_NAME,
    version=APP_VERSION,
    author=__author__,
f0d08f5c   Miguel Barão   minor
17
    author_email="mjsb@uevora.pt",
4b703498   Miguel Barão   Major reorganizat...
18
19
20
    license=__license__,
    description=APP_DESCRIPTION.split('\n')[0],
    long_description=APP_DESCRIPTION,
f0d08f5c   Miguel Barão   minor
21
22
    long_description_content_type="text/markdown",
    url="https://git.xdi.uevora.pt/mjsb/perguntations.git",
4b703498   Miguel Barão   Major reorganizat...
23
24
    packages=find_packages(),
    include_package_data=True,   # install files from MANIFEST.in
f0d08f5c   Miguel Barão   minor
25
    python_requires='>=3.8.*',
4b703498   Miguel Barão   Major reorganizat...
26
    install_requires=[
cc91e4c0   Miguel Barão   Squashed commit o...
27
        'bcrypt>=3.1',
ffb53a93   Miguel Barão   First version tha...
28
        'mistune<2.0',
a566a5d6   Miguel Barão   refactoring. spli...
29
30
        'pyyaml>=5.1',
        'pygments',
fbe9b8d2   Miguel Barão   add dependency sc...
31
        'schema>=0.7.5',
cc91e4c0   Miguel Barão   Squashed commit o...
32
33
        'sqlalchemy>=1.4',
        'tornado>=6.1',
a566a5d6   Miguel Barão   refactoring. spli...
34
        ],
4b703498   Miguel Barão   Major reorganizat...
35
36
    entry_points={
        'console_scripts': [
a566a5d6   Miguel Barão   refactoring. spli...
37
            'perguntations = perguntations.main:main',
4b703498   Miguel Barão   Major reorganizat...
38
39
40
41
42
43
44
45
46
47
48
49
            'initdb = perguntations.initdb:main',
        ]
    },
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'Intended Audience :: Education',
        'Programming Language :: Python :: 3',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
    ],
)