cuvis-il 3.4.0__py314-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cuvis_il/__init__.py +20 -0
- cuvis_il/_cuvis_pyil.pyd +0 -0
- cuvis_il/cuvis_il.py +3273 -0
- cuvis_il-3.4.0.dist-info/METADATA +144 -0
- cuvis_il-3.4.0.dist-info/RECORD +8 -0
- cuvis_il-3.4.0.dist-info/WHEEL +5 -0
- cuvis_il-3.4.0.dist-info/licenses/LICENSE +201 -0
- cuvis_il-3.4.0.dist-info/top_level.txt +1 -0
cuvis_il/__init__.py
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import platform
|
|
3
|
+
import sys
|
|
4
|
+
|
|
5
|
+
lib_dir = os.getenv("CUVIS")
|
|
6
|
+
if lib_dir is None:
|
|
7
|
+
print('CUVIS environmental variable is not set!')
|
|
8
|
+
sys.exit(1)
|
|
9
|
+
if platform.system() == "Windows":
|
|
10
|
+
os.add_dll_directory(lib_dir)
|
|
11
|
+
add_il = os.path.abspath(os.path.dirname(os.path.realpath(__file__)))
|
|
12
|
+
os.environ['PATH'] += os.pathsep + add_il
|
|
13
|
+
sys.path.append(str(add_il))
|
|
14
|
+
elif platform.system() == 'Linux':
|
|
15
|
+
os.environ['PATH'] = lib_dir + os.pathsep + os.environ['PATH']
|
|
16
|
+
else:
|
|
17
|
+
raise NotImplementedError('Invalid operating system detected!')
|
|
18
|
+
# sys.exit(1)
|
|
19
|
+
|
|
20
|
+
del os, platform, sys
|
cuvis_il/_cuvis_pyil.pyd
ADDED
|
Binary file
|