diff options
author | Jelmer Vernooij <jelmer@jelmer.uk> | 2023-01-28 16:55:56 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@jelmer.uk> | 2023-02-10 17:47:03 +0000 |
commit | 496a0a483dd8629deaf7821c739b2b83c8e7d3d6 (patch) | |
tree | fc829e4d55d66082e48c0dcb0389b9f7efe377db /python/iso8601/setup.py | |
parent | e40507dfb292de805fcbd125594579c40e5165a8 (diff) | |
download | subunit-git-external-iso8601.tar.gz |
Rely on external copy of iso8601external-iso8601
Diffstat (limited to 'python/iso8601/setup.py')
-rw-r--r-- | python/iso8601/setup.py | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/python/iso8601/setup.py b/python/iso8601/setup.py deleted file mode 100644 index cdb61ec..0000000 --- a/python/iso8601/setup.py +++ /dev/null @@ -1,58 +0,0 @@ -try: - from setuptools import setup -except ImportError: - from distutils import setup - -long_description="""Simple module to parse ISO 8601 dates - -This module parses the most common forms of ISO 8601 date strings (e.g. -2007-01-14T20:34:22+00:00) into datetime objects. - ->>> import iso8601 ->>> iso8601.parse_date("2007-01-25T12:00:00Z") -datetime.datetime(2007, 1, 25, 12, 0, tzinfo=<iso8601.iso8601.Utc ...>) ->>> - -Changes -======= - -0.1.4 ------ - -* The default_timezone argument wasn't being passed through correctly, - UTC was being used in every case. Fixes issue 10. - -0.1.3 ------ - -* Fixed the microsecond handling, the generated microsecond values were - way too small. Fixes issue 9. - -0.1.2 ------ - -* Adding ParseError to __all__ in iso8601 module, allows people to import it. - Addresses issue 7. -* Be a little more flexible when dealing with dates without leading zeroes. - This violates the spec a little, but handles more dates as seen in the - field. Addresses issue 6. -* Allow date/time separators other than T. - -0.1.1 ------ - -* When parsing dates without a timezone the specified default is used. If no - default is specified then UTC is used. Addresses issue 4. -""" - -setup( - name="iso8601", - version="0.1.4", - description=long_description.split("\n")[0], - long_description=long_description, - author="Michael Twomey", - author_email="micktwomey+iso8601@gmail.com", - url="http://code.google.com/p/pyiso8601/", - packages=["iso8601"], - license="MIT", -) |