Add setup.py

main
Micke Nordin 2 years ago
parent 3604862b84
commit 1986e395d7
Signed by: micke
GPG Key ID: 014B273D614BE877

@ -1,5 +0,0 @@
python3-bs4
python3-wxgtk4.0
python3-feedparser
python3-vlc
python3-pychromecast

@ -17,5 +17,5 @@ sudo chmod +x /usr/local/bin/cast
sudo cp -a src/{Channel,ChannelProvider,Items,Utils} /usr/lib/python3/dist-packages/
sudo cp -a src/{Channel,ChannelProvider,Items,Utils} /usr/lib/python3.9/
sudo cp -a src/{Channel,ChannelProvider,Items,Utils} /usr/lib/python3.10/
sudo cp src/cast.desktop /usr/share/applications/
sudo cp data/org.smolnet.cast.desktop /usr/share/applications/
exit 0

@ -0,0 +1,29 @@
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="cast",
version="0.0.1",
author="Micke Nordin",
author_email="hej@mic.ke",
data_files = [('share/applications', ['data/org.smolnet.cast.desktop']),],
description="A Public Service video player.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://code.smolnet.org/micke/cast",
project_urls={
"Bug Tracker": "https://code.smolnet.org/micke/cast/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/cast"],
)

@ -0,0 +1,3 @@
[DEFAULT]
Depends3: python3-bs4, python3-wxgtk4.0, python3-feedparser, python3-vlc, python3-pychromecast
Debian-Version: 1
Loading…
Cancel
Save