File: setup.py

package info (click to toggle)
python-click-didyoumean 0.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 88 kB
  • sloc: python: 169; makefile: 6
file content (28 lines) | stat: -rw-r--r-- 740 bytes parent folder | download
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
import re
import ast
from setuptools import setup


_version_re = re.compile(r"__version__\s+=\s+(.*)")


with open("click_didyoumean/__init__.py", "rb") as f:
    version = str(ast.literal_eval(_version_re.search(
        f.read().decode("utf-8")).group(1)))


setup(
    name="click-didyoumean",
    author="Timo Furrer",
    author_email="tuxtimo@gmail.com",
    version=version,
    url="https://github.com/timofurrer/click-didyoumean",
    packages=["click_didyoumean"],
    install_requires=["click"],
    description="Enable git-like did-you-mean feature in click.",
    classifiers=[
        "License :: OSI Approved :: BSD License",
        "Programming Language :: Python",
        "Programming Language :: Python :: 3",
    ],
)