Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
VisualDL
提交
da716c85
V
VisualDL
项目概览
PaddlePaddle
/
VisualDL
大约 1 年 前同步成功
通知
88
Star
4655
Fork
642
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
5
Wiki
分析
仓库
DevOps
项目成员
Pages
V
VisualDL
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
5
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
da716c85
编写于
9月 26, 2018
作者:
N
Nicky Chan
提交者:
daminglu
9月 26, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Create README.md for Release VisualDL (#503)
上级
4cd48246
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
40 addition
and
0 deletion
+40
-0
docs/release/README.md
docs/release/README.md
+40
-0
未找到文件。
docs/release/README.md
0 → 100644
浏览文件 @
da716c85
# Release VisualDL to Pypi
To release VisualDL so that user can do
`pip install --upgrade visualdl`
, we need to upload the package to pypi.
## Prepare for release build
Make sure update
`VERSION_NUMBER`
and update new changes in RELEASE.md before starting building.
We support python2.7 and python3.6, here is the pypi link to show what pip packages we have: https://pypi.org/simple/visualdl/
Make sure
`build`
folder is removed everytime you start building. Following build instructions are assuming you are in MacOS environment:
## Build for MacOS
In VisualDL root path, run
`python setup.py bdist_wheel`
.
After built successfully you will see something like
`visualdl-1.2.0-cp27-cp27m-macosx_10_6_x86_64.whl`
in
`dist`
folder.
'cp27' means python version 2.7, macosx_10_6 means it support mac OS 10.6 and above.
Make sure we build for python2.7 and python3.6, use anaconda to create python version envrionment easily.
## Build for manylinux
To build for manylinux package, you need a manylinux docker image, please look at details in
https://github.com/PaddlePaddle/VisualDL/blob/develop/docs/release/build_manylinux.md
## Build for Windows
To build for windows, you need to have a windows machine and run
`python setup.py bdist_wheel`
as similar in building for MacOS.
## Upload the wheel package
Before uploading, make sure you test the package that you generated in dist folder by
`pip install --upgrade xx.whl`
and run
`visualdl`
to make sure everything is fine.
Before upload to the final pypi website, you can first upload it to a test repo
`https://testpypi.python.org/pypi`
and test the installation process.
```
shell
twine upload
--repository-url
https://test.pypi.org/legacy/ visualdl-
*
xx.whl
pip
install
--index-url
https://test.pypi.org/simple/ your-package
```
Use twine to upload the package to pypi.
```
shell
twine upload xx.whl
```
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录