]> git.armaanb.net Git - lightcards.git/blob - setup.py
Add lightcards-config() manpage
[lightcards.git] / setup.py
1 from setuptools import setup
2 from os import path
3
4 pwd = path.abspath(path.dirname(__file__))
5 with open(path.join(pwd, "README.md"), encoding="utf-8") as f:
6     long_description = f.read()
7
8 setup(
9     name="lightcards",
10     version="0.7.0",
11     description="Terminal flashcards from Markdown",
12     long_description=long_description,
13     long_description_content_type="text/markdown",
14     url="https://sr.ht/~armaan/lightcards",
15     author="Armaan Bhojwani",
16     author_email="me@armaanb.net",
17     license="MIT",
18     packages=["lightcards"],
19     install_requires=["beautifulsoup4", "markdown"],
20     data_files=[
21         ("man/man1", ["man/lightcards.1"]),
22         ("man/man5", ["man/lightcards-config.5"]),
23         (
24             "share/doc/lightcards/",
25             [
26                 "./config.py",
27                 "./README.md",
28                 "man/lightcards.1.md",
29                 "man/lightcards-config.5.md",
30                 "./LICENSE",
31             ],
32         ),
33     ],
34     entry_points={
35         "console_scripts": ["lightcards=lightcards:main"],
36     },
37     classifiers=[
38         "Intended Audience :: Education",
39         "Environment :: Console :: Curses",
40         "License :: OSI Approved :: MIT License",
41         "Topic :: Education",
42     ],
43 )