parent
391210623c
commit
9183619540
@ -1,5 +1,5 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Type=Application
|
Type=Application
|
||||||
Name=Tinge
|
Name=Tinge
|
||||||
Exec=/home/##USER##/.local/bin/tinge
|
Exec=tinge
|
||||||
Icon=face-cool
|
Icon=face-cool
|
@ -1,8 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
sudo pip3 install -r ./requirements.txt
|
sudo pip3 install -r ./requirements.txt
|
||||||
mkdir -p ~/.local/bin/ ~/.local/share/applications/
|
mkdir -p ~/.local/bin/ ~/.local/share/applications/
|
||||||
chmod +x ./main.py
|
chmod +x ./scripts/tinge
|
||||||
cp ./main.py ~/.local/bin/tinge
|
cp ./scripts/tinge ~/.local/bin/
|
||||||
sed "s/##USER##/${USER}/" tinge.desktop > ~/.local/share/applications/tinge.desktop
|
cp ./data/org.smolnettinge.desktop ~/.local/share/applications/
|
||||||
sudo cp -r ./tinge /usr/lib/python3.9/site-packages/
|
sudo cp -r ./src/tinge /usr/lib/python3.9/site-packages/
|
||||||
sudo cp -r ./tinge /usr/lib/python3.9/
|
sudo cp -r ./src/tinge /usr/lib/python3.9/
|
||||||
|
@ -0,0 +1,28 @@
|
|||||||
|
import setuptools
|
||||||
|
|
||||||
|
with open("README.md", "r", encoding="utf-8") as fh:
|
||||||
|
long_description = fh.read()
|
||||||
|
|
||||||
|
setuptools.setup(
|
||||||
|
name="tinge",
|
||||||
|
version="0.0.1",
|
||||||
|
author="Micke Nordin",
|
||||||
|
author_email="hej@mic.ke",
|
||||||
|
data_files = [('share/applications', ['data/org.smolnet.tinge.desktop']),],
|
||||||
|
description="A GUI for Philips Hue lights.",
|
||||||
|
long_description=long_description,
|
||||||
|
long_description_content_type="text/markdown",
|
||||||
|
url="https://code.smolnet.org/micke/tinge",
|
||||||
|
project_urls={
|
||||||
|
"Bug Tracker": "https://code.smolnet.org/micke/tinge/issues",
|
||||||
|
},
|
||||||
|
classifiers=[
|
||||||
|
"Programming Language :: Python :: 3",
|
||||||
|
"License :: OSI Approved :: GPL-3.0",
|
||||||
|
"Operating System :: OS Independent",
|
||||||
|
],
|
||||||
|
package_dir={"": "src"},
|
||||||
|
packages=setuptools.find_packages(where="src"),
|
||||||
|
python_requires=">=3.9",
|
||||||
|
scripts=["scripts/tinge"],
|
||||||
|
)
|
Loading…
Reference in new issue