Skip to content

Instantly share code, notes, and snippets.

View Goldac77's full-sized avatar
๐Ÿ˜‹

Nicholas Amemazior Goldac77

๐Ÿ˜‹
  • Accra, Ghana
  • 17:19 (UTC)
View GitHub Profile
@Goldac77
Goldac77 / build_module.py
Created February 8, 2024 23:18 — forked from thekaushikls/build_module.py
compile .py to .dll
#!/usr/bin/env ipy
# -*- coding: utf-8 -*-
"""
This script collects all python scripts (.py) from the project (including sub-folders) and compiles them into a dynamic link library (.dll) file. File will be placed inside the 'bin' folder. Place this file in the root directory of a project, prior to execution.
Note:
This script uses the Common Language Runtime Library (CLR). Use IronPython for execution.
Download IronPython 2.7.9 from https://github.com/IronLanguages/ironpython2/releases/tag/ipy-2.7.9