setup.py build_sphinx is broken

Bug #1035061 reported by Stephen Turnbull
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GNU Mailman
Incomplete
Low
Unassigned

Bug Description

Like this:

steve@turnbull:~/src/Mailman3/mailman-trunk$ python setup.py build_sphinx
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'build_sphinx'

For more information (version, configuration, and build log), see Bug #1035057.

Tags: mailman3
tags: added: mailman3
Revision history for this message
Barry Warsaw (barry) wrote :

That commands comes with distribute, but not setuptools. Can you tell me, are you on a Debian or Ubuntu (or other Debian-based) OS? If so, I don't know what's going on, but if not, I suspect the problem is the line:

from setuptools import setup, find_packages

On Debian, setuptools is really distribute, so it all works, but on non-Debian derived systems, this is probably broken.

Changed in mailman:
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Mikhail Titov (mtitov) wrote :

This might be fixed by sudo apt-get install python-sphinx .
I had this issue with my own package before I figured out that I did not have sphinx installed. This works on Ubuntu 13.04 with both setuptools & distuitils. I suggest to close this bug as invalid.

Revision history for this message
Abhilash Raj (raj-abhilash1) wrote :

This bug has been moved to the new gitlab repo here: https://gitlab.com/mailman/mailman/issues/46

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.