Skip to content

Commit

Permalink
Fix: build error
Browse files Browse the repository at this point in the history
Fix build error caused by missing environment variable: HOST
Add twine for upload to PyPI
  • Loading branch information
omushpapa committed Nov 11, 2018
1 parent 8dd7f66 commit d9cdf4f
Show file tree
Hide file tree
Showing 3 changed files with 112 additions and 34 deletions.
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ u-msgpack-python = "*"
sphinx-rtd-theme = "*"
sphinx = "*"
bumpversion = "*"
twine = "*"

[requires]
python_version = "3.6"
143 changes: 110 additions & 33 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/testconfigreader.py
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ def test_returns_false_if_environment_not_loaded_by_default_linux(self):
compare(config.get('home'), os.environ['HOME'])

with self.subTest(1):
compare(config.get('host', default='$HOST'), os.environ['HOST'])
compare(config.get('shell', default='$SHELL'), os.environ['SHELL'])

@unittest.skipIf(os.name != 'nt', 'Testing environment variables for Windows')
def test_returns_false_if_environment_not_loaded_by_default_windows(self):
Expand Down

0 comments on commit d9cdf4f

Please sign in to comment.