mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-09 19:52:37 +01:00
Added __url__ to the default stuff generated by supybot-newplugin.
This commit is contained in:
parent
bc49542d41
commit
5fe4730dcb
@ -150,6 +150,9 @@ __author__ = supybot.authors.unknown
|
|||||||
# contributions.
|
# contributions.
|
||||||
__contributors__ = {}
|
__contributors__ = {}
|
||||||
|
|
||||||
|
# This is a url where the most recent plugin package can be downloaded.
|
||||||
|
__url__ = '' # 'http://supybot.com/Members/yourname/%s/download'
|
||||||
|
|
||||||
import config
|
import config
|
||||||
import plugin
|
import plugin
|
||||||
reload(plugin) # In case we\'re being reloaded.
|
reload(plugin) # In case we\'re being reloaded.
|
||||||
@ -255,7 +258,7 @@ def main():
|
|||||||
writeFile('plugin.py', pluginTemplate % (copyright, name,
|
writeFile('plugin.py', pluginTemplate % (copyright, name,
|
||||||
name, threaded, name))
|
name, threaded, name))
|
||||||
writeFile('config.py', configTemplate % (copyright, name, name, name, name))
|
writeFile('config.py', configTemplate % (copyright, name, name, name, name))
|
||||||
writeFile('__init__.py', __init__Template % copyright)
|
writeFile('__init__.py', __init__Template % (copyright, name))
|
||||||
writeFile('test.py', testTemplate % (copyright, name, name))
|
writeFile('test.py', testTemplate % (copyright, name, name))
|
||||||
writeFile('README.txt', readmeTemplate)
|
writeFile('README.txt', readmeTemplate)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user