ftldat
ftldat copied to clipboard
python setup.py install not working
full log of error:
Calebs-Mac:ftldat-master caleb$ python setup.py install
Traceback (most recent call last):
File "setup.py", line 8, in
Did you use git or did you download a ZIP from github?
download ZIP
On Sun, Mar 8, 2015 at 4:21 AM, Bas Westerbaan [email protected] wrote:
Did you use git or did you download a ZIP from github?
— Reply to this email directly or view it on GitHub https://github.com/bwesterb/ftldat/issues/2#issuecomment-77740521.
'describe' wasn't working for me, so i changed it to '--version'... like so:
$ diff get_git_version.py.old get_git_version.py
41c41
< p = Popen(['git', 'describe', '--abbrev=%d' % abbrev],
---
> p = Popen(['git', '--version', '--abbrev=%d' % abbrev],
and it worked! :)
There's function get_git_version() that reads file "RELEASE-VERSION", which is missing and call
Popen(['git', 'describe', '--abbrev=%d' % abbrev],
stdout=PIPE, stderr=PIPE)
assumes you have a git command line installed and, actually, git project cloned locally. I'd recommend to move that into a param file or global variables. Or update dependencies. [EDIT] Well you can't add it to dependencies and have it working since get_git_version is called before dependencies are checked (probably)
This is a terrible installation instructions