bmc / fortune

Python Fortune Program
http://software.clapper.org/fortune/
Apache License 2.0
69 stars 20 forks source link

Installation fails. #1

Closed whitelynx closed 13 years ago

whitelynx commented 13 years ago

With both easy_install and running setup.py manually, I receive the following traceback:

Traceback (most recent call last): File "setup.py", line 41, in info = load_info() File "setup.py", line 38, in load_info result['long_description'] = DESCRIPTION NameError: global name 'DESCRIPTION' is not defined

Adding a default DESCRIPTION value to setup.py fixes it, but I'm pretty sure we shouldn't be hitting the 'except' clause on line 37, so there may also be a better fix possible.

bmc commented 13 years ago

I'll take a look at this. Thanks. It has to be a stupid error on my part.

bmc commented 13 years ago

I cannot get that exception to occur here, but I must have run into it at one point, because the exact fix you suggested was sitting, uncommitted, on my Ubuntu machine. I've checked it in and released version 0.5.2. Since it only affects the long description (which people rarely seem to read anyway), I'm not inclined spend a lot of time debugging it. I'll stick with the hack solution.

whitelynx commented 13 years ago

Thanks, that fixed it!