← Back to team overview

agesys-dev team mailing list archive

[Bug 906007] Re: can't install on python 3

 

I have the same issues, namely because the setup.py file has some really
basic Python 3 compat mistakes.. here's a diff that fixes it:

53c53
<     print("cython not found, using previously-cython'd .c file.")
---
>     print "cython not found, using previously-cython'd .c file."
89c89
<         print(' '.join(args))
---
>         print ' '.join(args)
93c93
<             print('failed to execute', args[0])
---
>             print 'failed to execute', args[0]
96c96
<         return split_quoted(str(stdout).strip())
---
>         return split_quoted(stdout.strip())

-- 
You received this bug notification because you are a member of Agesys
Team, which is subscribed to oursql.
https://bugs.launchpad.net/bugs/906007

Title:
  can't install on python 3

Status in oursql:
  New

Bug description:
  the current py3k release of OurSQL seems to be a Win32 .exe file.

  Currently there's no obvious way to install OurSQL on Py3K and
  documentation should be added for what release/where/how.  There's no
  "Python :: 3" classifier up at
  http://pypi.python.org/pypi/oursql/0.9.3 so that is also a bug, if
  OurSQL supports Py3K.

  A naive "pip install oursql" in Python 3 produces:

  classics-MacBook-Pro:Downloads classic$  /Library/Frameworks/Python.framework/Versions/3.2/bin/pip install --upgrade oursql
  Downloading/unpacking oursql
    Downloading oursql-0.9.3.linux-i686.tar.gz (210Kb): 210Kb downloaded
    Running setup.py egg_info for package oursql
      Traceback (most recent call last):
        File "<string>", line 14, in <module>
      IOError: [Errno 2] No such file or directory: '/Users/classic/Downloads/build/oursql/setup.py'
      Complete output from command python setup.py egg_info:
      Traceback (most recent call last):

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

  IOError: [Errno 2] No such file or directory:
  '/Users/classic/Downloads/build/oursql/setup.py'

  ----------------------------------------
  Command python setup.py egg_info failed with error code 1
  Storing complete log in /Users/classic/.pip/pip.log

  (actually python 2 seems to be doing it too at the moment....)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oursql/+bug/906007/+subscriptions


References