Ticket #3773 (closed enhancement: fixed)

Opened 5 years ago

Last modified 8 months ago

Update BackLinksMacro to support egg plugin installation

Reported by: rekkanoryo@rekkanoryo.org Assigned to: trapanator
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, then svn 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

setup.py (0.8 kB) - added by rekkanoryo@rekkanoryo.org on 09/21/08 19:51:00.
setup.py containing setuptools info to create the egg
backlinks-readme-egg.diff (1.2 kB) - added by rekkanoryo@rekkanoryo.org on 09/21/08 19:53:17.
Patch to README to reflect packaging as an egg and installing as a single-file plugin

Change History

09/21/08 19:51:00 changed by rekkanoryo@rekkanoryo.org

  • attachment setup.py added.

setup.py containing setuptools info to create the egg

09/21/08 19:53:17 changed by rekkanoryo@rekkanoryo.org

  • attachment backlinks-readme-egg.diff added.

Patch to README to reflect packaging as an egg and installing as a single-file plugin

02/08/10 09:26:41 changed by trapanator

  • status changed from new to assigned.

02/08/10 09:27:20 changed by trapanator

marvellous. Today I've fixed some (OLD) bugs in SVN, if them are working to you all I'll apply your patches!

09/11/12 00:58:45 changed by rjollos

  • status changed from assigned to closed.
  • resolution set to fixed.

(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.

Add/Change #3773 (Update BackLinksMacro to support egg plugin installation)




Change Properties
Action