File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9292 run : |
9393 mkdir -p python/cymbal
9494 cp binaries/* python/cymbal/
95- mv python/cymbal/setup.py .
95+ [ -f python/cymbal/setup.py ] && mv python/cymbal/setup.py . || echo "setup.py not found in binaries, using repo version"
9696
9797 - name : Build universal wheel
9898 run : |
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ dll_files = glob.glob("python/cymbal/pycymbal_go*")
118118
119119setup(
120120 name="py-cymbal",
121- version="0.1.15 ",
121+ version="0.1.16 ",
122122 description="Python bindings for Cymbal code indexing and symbol discovery",
123123 author="Cymbal Contributors",
124124 author_email="contact@example.com",
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"
88
99[project ]
1010name = " py-cymbal"
11- version = " 0.1.15 "
11+ version = " 0.1.16 "
1212description = " Python bindings for Cymbal code indexing and symbol discovery"
1313readme = " README.md"
1414requires-python = " >=3.7"
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def _load_binary():
1616 import importlib .util
1717 import platform
1818
19- pkg_dir = os .path .dirname (__file__ )
19+ pkg_dir = os .path .dirname (os . path . abspath ( __file__ ) )
2020 system = platform .system ().lower ()
2121 # Map platform to expected binary extensions
2222 ext_map = {
@@ -98,7 +98,7 @@ def _load_binary():
9898except Exception as e :
9999 # Diagnostic for Windows loading failures
100100 if sys .platform == "win32" and isinstance (e , ImportError ):
101- pkg_dir = os .path .dirname (__file__ )
101+ pkg_dir = os .path .abspath ( os . path . dirname (__file__ ) )
102102 go_dll = os .path .join (pkg_dir , "pycymbal_go.dll" )
103103 if os .path .exists (go_dll ):
104104 try :
Original file line number Diff line number Diff line change 88
99setup (
1010 name = "py-cymbal" ,
11- version = "0.1.15 " ,
11+ version = "0.1.16 " ,
1212 description = "Python bindings for Cymbal code indexing and symbol discovery" ,
1313 author = "Cymbal Contributors" ,
1414 author_email = "contact@example.com" ,
You can’t perform that action at this time.
0 commit comments