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

Fix install from source #505

Merged
merged 1 commit into from
Apr 15, 2021
Merged

Fix install from source #505

merged 1 commit into from
Apr 15, 2021

Conversation

ataffanel
Copy link
Member

This is the minimal change to fix install from souce.

The problem was that if we are not in a git repos, VERSION needs to be set to None and the version if found in a json file.

This still look a bit bad though. Maybe the version should be fetched from python instead. The release taball contains a file named PKG-INFO, it might be cleaner to get the version from there instead?

@ataffanel ataffanel requested a review from jonasdn April 14, 2021 15:32
@ataffanel ataffanel force-pushed the ataffanel/issue504 branch from 12f6ccc to a1d8745 Compare April 14, 2021 15:34
@jonasdn
Copy link
Contributor

jonasdn commented Apr 15, 2021

It is an ok stop-gap solution. We can fix it nicer to next version.

@ataffanel ataffanel merged commit 53327ae into master Apr 15, 2021
@ataffanel ataffanel deleted the ataffanel/issue504 branch April 15, 2021 12:03
@jonasdn jonasdn added this to the next-release milestone Jun 30, 2021
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.

2 participants