]> git.armaanb.net Git - lightcards.git/blobdiff - setup.py
Add lightcards-config() manpage
[lightcards.git] / setup.py
index 50b85c1048bd1eba5fe3c4601402d5ccf03d6acb..d028ea7ae9cd12c718ae04c245fd9f7444458228 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ with open(path.join(pwd, "README.md"), encoding="utf-8") as f:
 
 setup(
     name="lightcards",
-    version="0.2.0",
+    version="0.7.0",
     description="Terminal flashcards from Markdown",
     long_description=long_description,
     long_description_content_type="text/markdown",
@@ -17,11 +17,27 @@ setup(
     license="MIT",
     packages=["lightcards"],
     install_requires=["beautifulsoup4", "markdown"],
+    data_files=[
+        ("man/man1", ["man/lightcards.1"]),
+        ("man/man5", ["man/lightcards-config.5"]),
+        (
+            "share/doc/lightcards/",
+            [
+                "./config.py",
+                "./README.md",
+                "man/lightcards.1.md",
+                "man/lightcards-config.5.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",
     ],
 )