Skip to content

Commit

Permalink
Add oemof as a dependency
Browse files Browse the repository at this point in the history
That means I can also now test that `oemof.tabular` doesn't hide the
main `oemof` package.
  • Loading branch information
gnn committed Nov 24, 2018
1 parent edf5a67 commit 597d898
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
sphinx>=1.3
sphinx-rtd-theme
-e .

oemof

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def read(*names, **kwargs):
# eg: 'keyword1', 'keyword2', 'keyword3',
],
install_requires=[
# eg: 'aspectlib==1.1.1', 'six>=1.7',
'oemof',
],
extras_require={
# eg:
Expand Down
2 changes: 2 additions & 0 deletions tests/test_oemof_tabular.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import oemof

from oemof.tabular import __version__

Expand All @@ -6,4 +7,5 @@ def test_version_specification():
""" `oemof.tabular`'s version specification is importable and a string.
"""
assert isinstance(__version__, str)
assert isinstance(oemof.__version__, str)

0 comments on commit 597d898

Please sign in to comment.