summaryrefslogtreecommitdiff
path: root/setup.py
blob: a67f25f24ab51c395b8555778b49e64e108aa962 (plain) (blame)
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import find_packages, setup

NAME = "patternutils"
DESCRIPTION = "Combine regular expressions with template engines in a powerful matter."
URL = "https://projects.metalgamer.eu/patternutils"
EMAIL = "dennis.fink@c3l.lu"
AUTHOR = "Dennis Fink"

VERSION = "0.0.9"
ENTRY_POINTS = {
    "console_scripts": [
        "pmatch=patternutils.commands.pmatch:pmatch",
        "targs=patternutils.commands.targs:targs",
        "tmv=patternutils.commands.tmv:tmv",
        "tln=patternutils.commands.tln:tln",
        "patterncfg=patternutils.commands.patterncfg:patterncfg",
        "prss=patternutils.commands.prss:prss",
    ],
}


REQUIRED = [
    "click==7.0",
]

OPTIONAL = {
    "jinja2": ["Jinja2==2.10.1"],
    "pygments": ["Pygments==2.4.2"],
    "prss": ["feedparser==6.0.2"],
}

setup(
    name=NAME,
    version=VERSION,
    description=DESCRIPTION,
    author=AUTHOR,
    author_email=EMAIL,
    url=URL,
    packages=find_packages(exclude=("tests",)),
    entry_points=ENTRY_POINTS,
    install_requires=REQUIRED,
    extras_requires=OPTIONAL,
    include_package_data=True,
    license="GPLv3+",
    classifiers=[
        # Trove classifiers
        # Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
        "Programming Language :: Python",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: Implementation :: CPython",
    ],
)