feat: Removed CPython separate compilation

+ Upgraded to Python 3.13
+ Added constants to g2o library for auto-completion
This commit is contained in:
AURUMVORXX
2024-11-25 04:56:46 +03:00
parent 8efb8c2125
commit d779d0a661
21 changed files with 175 additions and 109 deletions

View File

@@ -1,6 +1,8 @@
## How to use
1. Install [Python 3.13](https://www.python.org/downloads/release/python-3130/)
*Optionally, for Windows instead of installing Python, you can download Windows embeddable package from Python download page, and extract ZIP into your server folder*
1. Download latest module version from the **Release** page
2. Unzip downloaded archive into your server directory (you should now have **PyG2O.xYY.dll**, **python312.dll**, **libs/** and **g2o/** in your root server directory, or similar `.so` files if you're using linux)
2. Unzip downloaded archive into your server directory (you should now have **PyG2O.xYY.dll** and **g2o/** in your root server directory, or similar `.so` file if you're using linux)
3. Place .DLL module in the place you want and connect it with **config.xml**
```xml
<module src="PyG2O.x64.dll" type="server" />

View File

@@ -1,9 +1,9 @@
## QnA
### 1. Do I need to install Python to use it?
No, Python interpreter is already inside the module and will run your code as normal, if you installed and connected the module properly.
Yes.
### 2. Can I use external Python libraries?
Yes, but you need to put them inside ``lib/`` folder in your server root directory.
Yes, you can install it as usual (for example, via *pip*)
### 3. Can I use it as client-side module?
No, it doesn't support any client-side functionality, and there's no plans to add it for now due to security reasons and technical difficulties with client-side C++ modules.