1 Star 0 Fork 0

叶润源/HalpeCOCOAPI

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 840 Bytes
一键复制 编辑 原始数据 按行查看 历史
haoyiZhu 提交于 2021-08-28 15:53 +08:00 . init
from setuptools import setup, Extension
import numpy as np
# To compile and install locally run "python setup.py build_ext --inplace"
# To install library to Python site-packages run "python setup.py build_ext install"
ext_modules = [
Extension(
'halpecocotools._mask',
sources=['common/maskApi.c', 'halpecocotools/_mask.pyx'],
include_dirs = [np.get_include(), 'common'],
extra_compile_args=[],
)
]
setup(
name='halpecocotools',
packages = ['halpecocotools'],
package_dir = {'halpecocotools': 'halpecocotools'},
install_requires=[
'setuptools>=18.0',
'cython>=0.27.3',
'matplotlib>=2.1.0',
],
version='0.0.0',
description="COCO API for Halpe-Fullbody dataset",
url="https://github.com/HaoyiZhu/HalpeCOCOAPI",
ext_modules= ext_modules
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/SearchSource/HalpeCOCOAPI.git
git@gitee.com:SearchSource/HalpeCOCOAPI.git
SearchSource
HalpeCOCOAPI
HalpeCOCOAPI
master

搜索帮助