Modify

Opened 4 years ago

Closed 4 years ago

#7521 closed defect (fixed)

ExtractUrlPlugin: setup.py doesn't work if you haven't already installed it

Reported by: slinkp Owned by: martin_s
Priority: normal Component: ExtractUrlPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Your setup.py contains this:

from tracextracturl.extracturl import __revision__ as coderev
from tracextracturl.macro      import __revision__ as macrorev

setup.py should never import from your package. If you're lucky it works, but this can cause a host of problems. For one, pip can't determine the dependencies of your plugin unless everything your plugin imports is already installed, which makes installing a little difficult...

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by martin_s

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

Thanks for reporting this issue. Fixed in [8393].

Add Comment

Modify Ticket

Action
as closed The owner will remain martin_s.
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.