Skip to content

Commit

Permalink
ci: windows fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter-Barrow committed Aug 20, 2024
1 parent fdde3ed commit e009f81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ def building_on_github_actions():
"tangy._uqd",
sources=[os.path.join(cython_dir, "_uqd.py")],
define_macros=[('NPY_NO_DEPRECATED_API', 'NPY_1_7_API_VERSION')],
include_dirs=[base_path, base_path + '\\opt\\CTimeTag\\Win64\\'],
include_dirs=[get_include(), base_path + "\\opt\\CTimeTag\\Include\\"],
libraries=["CTimeTagLib"],
library_dirs=[get_include(), base_path + "\\opt\\CTimeTag\\Include\\"],
library_dirs=[base_path, base_path + '\\opt\\CTimeTag\\Win64\\'],
extra_link_args=['/d2:-AllowCompatibleILVersions'],
extra_compile_args=compiler_flags,
language="c++",
Expand Down
2 changes: 0 additions & 2 deletions tangy_src/_uqd.pxd
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from libcpp cimport bool
from libcpp.string cimport string

# cdef extern from "../opt/CTimeTag/Include/CTimeTag.h" namespace "TimeTag":
cdef extern from "CTimeTag.h" namespace "TimeTag":
cdef cppclass CTimeTag:
CTimeTag()
Expand Down Expand Up @@ -43,7 +42,6 @@ cdef extern from "CTimeTag.h" namespace "TimeTag":
void SetFG(int period, int high)


# cdef extern from "../opt/CTimeTag/Include/CLogic.h" namespace "TimeTag":
cdef extern from "CLogic.h" namespace "TimeTag":
cdef cppclass CLogic(CTimeTag):
CLogic(CTimeTag *interface)
Expand Down

0 comments on commit e009f81

Please sign in to comment.