From 2ce556f9fc5acf6698ea251dccc4e36abd3cb772 Mon Sep 17 00:00:00 2001 From: Denis Lehmann Date: Wed, 21 Apr 2021 11:47:51 +0200 Subject: [PATCH] first package --- main.py => bin/rzr.py | 0 lightmaps/razer_mamba_elite.toml | 4 ++++ requirements.txt | 3 +++ setup.py | 14 ++++++++++++++ 4 files changed, 21 insertions(+) rename main.py => bin/rzr.py (100%) create mode 100644 requirements.txt create mode 100644 setup.py diff --git a/main.py b/bin/rzr.py similarity index 100% rename from main.py rename to bin/rzr.py diff --git a/lightmaps/razer_mamba_elite.toml b/lightmaps/razer_mamba_elite.toml index 5ebcff8..b73a39e 100644 --- a/lightmaps/razer_mamba_elite.toml +++ b/lightmaps/razer_mamba_elite.toml @@ -1,5 +1,7 @@ wheel = [0, 0] logo = [0, 1] + +# Left stripe l0 = [0, 2] l1 = [0, 3] l2 = [0, 4] @@ -9,6 +11,8 @@ l5 = [0, 7] l6 = [0, 8] l7 = [0, 9] l8 = [0, 10] + +# Right stripe r0 = [0, 11] r1 = [0, 12] r2 = [0, 13] diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..658bce0 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +colour +openrazer +toml diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..ae3f879 --- /dev/null +++ b/setup.py @@ -0,0 +1,14 @@ +from setuptools import setup + +setup( + name="rzr", + version="0.0.1", + author="Denis Lehmann", + author_email="denis@opaque.tech", + scripts=["bin/rzr"], + url="https://git.opaque.tech/denis/rzr", + license="LICENSE", + description="Apply lightmaps to Razer devices", + long_description=open("README.org").read(), + install_requires=["colour", "openrazer", "toml"], +)