4

I've started using the Python Chalice framework and I found out I need a bugfix that was merged less than 24 hours ago into the framework's master branch, through this PR:

https://github.com/aws/chalice/pull/1116

My experience with Python modules is limited to typing pip install and watching the magic happen. How can I install Chalice straight off GitHub's master branch instead?

4

2 Answers 2

13

Pip conveniently has built-in Git support.

pip install git+https://github.com/user_name/repo_name
Sign up to request clarification or add additional context in comments.

Comments

2

@Draconis's answer is the simplest in terms of manual steps. If you already have the repo, you can use its setup.py:

./setup.py install

Or if you want to specifically use pip:

pip install -e .

Both commands are shown being run from the project root that contains setup.py.

If you got the repo to do development in it, you may want to do

./setup.py develop

This will symlink your working directory into your Python installation's site packages, so all your changes show up instantly as you work.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.