Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#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 Ryan J Ollos)

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 in reply to:  description Changed 13 years ago by Michael Renzmann

Replying to rjollos:

I'm happy to commit the change if given permission of the current maintainer.

Yes, please go ahead.

comment:2 Changed 13 years ago by Ryan J Ollos

Description: modified (diff)
Owner: changed from Michael Renzmann to Ryan J Ollos
Status: newassigned

comment:3 Changed 13 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

(In [9677]) Added Pygments to required packages. Fixes #8298.

comment:4 Changed 13 years ago by Ryan J Ollos

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.