f
This commit is contained in:
parent
2097269f9e
commit
50a6034096
1 changed files with 2 additions and 6 deletions
|
@ -1,11 +1,7 @@
|
||||||
import bumpy, chroma, os, unicode, vmath
|
import bumpy, chroma, unicode, vmath
|
||||||
|
|
||||||
export bumpy, chroma, unicode, vmath
|
export bumpy, chroma, unicode, vmath
|
||||||
|
|
||||||
let
|
|
||||||
srcPath = currentSourcePath()
|
|
||||||
srcDir = srcPath.parentDir()
|
|
||||||
|
|
||||||
when defined(windows):
|
when defined(windows):
|
||||||
const dllPath = "pixie.dll"
|
const dllPath = "pixie.dll"
|
||||||
elif defined(macosx):
|
elif defined(macosx):
|
||||||
|
@ -13,7 +9,7 @@ elif defined(macosx):
|
||||||
else:
|
else:
|
||||||
const dllPath = "libpixie.so"
|
const dllPath = "libpixie.so"
|
||||||
|
|
||||||
{.push dynlib: srcDir / dllPath.}
|
{.push dynlib: dllPath.}
|
||||||
|
|
||||||
type PixieError = object of ValueError
|
type PixieError = object of ValueError
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue