Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation via Homebrew #50

Open
renestalder opened this issue Mar 14, 2019 · 6 comments
Open

Installation via Homebrew #50

renestalder opened this issue Mar 14, 2019 · 6 comments

Comments

@renestalder
Copy link

Would it be an option to add the dav client for Mac (or even Linux) to Homebrew? Would make installation and updating maybe easier.

@tasn
Copy link
Member

tasn commented Mar 14, 2019

I'd love that. Do you know what's the process for adding things to Homebrew?

@renestalder
Copy link
Author

I never did that unfortunately. I guess one starts with creating a tap (that's like a repository for your package) and then creating a formula (that's the package).

https://docs.brew.sh/How-to-Create-and-Maintain-a-Tap (that's seems to be the easy part)
https://docs.brew.sh/Formula-Cookbook (more complex, involves Ruby)

@tasn
Copy link
Member

tasn commented Mar 14, 2019

Thanks for the info. I just thought about it a bit more and on Mac you can just brew install python3 (or something like that) and then pip install etesync-dav.
Probably easiest.

@renestalder
Copy link
Author

Oh okay, makes sense. I manually put the binary to my usr/local/bin and found it a bit cumbersome. Especially now I have to find out how to start it in the background at login and probably have to dive into launchd stuff. Just wondered if that can be made easier. I recently installed some homebrew apps which came with a launchd plist files. So after installation via brew, it displayed a command to copy paste in the terminal to make the app startup at login and found that quite a nice way. But probably doesn't make a difference if it's installed via brew or pip and doesn't have anything to do with that.

@tasn
Copy link
Member

tasn commented Mar 14, 2019

Ah yes, this sucks, though orthogonal to homebrew. I need to set up the automatic launch on startup for every platform (at the moment you'd need to do it manually) and etc. I need to just create a native macOS .app, which is possible with PyInstaller. Just need to set it up.

@porg
Copy link

porg commented Apr 16, 2019

#57 is about the same subject like this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants