Browse Source

Add a setup.py script for installation

I finally got around to learning how to make a setup.py script.  I have
finally blossomed into a mature adult.
Clara Hobbs 8 years ago
parent
commit
a1f694572a
1 changed files with 38 additions and 0 deletions
  1. 38
    0
      setup.py

+ 38
- 0
setup.py View File

@@ -0,0 +1,38 @@
1
+from setuptools import setup
2
+
3
+with open("README.rst") as file:
4
+    long_description = file.read()
5
+
6
+setup(
7
+    name = "KayleeVC",
8
+    version = "0.1.0",
9
+    author = "Clayton G. Hobbs",
10
+    author_email = "clay@lakeserv.net",
11
+    description = ("Somewhat fancy voice command recognition software"),
12
+    license = "GPLv3+",
13
+    keywords = "voice speech command control",
14
+    url = "https://github.com/Ratfink/kaylee",
15
+    packages = ['kayleevc'],
16
+    long_description = long_description,
17
+    classifiers = [
18
+        "Development Status :: 3 - Alpha",
19
+        "Environment :: X11 Applications :: GTK",
20
+        "Intended Audience :: End Users/Desktop",
21
+        "License :: OSI Approved :: GNU General Public License v3 or later "
22
+            "(GPLv3+)",
23
+        "Operating System :: POSIX :: Linux",
24
+        "Programming Language :: Python :: 3 :: Only",
25
+        "Programming Language :: Python :: 3.5",
26
+        "Topic :: Home Automation"
27
+    ],
28
+    install_requires=["requests"],
29
+    data_files = [
30
+        ("/usr/share/kaylee", ["data/icon_inactive.png", "data/icon.png",
31
+            "options.json.tmp"])
32
+    ],
33
+    entry_points = {
34
+        "console_scripts": [
35
+            "kaylee=kayleevc.kaylee:run"
36
+        ]
37
+    }
38
+)

Loading…
Cancel
Save