Skip to content

Commit 245b776

Browse files
author
苍之幻灵
committed
Edit the readme file
1 parent 87d138e commit 245b776

3 files changed

Lines changed: 13 additions & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ publish:
1010
rm -fr ./dist
1111
"${MAYA_PY}" -m pip install 'twine>=1.5.0'
1212
"${MAYA_PY}" setup.py sdist bdist_wheel
13-
"${MAYA_PY}" -m twine upload --repository testpypi dist/*
13+
"${MAYA_PY}" -m twine upload --repository pypi dist/*

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ OpenMaya api 封装
1414

1515
### 快速开始
1616

17+
#### 如果你的Maya有pip那么
18+
19+
```commandline
20+
cd "C:\Program Files\Autodesk\Maya2022\bin"
21+
mayapy -m pip install cpapi
22+
```
23+
24+
#### 如果没有
25+
1726
1. 打开C:\Users\PC\Documents\maya文件夹
1827
2. 进入scripts文件夹,如果没有就创建它
1928
3. 下载完整的cpapi代码
@@ -99,7 +108,9 @@ test selected>> <generator object <genexpr> at 0x000001CE9AFD23A8>
99108
```
100109

101110
#### 工具集模块
111+
102112
工具集模块就是字面意思,一堆工具函数
113+
103114
```python
104115
from __future__ import unicode_literals, print_function
105116

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setuptools.setup(
1010
name="cpapi",
11-
version="0.9.0",
11+
version="1.0.0",
1212
author="cpcgskill",
1313
author_email="cpcgskill@outlook.com",
1414
description="OpenMaya api 封装",

0 commit comments

Comments
 (0)