0

I am trying to find a way to use my Github repo tags for versioning of my package, which should be available for download using something like pip. The problem is every time I update the package version I have to upload the contents to pypi. Is there any way to just set the donwload url in pypi point to my github repo, So that when I do something like pip install -I MySQL_python==1.2.2 and it just install that form the git tag 1.2.2, without me having to upload the version to pypi.

EDIT:(I was not clear enough)

I know about the pip install git+git://blabal way I am looking for something like I tell pypi that my package is at github.com/bla.git and the user does pip install bla==1.2 and pip install that from github (with version as tag) Something like vundle for vim

1 Answer 1

1

You could install like this:

pip install -e git+<repo address>@<ref>#egg=<egg name>

where ref could be a commit id, tag name or branch name.

Read the docs.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.