This commit is contained in:
Ryan Oldenburg 2021-08-26 13:29:15 -05:00
parent 2097269f9e
commit 50a6034096

View file

@ -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