Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Jan 17, 2019
1 parent 8e45531 commit 86bec5e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@
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
Expand Down Expand Up @@ -100,6 +95,11 @@
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()
Expand Down

0 comments on commit 86bec5e

Please sign in to comment.