bear / parsedatetime

Parse human-readable date/time strings
Apache License 2.0
695 stars 106 forks source link

Fixing __init__.py so can build from pip #211

Closed phoebebright closed 7 years ago

phoebebright commented 7 years ago

If I build a fork from pip, I get the error:

  RuntimeError: Unable to find __email__ string.

I've fixed this in my fork by adding this in parsedatetime/init.py

  __email__ = 'bear@bear.im'
  __url__ = 'https://github.com/bear/parsedatetime'
  __download_url__ = 'https://github.com/bear/parsedatetime'
  __description__ = 'Parse human-readable date/time strings'

Not sure if this is the right info but it fixes the error.

bear commented 7 years ago

I am seeing this already in place - see https://github.com/bear/parsedatetime/blob/master/parsedatetime/__init__.py#L44

going to mark as not a bug