1 Star 0 Fork 3

djy1989/ezdxf

forked from averagePerson/ezdxf 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
makefile.template 1.02 KB
一键复制 编辑 原始数据 按行查看 历史
# Copyright (c) 2020, Manfred Moitzi
# License: MIT License
# For Windows is an installation of MSYS or MinGW required and their "/bin"
# folders have to be added to the PATH environment variable.
# Copy this template to "makefile" and modify it to your needs,
# or use "make -f makefile.template <target>"
# The generic "makefile" is not tracked by git.
BUILD_OPTIONS = setup.py build_ext -i
ACC = src/ezdxf/acc
# For Windows:
# PYTHON3 = py
# For Linux:
PYTHON3 = python3
.PHONY: build test0 test1 clean sdist bdist packages
build:
$(PYTHON3) $(BUILD_OPTIONS)
test0: build
$(PYTHON3) -m pytest tests
test1: test0
$(PYTHON3) -m pytest integration_tests
clean:
rm -f $(ACC)/*.pyd
rm -f $(ACC)/*.html
rm -fR ./build
# Autogenerated C source files
rm -f $(ACC)/vector.cpp
rm -f $(ACC)/matrix44.cpp
rm -f $(ACC)/bezier4p.cpp
rm -f $(ACC)/bezier3p.cpp
rm -f $(ACC)/bspline.cpp
rm -f $(ACC)/construct.cpp
sdist: clean
$(PYTHON3) setup.py sdist --formats=zip
bdist: clean
$(PYTHON3) setup.py bdist_wheel
packages: sdist bdist
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/djy1989/ezdxf.git
git@gitee.com:djy1989/ezdxf.git
djy1989
ezdxf
ezdxf
master

搜索帮助