提交 86bec5e0 编写于 作者: K Kentaro Wada

Update setup.py

上级 8e45531d
......@@ -11,11 +11,6 @@ import sys
import github2pypi
if github2pypi.__file__ is None:
print('Please update submodule:\n\n\tgit submodule update --init')
sys.exit(1)
PY3 = sys.version_info[0] == 3
PY2 = sys.version_info[0] == 2
assert PY3 or PY2
......@@ -100,6 +95,11 @@ if sys.argv[1] == 'release':
sys.exit(0)
if not hasattr(github2pypi, '__file__'):
print('Please update submodule:\n\n\tgit submodule update --init')
sys.exit(1)
with open('README.md') as f:
long_description = github2pypi.replace_url(
slug='wkentaro/labelme', content=f.read()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册