boramalper / himawaripy

Set near-realtime picture of Earth as your desktop background
http://labs.boramalper.org/himawaripy
MIT License
1.62k stars 239 forks source link

Add simple setup.py and systemd timer #42

Closed wesbarnett closed 8 years ago

wesbarnett commented 8 years ago

Ah I didn't know that was in the pull request. Doh. Will try to fix.

wesbarnett commented 8 years ago

Okay the PKGBUILD is out. That was mainly for me on my system. The intent was to keep it on my own fork and not put it in this pull request. Sorry about that. Should be ready to merge now.

boramalper commented 8 years ago

I noticed a problem while trying to set up a timer using systemd on Ubuntu 15.10:

systemctl --user enable --start himawaripy.timer commands returns systemctl: unrecognized option '--start'. Do you know what might have caused it?

$ systemctl --version
systemd 225
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD -IDN
ghost commented 8 years ago

My setup.py was better in this way : Mine : ~/pkg/himawaripy-git   master ●  pacman -Ql himawaripy-git himawaripy-git /usr/ himawaripy-git /usr/bin/ himawaripy-git /usr/bin/himawaripy

Yours : ~/pkg/himawaripy-git   dev ●  pacman -Ql himawaripy-git himawaripy-git /usr/ himawaripy-git /usr/bin/ himawaripy-git /usr/bin/himawaripy himawaripy-git /usr/bin/himawaripy.py himawaripy-git /usr/bin/utils.py

My only had one entrypoint into /usr/bin, I dislike this implementation, and I think II'll kept my setup.py in AUR package until this will not be fixed or someone convince me.

ghost commented 8 years ago

See https://github.com/boramalper/himawaripy/issues/44 to debate if you want to.