Modify ↓
Opened 14 years ago
Closed 14 years ago
#7521 closed defect (fixed)
ExtractUrlPlugin: setup.py doesn't work if you haven't already installed it
Reported by: | Paul Winkler | Owned by: | Martin Scharrer |
---|---|---|---|
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)
Note: See
TracTickets for help on using
tickets.
Thanks for reporting this issue. Fixed in [8393].