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

Packaging: Add to homebrew #3

Open
drnic opened this issue Apr 7, 2015 · 7 comments
Open

Packaging: Add to homebrew #3

drnic opened this issue Apr 7, 2015 · 7 comments

Comments

@drnic
Copy link

drnic commented Apr 7, 2015

I'm vaguely hesitant from sudo python setup.py install install instructions. But for others, they might never get pass the pretty home page which doesn't mention how to install at all.

For OS X users, we like to guess how to install stuff - brew install termsql or it doesn't exist :)

Perhaps look to https://github.com/jordansissel/fpm to create deb/yum packages too.

@tobimensch
Copy link
Owner

Thanks for your input.

In regards to packaging my next goal is to publish on pypi.

If someone wants to help with packaging for any specific platform patches are welcome.

@michaelmior
Copy link

Homebrew packages are quite easy to create. Unfortunately I no longer have a Mac available to actually test this, but there's great documentation here.

Any reason not to publish the current version of termsql on PyPI?

@tobimensch
Copy link
Owner

@michaelmior

I don't have a Mac either, so I'm dependend on contributions for this platform.

There's no reason not to publish the current version on PyPI, a few months ago I started to setup the neccessary files and to register an account on PyPI, but I obviously didn't complete the process yet.

@kaeff
Copy link

kaeff commented Dec 12, 2016

Hi @tobimensch , thanks for this awesome tool! As you asked for support with Homebrew packaging I took the liberty to propose a formula to Homebrew. I'm not experienced with writing brew formulas or packaging python projects, but I've made sure to follow the docs as best as I can. Happy for your feedback, thanks in advance!

From a Homebrew perspective, I think it would be super helpful if:

  • There were tagged versions, so that the Formula can reference a tarball instead of cloning the repo and installing from master
  • The path to the man1 dir could be customized when calling setup.py install. Homebrew uses a dir called prefix to which it installs and then symlinks, so in order to install to the correct directory, as of now the formula needs to modify setup.py before installing. This felt a little hacky to me.

OR, ignoring the above: If there was a package on pypi, brew could just install that and be fine.

kaeff added a commit to kaeff/homebrew-core that referenced this issue Dec 14, 2016
@kaeff
Copy link

kaeff commented Dec 14, 2016

As @woodrufw pointed out in Homebrew/homebrew-core#7801, Homebrew needs a version tag or full release for termsql. @tobimensch could you add one of those, please?

@tobimensch
Copy link
Owner

Yes, please be patient. I think I'll do it this week. Thanks for your contributions!

@tobimensch
Copy link
Owner

termsql is now on pypi, does this help with packaging for homebrew? Or is something else needed? I'm also tagging the current version as 1.0.

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

4 participants