1 Star 0 Fork 0

liuqiang123456789/pyflow

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 711 Bytes
一键复制 编辑 原始数据 按行查看 历史
# Author: Deepak Pathak (c) 2016
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
# from __future__ import unicode_literals
from distutils.core import setup
from Cython.Build import cythonize
from distutils.extension import Extension
from glob import glob
import numpy
sourcefiles = ['pyflow.pyx', ]
sourcefiles.extend(glob("src/*.cpp"))
extensions = [Extension("pyflow", sourcefiles, include_dirs=[numpy.get_include()])]
setup(
name="pyflow",
version="1.0",
description="Python wrapper for the Coarse2Fine Optical Flow code.",
author="Deepak Pathak",
ext_modules=cythonize(extensions),
include_dirs=[numpy.get_include()]
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/liuqiang123456789/pyflow.git
git@gitee.com:liuqiang123456789/pyflow.git
liuqiang123456789
pyflow
pyflow
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385