Closed AdmiralNemo closed 2 years ago
I was seeing the exact the same error when attempting to install ToT on Fedora. Applying this locally makes setup python.py install
work as expected. Thanks.
@wardi Could you look into merging this tool. This project is really nice and this PR would help make it easier for people to use.
Perhaps we can also package it with pip?
If urwid is not yet installed when running
setup.py
, the following exception is raised:It is best not to rely on code being functional when
setup.py
is run. Thepkg_resources
module from setuptools provides an API for version discovery, which will do what you want in this case. I've made the necessary changes tosetup.py
andspeedometer.py
to fix this problem while still avoiding redundant version specifications.