Python Package made by Mhadhbi Issam .
Project description
Nimc
command line utilty in order to create Defold naitive extensions in Nim .
♠ Install
pip install nimc
♠ Getting started
open terminal in root path of defold project :
♠♠ Create Extension named ext :
nimc init ext
♠♠ Build project :
nimc build ext
♠♠ Add the extension to game.project
file :
under section library -> include dirs = /ext/ext
♠♠ Usage of naitive extension :
in any script file :
local result = ext.add(10,12)
print(result)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nimc-1.2.2.tar.gz
(7.7 kB
view details)
Built Distribution
nimc-1.2.2-py3-none-any.whl
(8.0 kB
view details)
File details
Details for the file nimc-1.2.2.tar.gz
.
File metadata
- Download URL: nimc-1.2.2.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a069ead3b1add3212dd524e0f6ee49f4b194af3eba4a67ebf3f29617abe9005 |
|
MD5 | 3a9a1917c699476b1f66c75460b15876 |
|
BLAKE2b-256 | 10e5186c61810a7dbcb0a3658345054d6fcb34797aaaacbbeebc28f39593fe9b |
File details
Details for the file nimc-1.2.2-py3-none-any.whl
.
File metadata
- Download URL: nimc-1.2.2-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 675b33d83ddb4d912161360cc1a467162eabbab4a232823f470932b2c21bab10 |
|
MD5 | a5109cc9df2a9aacd84eeb22d86c5656 |
|
BLAKE2b-256 | 30affc4f33f75baa3834dcbac30dd83ad4564c37c0957cedfe746b6c4c3bf4ac |