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)
♠ Tricks usage :
♠♠ avoid creating nested folders :
1- open terminal in defold project root path :
this will create folder called nim
conatin ext.nim
and info.yml
nimc new ext
2 - build the ext : this will create ext folder , which is defold extension
nimc build
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.1.8.tar.gz
(5.5 kB
view details)
Built Distribution
nimc-1.1.8-py3-none-any.whl
(5.2 kB
view details)
File details
Details for the file nimc-1.1.8.tar.gz
.
File metadata
- Download URL: nimc-1.1.8.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | acb6de54a5fcd9c8139b6b2576bc5ca0ffbefaf5da7158d4db13f0af6e8b9166 |
|
MD5 | abb0a8a453b0810b21c93af1d2e0be3a |
|
BLAKE2b-256 | 32be5c886571beab6b480d189da23325dc16d5f981a7d51e1a3aef3925cb0945 |
File details
Details for the file nimc-1.1.8-py3-none-any.whl
.
File metadata
- Download URL: nimc-1.1.8-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57687522cf7f1a20b6ede88f8e088a18f41d0c934cbda0057520454cbac8aeba |
|
MD5 | e342dde88a2904d308145d91e0b054e9 |
|
BLAKE2b-256 | 14fbfa491341020112f104081da2f88870807012766dbc4524e6fac60d285c3e |