Commit 224df0c
committed
IECore module : Add DLL directory for DLL dependencies
This fixes `scons testCorePython` and provides a mechanism for folks to fix
imports in their own environments.
At first I tried to just hardcode the directory to match the directory
layout used by Gaffer, using a path relative to `__file__`. But that didn't
work, because when we run `scons testCorePython`, we haven't installed the IECore
module yet (we test it in place in the local dir). The `IECORE_DLL_DIRECTORIES`
environment variable was the only other option I could see, and I suppose it
at least gives folks a hand if they have their own installation layouts.1 parent 045266c commit 224df0c
2 files changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1496 | 1496 | | |
1497 | 1497 | | |
1498 | 1498 | | |
| 1499 | + | |
1499 | 1500 | | |
1500 | 1501 | | |
1501 | 1502 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
59 | 66 | | |
60 | | - | |
| 67 | + | |
61 | 68 | | |
62 | 69 | | |
63 | 70 | | |
| |||
0 commit comments