Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#8298 closed defect (fixed)

Setup.py should have an install_requires listing for Pygments

Reported by: rjollos Owned by: rjollos
Priority: normal Component: TracPastePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (last modified by rjollos)

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 4 years ago by otaku42

Replying to rjollos:

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

Yes, please go ahead.

comment:2 Changed 4 years ago by rjollos

  • Description modified (diff)
  • Owner changed from otaku42 to rjollos
  • Status changed from new to assigned

comment:3 Changed 4 years ago by rjollos

  • Resolution set to fixed
  • Status changed from assigned to closed

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

comment:4 Changed 4 years ago by rjollos

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.