linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #08147
[Branch ~dcplusplus-team/dc-plugin-sdk/trunk] Rev 29: Update documentation for Python
------------------------------------------------------------
revno: 29
committer: Fredrik Ullner <ullner@xxxxxxxxx>
branch nick: dc-plugin-sdk
timestamp: Mon 2014-06-30 00:21:03 +0200
message:
Update documentation for Python
modified:
Doc/Python.txt
--
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
=== modified file 'Doc/Python.txt'
--- Doc/Python.txt 2014-06-29 17:06:46 +0000
+++ Doc/Python.txt 2014-06-29 22:21:03 +0000
@@ -1,18 +1,20 @@
Edit Libraries/PythonPlugin/version.h with the correct plugin information there. This information will be used on installation.
-Edit Libraries/PythonPlugin/PythonPlugin.vcxproj to use the correct Python version. Change any corresponding paths for Python as well.
-
-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.
+Edit Libraries/PythonPlugin/PythonPlugin_27.vcxproj to use the correct Python version (unless it is already supplied in this package). Change any corresponding paths for Python as well.
+
+Compile Libraries/PythonPlugin/PythonPlugin_27.vcxproj in Release (does not work in Debug).
+
+Edit Examples/Python-Skeleton/info_27.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
+Copy the following files to a separate directory "MyPlugin" (or run "copy_27.bat"):
+ Libraries/PythonPlugin/Release/PythonPlugin_27.dll
Libraries/PyPlugin.DataTypes/* (all files)
- Examples/Python-Skeleton/info.xml
+ Examples/Python-Skeleton/info_27.xml
Examples/Python-Skeleton/MyPlugin.xml
- C:/Windows/SysWOW64/Python27.dll (or whatever version you are using)
-
-Zip the files to "MyPlugin.zip" and then change the name of the file to "MyPlugin.dcext".
\ No newline at end of file
+ C:/Windows/SysWOW64/Python27.dll
+
+Zip the files to "MyPlugin.zip" and then change the name of the file to "MyPlugin.dcext".
+
+There are different Python versions already supplied in this package. If you add support for a different version, be sure to add all of the aforementioned files, too, since it will greatly help you and others.
\ No newline at end of file