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

Add tag-based versioning for git archive support #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

brianv0
Copy link

@brianv0 brianv0 commented Apr 18, 2020

This commit lets you use git tags to create new versions and makes it unnecessary to update setup.py when creating a new version.

This will let you get a tarball directly from github with enough information to install a proxmin version.

This will help with creating a standard conda-forge recipe, which I'd like to do.

As an example of what this PR can enable, try this script to install a fake 0.6.10 version, as tagged in my fork. (Note that the tag is currently in my fork - not in this repo)

export GITHUB_ORG="brianv0"
export TAG="0.6.10"
export PROXMINDIR=$(mktemp -d)
cd $PROXMINDIR
curl -LO https://github.com/${GITHUB_ORG}/proxmin/archive/$TAG.tar.gz
tar xzf $TAG.tar.gz
cd proxmin-$TAG
pip3 install .

This PR also contains a fix for python 3.8 syntax warning.

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.

None yet

1 participant