tag:github.com,2008:https://github.com/DefinetlyNotAI/PyCTools/releasesTags from PyCTools2025-08-16T23:05:24Ztag:github.com,2008:Repository/1033884389/0.3.0-beta2025-08-16T23:16:59Zv0.3.0-betaDefinetlyNotAItag:github.com,2008:Repository/1033884389/0.2.1-beta2025-08-13T14:08:33Zv0.2.1-beta<p>---</p>
<p>---</p>
<p>Here is the pip command:</p>
<p>```bash
<br />pip install <a href="https://github.com/DefinetlyNotAI/PyCTools/releases/download/0.2.1-beta/pyctools-0.2.1b0-py3-none-any.whl">https://github.com/DefinetlyNotAI/PyCTools/releases/download/0.2.1-beta/pyctools-0.2.1b0-py3-none-any.whl</a>
<br />```</p>
<p>---</p>
<p>This release addresses accidental inclusion of `__pycache__` in the main branch, adds minor quality-of-life improvements, and continues refactoring setup and distribution processes for better reliability and user experience.</p>
<p>**Highlights:**</p>
<p>* **Pycache Cleanup:** Re-added from git history and removed accidental `__pycache__` files; minor QoL improvements.
<br />* **Contribution Guidelines:** Added `CONTRIBUTING.md` to provide clear project contribution instructions.
<br />* **Setup Refactor:** Streamlined `setup.py`, implemented proper cleanup in `bdist_wheel` command, and improved error handling.
<br />* **Distribution Updates:** Updated `distributionHelper.ps1` and `.gitignore` to ensure consistent binary packaging and Windows support.
<br />* **Documentation Improvements:** README.md enhanced with installation instructions, wheel creation steps, and project structure details.</p>
<p>Additional minor updates include removal of example files (now documented in Wiki), restricting package usage to Windows, refactoring DLL loading logic, and updating entropy test results after critical bug fixes.</p>
<p>> [!NOTE]
<br />> This update has not changed how the library works, but rather QoL changes to documentation, and the developer experience</p>
<p>---</p>
<p>> [!IMPORTANT]
<br />> ## Attached will be a ZIP file that contains the built DLL's required by the python scripts,
<br />> YOU MUST keep the DLL structure the same: dist/{architecture_type}/{name}_{architecture_type}.dll
<br />>
<br />> You will still find the other generated files if you want to play around with them, attached is also the ZIP's hash if you want to check the validity
<br />>
<br />> This supports Windows - both the x86 (32-bit) and x64 (64-bit) architecture, and the python wrappers also auto-detect the required architecture to use for your system, so as long as the dist is available, all is good
<br />>
<br />> You can place the dist folder in the same directory as the Python library.</p>
<p>> [!TIP]
<br />> You can also just run the [tool/compilerHelper.ps1](<a href="https://github.com/DefinetlyNotAI/PyCTools/blob/main/tool/compilerHelper.ps1">https://github.com/DefinetlyNotAI/PyCTools/blob/main/tool/compilerHelper.ps1</a>) tool where as long as you have the cl.exe from Microsoft Visual Studio MSVC toolchain.
<br />>
<br />> You can just check the source code of the ps1 tool for the paths it checks for the files!</p>
<p>---</p>
<p>| File Name | Description | Notes |
<br />| --------------------------------- | ---------------------------------------------------- | --------------------------------------------------------------------- |
<br />| `dist.zip` | Compressed archive containing required binaries | Uses ZIP compression. Contains all DLLs needed for the Python wrapper |
<br />| `dist.zip.sha256` | SHA-256 hash file for verifying `dist.zip` integrity | Ensure file hasn't been tampered with or corrupted |
<br />| `pyctools-0.2.1b0-py3-none-any.whl` | WHL File for pip to install the library | Allows easy pip installation |</p>
<p>---</p>
<p>**Full Changelog**: <a href="https://github.com/DefinetlyNotAI/PyCTools/commits/0.2.1-beta">https://github.com/DefinetlyNotAI/PyCTools/commits/0.2.1-beta</a></p>DefinetlyNotAItag:github.com,2008:Repository/1033884389/0.2.0-beta2025-08-11T21:39:08Zv0.2.0-betaDefinetlyNotAI