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

pip_package supports installing directly from repositories #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ifosch
Copy link
Contributor

@ifosch ifosch commented Aug 14, 2014

I know it should be better to use pip module from ansible, but I couldn't find the way to install the egg with another name beyond the repository name.

@ninjabong
Copy link
Member

yeah, quick googling reveals it's not possible with ansible's pip but suggests some alternatives, namely easy_install or command/shell roles.

I take it the playbook use would be something like this?

    - role: pip_package
      vcs_eggs:
        - { egg_name: "foo", address: "https://github.com/foo/bar" }

For now I'll leave this open, @rricard might have a better insight.

@rricard
Copy link
Contributor

rricard commented Sep 1, 2014

Well, I'm not that of a python guy but I think you should use easy install for that... And of course, we could do something prettier as @ninjabong advised...

@ifosch
Copy link
Contributor Author

ifosch commented Sep 1, 2014

Ok, I'll take a closer look at this! I chose the pip thing, because pip is
the recommended way of installing things in Python, but this would be done
using easy_install, also. I'll work on this next.

On Mon, Sep 1, 2014 at 3:55 PM, Robin Ricard [email protected]
wrote:

Well, I'm not that of a python guy but I think you should use easy install
for that... And of course, we could do something prettier as @ninjabong
https://github.com/ninjabong advised...


Reply to this email directly or view it on GitHub
#45 (comment).

"As we enjoy great advantages from the inventions of others, we should be
glad of an opportunity to serve others by any invention of ours; and this
we should do freely and generously."
Benjamin Franklin, 1742

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

Successfully merging this pull request may close these issues.

3 participants