X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=setup.py;h=2373f3f82dcdcdbb2cc99b0f16cf33a22a1848b3;hb=03c060da9a4c865c9839bf716bcd6173973dc182;hp=2e9f881b57c26bda7e51d07079dd945dcec9fbac;hpb=a965744d4d562b5c0235fd9d5baacb2ef7aa27c2;p=lightcards.git diff --git a/setup.py b/setup.py index 2e9f881..2373f3f 100644 --- a/setup.py +++ b/setup.py @@ -1,21 +1,41 @@ from setuptools import setup +from os import path + +pwd = path.abspath(path.dirname(__file__)) +with open(path.join(pwd, "README.md"), encoding="utf-8") as f: + long_description = f.read() setup( name="lightcards", - version="0.2.0", - description="Markdown flashcards", + version="0.7.0", + description="Terminal flashcards from Markdown", + long_description=long_description, + long_description_content_type="text/markdown", url="https://sr.ht/~armaan/lightcards", author="Armaan Bhojwani", author_email="me@armaanb.net", license="MIT", packages=["lightcards"], install_requires=["beautifulsoup4", "markdown"], + data_files=[ + ("man/man1", ["man/lightcards.1"]), + ( + "share/doc/lightcards/", + [ + "./config.py", + "./README.md", + "man/lightcards.1.md", + "./LICENSE", + ], + ), + ], + entry_points={ + "console_scripts": ["lightcards=lightcards:main"], + }, classifiers=[ - "Development Status :: 4 - Beta", - "Intended Audience :: Other Audience", + "Intended Audience :: Education", "Environment :: Console :: Curses", "License :: OSI Approved :: MIT License", - "Topic :: Utilities" + "Topic :: Education", ], ) -