Modify ↓
#8298 closed defect (fixed)
Setup.py should have an install_requires listing for Pygments
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | TracPastePlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description (last modified by )
Since Pygments is still an optional package for Trac (1), we cannot be certain it will be installed prior to installing TracPastePlugin. This can cause install issues (2) that could have been fixed by easy_install, or an error would be issued during the install if installing as python setup.py install
.
I'm happy to commit the change if given permission of the current maintainer.
Attachments (0)
Change History (4)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Description: | modified (diff) |
---|---|
Owner: | changed from Michael Renzmann to Ryan J Ollos |
Status: | new → assigned |
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 Changed 14 years ago by
When installing as python setup.py install
, Pygments is now automatically installed:
Processing dependencies for TracPaste==0.2.1 Searching for Pygments Reading http://pypi.python.org/simple/Pygments/ Reading http://pygments.org/ Reading http://pygments.pocoo.org/ Best match: Pygments 1.3.1 Downloading http://pypi.python.org/packages/2.6/P/Pygments/Pygments-1.3.1-py2.6.egg#md5=05270ee059c038407364b28993980960 Processing Pygments-1.3.1-py2.6.egg creating /home/rjollos/Workspace/th8298/tracdev/plugins/Pygments-1.3.1-py2.6.egg Extracting Pygments-1.3.1-py2.6.egg to /home/rjollos/Workspace/th8298/tracdev/plugins Installing pygmentize script to /home/rjollos/Workspace/th8298/tracdev/plugins Installed /home/rjollos/Workspace/th8298/tracdev/plugins/Pygments-1.3.1-py2.6.egg
Note: See
TracTickets for help on using
tickets.
Replying to rjollos:
Yes, please go ahead.