linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #08139
[Branch ~dcplusplus-team/dc-plugin-sdk/trunk] Rev 25: Added some documentation for the python plugin
------------------------------------------------------------
revno: 25
committer: Fredrik Ullner <ullner@xxxxxxxxx>
branch nick: dc-plugin-sdk
timestamp: Sun 2014-06-29 18:50:07 +0200
message:
Added some documentation for the python plugin
added:
Doc/Python.txt
Examples/Python-Skeleton/copy.bat
--
lp:dc-plugin-sdk
https://code.launchpad.net/~dcplusplus-team/dc-plugin-sdk/trunk
Your team Dcplusplus-team is subscribed to branch lp:dc-plugin-sdk.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dc-plugin-sdk/trunk/+edit-subscription
=== added file 'Doc/Python.txt'
--- Doc/Python.txt 1970-01-01 00:00:00 +0000
+++ Doc/Python.txt 2014-06-29 16:50:07 +0000
@@ -0,0 +1,10 @@
+Edit Libraries/PythonPlugin/version.h with the correct plugin information there. This information will be used on installation.
+Compile Libraries/PythonPlugin/PythonPlugin.vcxproj in Release (does not work in Debug).
+Edit Examples/Python-Skeleton/info.xml with the correct plugin information there. This information will be used during runtime.
+The file Examples/Python-Skeleton/MyPlugin.py is the Python plugin: edit this accordingly. If another file name shall be used, change the File reference in the info.xml.
+Copy the following files to a separate directory "MyPlugin" (or run "copy.bat"):
+ Libraries/PythonPlugin/Release/PythonPlugin.dll
+ Libraries/PyPlugin.DataTypes/* (all files)
+ Examples/Python-Skeleton/info.xml
+ Examples/Python-Skeleton/MyPlugin.xml
+Zip the files to "MyPlugin.zip" and then change the name of the file to "MyPlugin.dcext".
\ No newline at end of file
=== added file 'Examples/Python-Skeleton/copy.bat'
--- Examples/Python-Skeleton/copy.bat 1970-01-01 00:00:00 +0000
+++ Examples/Python-Skeleton/copy.bat 2014-06-29 16:50:07 +0000
@@ -0,0 +1,5 @@
+mkdir MyPlugin
+xcopy info.xml MyPlugin\
+xcopy MyPlugin.py MyPlugin\
+xcopy ..\..\Libraries\PythonPlugin\Release\PythonPlugin.dll MyPlugin\
+xcopy ..\..\Libraries\PyPlugin.DataTypes\* MyPlugin\
\ No newline at end of file