Skip to content

setup.py fails on python 3.2 #16

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. run "pip install mimeparse" on python 3.2

What is the expected output? What do you see instead?

mimeparse should install, but it fails instead:

$ python --version
Python 3.2.2
$ pip --version
pip 1.1 from 
/home/vagrant/virtualenv/python3.2/lib/python3.2/site-packages/pip-1.1-py3.2.egg
 (python 3.2)
$ pip install mimeparse --use-mirrors
Downloading/unpacking mimeparse
  Real name of requirement mimeparse is mimeparse
  Downloading mimeparse-0.1.3.tar.gz
  Running setup.py egg_info for package mimeparse
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "/home/vagrant/virtualenv/python3.2/build/mimeparse/setup.py", line 1
        \ufeff# -*- coding: utf-8 -*-
          ^
    SyntaxError: invalid character in identifier
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

  File "/home/vagrant/virtualenv/python3.2/build/mimeparse/setup.py", line 1

    \ufeff# -*- coding: utf-8 -*-

      ^

SyntaxError: invalid character in identifier

What version of the product are you using? On what operating system?

mimeparse 0.1.3 on a travis CI build machine. full output is here: 
http://travis-ci.org/#!/martinblech/mimerender/jobs/1773477

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 4 Jul 2012 at 4:36

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions