summaryrefslogtreecommitdiff
path: root/setup.py
blob: bb9fbbd57f2aff86bfaf1978a2bacf0136131d16 (plain)
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
from setuptools import setup, find_packages
from codecs import open
from os import path

here = path.abspath(path.dirname(__file__))

# Get the long description from the README file

long_description = ''

try:
    import pypandoc
    long_description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
    with open(path.join(here, 'README.md'), encoding='utf-8') as f:
        long_description = f.read()


__title__ = ''
__version__ = ''
__summary__ = ''
__uri__ = ''
__author__ = ''
__author_email__ = ''
exec(open('./qface/__about__.py').read())

setup(
    name=__title__,
    version=__version__,
    description=__summary__,
    long_description=long_description,
    long_description_content_type="text/markdown",
    url=__uri__,
    author=__author__,
    author_email=__author_email__,
    license='MIT',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'Topic :: Software Development :: Code Generators',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 3',
    ],
    keywords='qt code generator framework',
    packages=find_packages(),
    include_package_data=True,
    python_requires=">=3.5",
    install_requires=[
        'click>=6.7',
        'antlr4-python3-runtime>=4.7.1',
        'jinja2>=2.10.3',
        'path.py>=11.0.1',
        'pyyaml>=5.1',
        'watchdog>=0.8.3',
        'six>=1.11.0',
        'coloredlogs>=10.0',
    ],
    extras_require={
        'dev': [
            'watchdog',
            'pypandoc',
        ],
        'test': [
            'pytest',
            'watchdog',
            'ipdb',
        ],
    },
    entry_points={
        'console_scripts': [
            'qface = qface.app:main'
        ],
    },
)