Skip to content

Commit

Permalink
Wait for it 38 issue installer broken (#39)
Browse files Browse the repository at this point in the history
* added try except clause to file reads
  • Loading branch information
studioj committed Sep 6, 2019
1 parent 3390600 commit ec6088a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ after_success:
deploy:
provider: pypi
user: studioj
distributions: sdist bdist_wheel
distributions: sdist
password:
secure: U6RZoxVrzakjSwAeFwgkLGTGhuUxS26OXJ3YiWIlhdSmKQJmcjDOjHbH/OQ7YkdSeci0YkyQD7CdbLDPwutYvfK0IHBvbkC6eQFmbfE3b/8v2rEXSi1ndgAinXAx0Ai23XzA13DxPBjjRNioATIHggKuzC7bE1KCu6f11sy0emBW+qhGuamOQx3dDoXjjYDlmnOg+x01Ut9MCFSqEe6IJlfq6CzhaRwiOH19MmPbYDliYeqDyg0NT1vCzFNMAmgFyJilCKtLjMBYi9NgXyLXEx5+hXJ5uPsoYZ+kMVIEqb59ch5gL7d5xSigrD9Zued5bj6w8HigZasZYLJwe+oaGtc+ZZ8PgId11uIozF2ybIE1nMvpzdIpr0E17BDuki5nt83rCztEw1vNoLHo7rLn2myzd6Nob5axX91n00Ujsxhz77rPmWDLMFUTgdi1Q7/iJrot2duwLnd4dOmTkw1KRaKXSDJlYWkw7aymz1OZmDM1aosccvdwggTXBXcv2moEbLGnNpUW+udCJxR/rjPCWi9zCUtJFabUO8P/6u/I52IbUYBri70YL/tuVrTPxKeLpyhId5hwMjpH9kFr/QtsGy48UilTm1kaxKIiw+mP6z4Ko4FNnjCz9fwaVHyH00+RL2ebINWElGUmDMqVE3BtS5U8+TxTJ9b78/6Lz8H3yug=
on:
Expand Down
13 changes: 9 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@
from wait_for_it_to import __version__

version = __version__
long_description = ""
test_requirements = []

this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md')) as f:
long_description = f.read()
with open('test_requirements.txt') as f:
test_requirements = f.read().splitlines()
try:
with open(path.join(this_directory, 'README.md')) as f:
long_description = f.read()
with open('test_requirements.txt') as f:
test_requirements = f.read().splitlines()
except FileNotFoundError:
pass

setup(
name="wait_for_it_to",
Expand Down
2 changes: 1 addition & 1 deletion wait_for_it_to/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version_info__ = (0, 0, 13)
__version_info__ = (0, 0, 16)
__version__ = ".".join(map(str, __version_info__))

0 comments on commit ec6088a

Please sign in to comment.