-
Notifications
You must be signed in to change notification settings - Fork 105
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
Version "undefined" after install via PIP #60
Comments
Could not reproduce. Installing in clean venv results in Please report:
My assumption: your pypi/pip install is shadowed by a local installation..? |
Can't reproduce it either. The only way I can think of this could happen is if the code is run from a source tarball (not a git checkout) without running |
I'm observing the same problem after upgrading hydrachain:
|
@schmir: Stange. I just recreated your example in a clean virtualenv and don't get that problem. Could you run the following code in the same virtualenv: from pkg_resources import get_entry_info, get_distribution
from pprint import pprint
import hydrachain
print(hydrachain.__file__)
print(get_entry_info('hydrachain==0.3.0', 'console_scripts', 'hydrachain'))
pprint(get_distribution('hydrachain==0.3.0').__dict__) |
(Note the duplicate local/local in the first path) I have a directory ~/local/local, which looks like:
I'm pretty sure I didn't create that myself (I am not that drunk!). The check in hydrachain/init.py needs to resolve symlinks. I've previously used https://pypi.python.org/pypi/hgdistver (which is |
After an install with
pip install hydrachain
on a fresh env onLinux hostname 3.13.0-32-generic #57-Ubuntu
Expected: Version number reported
Experienced: 'undefined' was reported
The text was updated successfully, but these errors were encountered: