python 3.3 unhappy with setup.py
Bug #1208910 reported by
Alex Conley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dateutil |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Python 3.3 doesn't like the setup.py file, specifically the UTF-8 characters in author
if your default encoding doesn't support unicode. It works fine in python 3.2.
This is easy to fix though, since in python 3.0+ there is an optional encoding argument.
For example (in setup.py):
import sys
major, minor1, minor2, release, serial = sys.version_info
if major >= 3:
f = open(TOPDIR + "/dateutil/
else:
f = open(TOPDIR + "/dateutil/
VERSION = re.search(
f.close()
With this, python-dateutil installs fine on python 3.3 (or 3.2)
and passes the tests.
To post a comment you must log in.
This affects the use of matplotlib on Python 3.3.
http:// github. com/matplotlib/ matplotlib/ issues/ 2373