Skip to content

Commit

Permalink
remove old mask api from setup
Browse files Browse the repository at this point in the history
  • Loading branch information
MiXaiLL76 committed Jun 23, 2024
1 parent bd77477 commit e287dcd
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,36 +129,6 @@ def get_extensions(version_info):
)
]

# sources = [
# "csrc/mask/common/maskApi.c",
# "csrc/mask/pycocotools/_mask.pyx",
# ]
# include_dirs = [np.get_include(), "csrc/mask/common"]

# print("Sources: {}".format(sources))
# print("Include: {}".format(include_dirs))

# ext_modules += [
# Extension(
# "faster_coco_eval.mask_api_cpp",
# sources=sources,
# include_dirs=include_dirs,
# extra_compile_args=(
# []
# if platform.system() == "Windows"
# else [
# "-Wno-cpp",
# "-Wno-unused-function",
# "-std=c99",
# "-O3",
# "-Wno-maybe-uninitialized",
# "-Wno-misleading-indentation",
# ]
# ),
# extra_link_args=[],
# )
# ]

return ext_modules


Expand Down

0 comments on commit e287dcd

Please sign in to comment.