Opened 16 years ago
Closed 12 years ago
#3773 closed enhancement (fixed)
Update BackLinksMacro to support egg plugin installation
Reported by: | John Bailey | Owned by: | Trap |
---|---|---|---|
Priority: | normal | Component: | BackLinksMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
I don't see 'patch' as a ticket type here, so I'm using enhancement. Sorry if that's incorrect.
The point of this ticket is to post the changes I made to be able to package the BackLinksMacro as a python egg. The changes are as follows, since svn diff doesn't convey svn mv
:
svn mkdir 0.11/BackLinksMacro
svn mv 0.11/BackLinks.5.py 0.11/BackLinksMacro/macro.py
- (optional)
touch 0.11/BackLinks/__init__.py && svn add 0.11/BackLinks/__init__.py
- place the attached setup.py in
0.11
, thensvn add 0.11/setup.py
- apply backlinks-readme-egg.diff
- (optional) change the version number in
0.11/BackLinksMacro/macro.py
to 5.6.
Of course the egg method is merely a convenience to show author, homepage, and license information in the adminsitration interface, so I'm happy to maintain the egg stuff for my own use if you prefer not to have it. :)
Attachments (2)
Change History (5)
Changed 16 years ago by
Changed 16 years ago by
Attachment: | backlinks-readme-egg.diff added |
---|
Patch to README to reflect packaging as an egg and installing as a single-file plugin
comment:1 Changed 15 years ago by
Status: | new → assigned |
---|
comment:2 Changed 15 years ago by
marvellous. Today I've fixed some (OLD) bugs in SVN, if them are working to you all I'll apply your patches!
comment:3 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [11968] Fixes #3773 (7.0dev)
- Macro is now packaged for installation as an egg. Thanks to rekkanoryo@rekkanoryo.org for the initial patch.
- Removed some unused imports.
- Minor refactoring of the macro.
setup.py containing setuptools info to create the egg