File: setup.py

package info (click to toggle)
archmage 1%3A0.4.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 440 kB
  • sloc: python: 732; sh: 13; makefile: 4
file content (40 lines) | stat: -rw-r--r-- 1,208 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
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/env python

from setuptools import setup, find_packages

long_desc = """arCHMage is a reader and decompressor for CHM format"""

classifiers = [
    "Development Status :: 5 - Production/Stable",
    "Environment :: Console",
    "Environment :: Web Environment",
    "Intended Audience :: End Users/Desktop",
    "License :: OSI Approved :: "
    + "GNU General Public License v2 or later (GPLv2+)",
    "Topic :: Text Processing :: Filters",
]

setup(
    name="archmage",
    version="0.4.2.1",
    description="CHM decompressor",
    maintainer="Mikhail Gusarov",
    maintainer_email="dottedmag@dottedmag.net",
    url="https://github.com/dottedmag/archmage",
    license="GPLv2+",
    keywords=["chm", "HTML Help", "Compiled HTML", "Compressed HTML"],
    classifiers=classifiers,
    long_description=long_desc,
    packages=find_packages(),
    install_requires=["pychm", "beautifulsoup4", "sgmllib3k"],
    test_requires=["pytest"],
    entry_points={"console_scripts": ["archmage = archmage.cli:main"]},
    package_data={
        "archmage": [
            "*.conf",
            "templates/*.html",
            "templates/*.css",
            "templates/icons/*.gif",
        ],
    },
)