aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Winston2022-03-30 23:55:24 -0400
committerBen Winston2022-03-30 23:55:24 -0400
commit763f45b98114e0c3d136a11f84b14730688432c1 (patch)
tree1e4be3cb49ebd1b0f59e287a698c37b7560e5768
parent8bfa376bb5570738214f2b009e15df1938370998 (diff)
initial commit of setup file to build to PyPI
-rw-r--r--README.md4
-rw-r--r--pyproject.toml3
-rw-r--r--setup.py42
3 files changed, 49 insertions, 0 deletions
diff --git a/README.md b/README.md
index 8078cfc..cc5c796 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,10 @@
# roku-tui
a command line TUI remote for Roku
+## install and run
+`me@computer ~$ python3 -m pip install roku-tui`
+`me@computer ~$ roku-tui`
+
## basic usage
Keys on the left map to standard Roku remote buttons on the right
* `h` -> Home
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..62df2b0
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,3 @@
+[build-system]
+requires = ["setuptools>=43.0.0", "wheel"]
+build-backend = "setuptools.build_meta"
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..18b842c
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,42 @@
+from setuptools import setup
+from pathlib import Path
+
+here = Path(__file__).parent.resolve()
+
+long_description = (here / "README.md").read_text(encoding="utf-8")
+
+setup(name="roku-tui",
+ version="0.1.0",
+ description="A TUI remote for Roku",
+ long_description=long_description,
+ long_description_content_type="text/markdown",
+ url="https://github.com/winsbe01/roku-tui",
+ author="Ben Winston",
+ author_email="ben@benwinston.us",
+ classifiers=[
+ "Development Status :: 5 - Production/Stable",
+ "Environment :: Console :: Curses",
+ "Intended Audience :: End Users/Desktop",
+ "License :: OSI Approved :: Apache Software License",
+ "Programming Language :: Python :: 3",
+ "Programming Language :: Python :: 3.7",
+ "Programming Language :: Python :: 3.8",
+ "Programming Language :: Python :: 3.9",
+ "Programming Language :: Python :: 3.10",
+ "Programming Language :: Python :: 3.11",
+ "Programming Language :: Python :: 3 :: Only",
+ "Topic :: Games/Entertainment",
+ "Topic :: Utilities",
+ ],
+ keywords="roku, remote, tui, cli",
+ py_modules=["roku_tui"],
+ python_requires=">=3.7, <4",
+ entry_points={
+ "console_scripts": [
+ "roku-tui=roku_tui:startup",
+ ],
+ },
+ project_urls={
+ "Source": "https://github.com/winsbe01/roku-tui",
+ },
+)