]> git.armaanb.net Git - lightcards.git/blob - setup.py
Add preliminary config file support
[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         (
23             "share/doc/lightcards/",
24             [
25                 "./config.py",
26                 "./README.md",
27                 "man/lightcards.1.md",
28                 "./LICENSE",
29             ],
30         ),
31     ],
32     entry_points={
33         "console_scripts": ["lightcards=lightcards:main"],
34     },
35     classifiers=[
36         "Intended Audience :: Education",
37         "Environment :: Console :: Curses",
38         "License :: OSI Approved :: MIT License",
39         "Topic :: Education",
40     ],
41 )