File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# BGE 开放平台 Makefile 工具
22
33PYTHON =` which python `
4+ PIP = ` which pip `
45
56install :
67 $(PYTHON ) setup.py install
78
89# 构建源码包
910build :
10- $(PYTHON ) setup.py bdist_wheel
11- $(PYTHON ) setup.py sdist
11+ python -m build
1212
1313# 单元测试
1414test :
15- pip install pytest pytest-cov; \
15+ $( PIP ) install pytest pytest-cov; \
1616 chmod +x ./test_env.sh; \
1717 ./test_env.sh
1818
1919upload-test :
20- pip install twine; \
20+ $( PIP ) install twine; \
2121 twine upload --repository-url https://test.pypi.org/legacy/ dist/*
2222
2323upload :
24- pip install twine; \
24+ $( PIP ) install twine; \
2525 twine upload dist/*
2626
2727changelog :
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ url = https://github.com/teambge/bge-python-sdk
1010author = leafcoder,xiangji1204
1111author_email = leafcoder@gmail.com,xiangji1204@genomics.cn
1212license = MIT
13- license_file = LICENSE
13+ license_files = LICENSE
1414keywords = bge-python-sdk bge bgesdk sdk
1515classifiers =
1616 Development Status :: 5 - Production/Stable
You can’t perform that action at this time.
0 commit comments