C2N14 / AutomaThemely

Simple, set-and-forget python application for changing between desktop themes according to light and dark hours
GNU General Public License v3.0
205 stars 31 forks source link

Could not install with Python 3.8 in Linux Mint 20.3 #54

Open ghost opened 1 year ago

ghost commented 1 year ago

Process failed: python3.8 failed (exit code 1). Full command was:["python3.8", "-m", "pip", "download", "--no-clean", "--no-deps", "--no-binary", ":all:", "-d", "/tmp/package-python-build-06340c8911613336d00bcc674a4e58e745844c21a86b4ab0356d6d66eb69", "-i", "https://pypi.python.org/simple", "--build", "/tmp/package-python-build-06340c8911613336d00bcc674a4e58e745844c21a86b4ab0356d6d66eb69/../setup.py", "../setup.py"] {:level=>:error} Process failed: python3.8 failed (exit code 1). Full command was:["python3.8", "-m", "pip", "download", "--no-clean", "--no-deps", "--no-binary", ":all:", "-d", "/tmp/package-python-build-c05a2d6ff180ab6a3eeb880c41de5d165a245ecd8e6134cdb5e387f4844b", "-i", "https://pypi.python.org/simple", "--build", "/tmp/package-python-build-c05a2d6ff180ab6a3eeb880c41de5d165a245ecd8e6134cdb5e387f4844b/../setup.py", "../setup.py"] {:level=>:error}

My WorkStation Linux Mint 20.3 x86_64 Python 3.8 fpm 1.14.2

I changed the install_scripts/.package.sh file

declare -a outputs=("deb")
declare -a pypacks=("astral" "requests" "tz" "tzlocal" "schedule")
declare -a otherdeps=("python3-pip")
declare -a python_versions=("3.8")

declare -a original_files=(*)
declare -a outputs=("deb" "rpm" "sh")
declare -a pypacks=("astral" "requests" "tz" "tzlocal" "schedule")
declare -a otherdeps=("python3-pip")
declare -a python_versions=("3.5" "3.6")