Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
MindSpore
mindinsight
提交
ffbdca48
M
mindinsight
项目概览
MindSpore
/
mindinsight
通知
7
Star
3
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
mindinsight
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ffbdca48
编写于
4月 18, 2020
作者:
M
mindspore-ci-bot
提交者:
Gitee
4月 18, 2020
浏览文件
操作
浏览文件
下载
差异文件
!37 Update setup.py and add more package info
Merge pull request !37 from leonwanghui/update
上级
8d2ec02f
22248210
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
49 addition
and
20 deletion
+49
-20
setup.py
setup.py
+49
-20
未找到文件。
setup.py
浏览文件 @
ffbdca48
...
...
@@ -118,6 +118,7 @@ def run_script(script):
class
EggInfo
(
egg_info
):
"""Egg info."""
def
run
(
self
):
self
.
build_dependencies
()
...
...
@@ -142,6 +143,7 @@ class EggInfo(egg_info):
class
BuildPy
(
build_py
):
"""Build py files."""
def
run
(
self
):
mindinsight_lib_dir
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'build'
,
'lib'
,
'mindinsight'
)
shutil
.
rmtree
(
mindinsight_lib_dir
,
ignore_errors
=
True
)
...
...
@@ -153,6 +155,7 @@ class BuildPy(build_py):
class
Install
(
install
):
"""Install."""
def
run
(
self
):
super
().
run
()
...
...
@@ -168,23 +171,49 @@ if __name__ == '__main__':
sys
.
stderr
.
write
(
'Python version should be at least 3.7
\r\n
'
)
sys
.
exit
(
1
)
setup
(
name
=
'mindinsight'
,
version
=
get_version
(),
author
=
'MindInsight Team'
,
description
=
get_description
(),
license
=
'Apache 2.0'
,
keywords
=
'mindinsight'
,
install_requires
=
get_install_requires
(),
packages
=
[
'mindinsight'
],
platforms
=
[
get_os
()],
include_package_data
=
True
,
cmdclass
=
{
'egg_info'
:
EggInfo
,
'build_py'
:
BuildPy
,
'install'
:
Install
,
},
entry_points
=
{
'console_scripts'
:
[
'mindinsight=mindinsight.utils.command:main'
,
],
})
setup
(
name
=
'mindinsight'
,
version
=
get_version
(),
author
=
'The MindSpore Authors'
,
author_email
=
'contact@mindspore.cn'
,
url
=
'https://www.mindspore.cn'
,
download_url
=
'https://gitee.com/mindspore/mindinsight/tags'
,
project_urls
=
{
'Sources'
:
'https://gitee.com/mindspore/mindinsight'
,
'Issue Tracker'
:
'https://gitee.com/mindspore/mindinsight/issues'
,
},
description
=
get_description
(),
packages
=
[
'mindinsight'
],
platforms
=
[
get_os
()],
include_package_data
=
True
,
cmdclass
=
{
'egg_info'
:
EggInfo
,
'build_py'
:
BuildPy
,
'install'
:
Install
,
},
entry_points
=
{
'console_scripts'
:
[
'mindinsight=mindinsight.utils.command:main'
,
],
},
python_requires
=
'>=3.7'
,
install_requires
=
get_install_requires
(),
classifiers
=
[
'Development Status :: 4 - Beta'
,
'Environment :: Console'
,
'Environment :: Web Environment'
,
'Intended Audience :: Science/Research'
,
'Intended Audience :: Developers'
,
'License :: OSI Approved :: Apache Software License'
,
'Programming Language :: Python :: 3 :: Only'
,
'Programming Language :: Python :: 3.7'
,
'Programming Language :: Python :: 3.8'
,
'Topic :: Scientific/Engineering'
,
'Topic :: Scientific/Engineering :: Artificial Intelligence'
,
'Topic :: Software Development'
,
'Topic :: Software Development :: Libraries'
,
'Topic :: Software Development :: Libraries :: Python Modules'
,
],
license
=
'Apache 2.0'
,
keywords
=
'mindinsight'
,
)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录