this release fixes a defect where we were naively stripping timezone data which is only a valid strategy if the local timezone equals the timezone set in the datetime object. Special thanks to Chad Birch for the defect report, patch, and tests. changed setup.py
23 lines
694 B
Python
23 lines
694 B
Python
# installation: pip install ago
|
|
|
|
from setuptools import setup
|
|
|
|
setup(
|
|
name="ago",
|
|
version="0.0.93",
|
|
description="ago: Human readable timedeltas",
|
|
keywords="ago human readable time deltas timedelta datetime timestamp",
|
|
long_description=open("README.rst").read(),
|
|
author="Russell Ballestrini",
|
|
author_email="russell@ballestrini.net",
|
|
url="https://bitbucket.org/russellballestrini/ago/src",
|
|
platforms=["All"],
|
|
license="Public Domain",
|
|
py_modules=["ago"],
|
|
include_package_data=True,
|
|
)
|
|
|
|
# setup keyword args: http://peak.telecommunity.com/DevCenter/setuptools
|
|
|
|
# built and uploaded to pypi with this:
|
|
# python setup.py sdist bdist_egg register upload
|