Message199764
| Author |
kousu |
| Recipients |
docs@python, kousu |
| Date |
2013年10月13日.19:09:30 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1381691371.24.0.619813163861.issue19248@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I'm running Arch. I just checked out python's hg and tried to build the docs, and found that I couldn't:
$ cd cpython/doc
$ make update
[lots of output stripped]
$ make pydoc-topics
mkdir -p build/pydoc-topics build/doctrees
python tools/sphinx-build.py -b pydoc-topics -d build/doctrees -D latex_paper_size= . build/pydoc-topics
Traceback (most recent call last):
File "tools/sphinx-build.py", line 27, in <module>
from sphinx import main
File "/home/kousu/pro/cpython/Doc/tools/sphinx/__init__.py", line 44
except ImportError, err:
^
SyntaxError: invalid syntax
make: *** [build] Error 1
I edited the Makefile to say PYTHON = python2
and then it worked. Is the assumption that python2 is still supposed to be the default python everywhere? Is python 3 not able to build itself yet?
[kousu@galleon Doc]$ pacman -Qi python
Name : python
Version : 3.3.2-2
Description : Next generation of the python high-level scripting language
Architecture : x86_64
URL : http://www.python.org/
Licenses : custom
Groups : None
Provides : python3
Depends On : expat bzip2 gdbm openssl libffi zlib
Optional Deps : tk: for tkinter [installed]
sqlite [installed]
Required By : cython ipython ktoblzcheck libreoffice-common python-cairo python-dateutil python-dbus python-markupsafe
python-numpy python-pyparsing python-pytz python-pyzmq python-setuptools python-sip python-six python-sympy
python-tornado python-xdg ranger youtube-dl
Optional For : systemd
Conflicts With : None
Replaces : python3
Installed Size : 86980.00 KiB
Packager : Bart
Build Date : Fri Sep 6 03:31:57 2013
Install Date : Tue Sep 17 10:29:36 2013
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年10月13日 19:09:31 | kousu | set | recipients:
+ kousu, docs@python |
| 2013年10月13日 19:09:31 | kousu | set | messageid: <1381691371.24.0.619813163861.issue19248@psf.upfronthosting.co.za> |
| 2013年10月13日 19:09:31 | kousu | link | issue19248 messages |
| 2013年10月13日 19:09:30 | kousu | create |
|