installation issues with python3 + pipenv/pip from sourceforge SVN

Cédric Van Rompay <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <CAJKLPhyYVRFFSoAdScMo7wTq3jHOVESzrMasUWRcy2PjkAYT4A@mail.gmail.com>
Hi,

In a previous email [1] I mentioned the following command to install
docutils using pipenv from the sourceforge SVN repo:

    pipenv install -e
svn+https://svn.code.sf.net/p/docutils/code/trunk/docutils#egg=docutils

Well actually it does not work. When I try to import docutils I get:

    NameError: name 'StandardError' is not defined

From a quick Google search this is an issue of Python 2 to Python 3
conversion (I am using Python 3).

Previously I was using pipenv and Python 3 but getting the code from
the Pypi repos and had no such problem.

My guess would be that pip (same problem if using pip instead of
pipenv, here pipenv simply calls pip) runs the "setup.py" with the
Python 2 runtime and not the Python 3 one. This would be a bit
surprising though, as my pip explicitly uses Python 3:

    $ pip --version
    pip 10.0.1 from
/home/cedric/.local/share/virtualenvs/docutils-from-sourceforge-UNMQpB5a/lib/python3.6/site-packages/pip
(python 3.6)

Any idea how to fix that ?

Or alternatively, do you know when the Pypi repository will be updated
to revision >=8217 ?

[1]: https://sourceforge.net/p/docutils/mailman/docutils-users/thread/CAJKLPhz%2Bi3qfCXdD%3DKeC_0s7tJ%3D9x5nP8MDwnD-EJCTHkAetwg%40mail.gmail.com/#msg36338595

Regards,

-- 
Cédric Van Rompay
+33631475604
cedricvanrompay.fr

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Docutils-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.