Skip to content

Commit

Permalink
try picking up installed package with --pyargs
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Kienzle committed Oct 7, 2024
1 parent a014824 commit ae6063e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc/sphinx/guide/extending.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The simplest solution is to load it directly when your package is imported.
In the current example, this could be done by adding the following
line to the end of the file::

init(periodictable.core.elements)
init(periodictable.core.default_table())

This would be fine for the current example because the table size is
small and load time is fast. For large tables, you may wish to
Expand Down
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[pytest]
addopts = --doctest-modules --doctest-glob=*.rst --cov=periodictable
doctest_optionflags = ELLIPSIS
pythonpath = doc/sphinx
testpaths = periodictable test doc/sphinx/guide
python_files = *.py
python_classes = NoClassTestsWillMatch
Expand Down

0 comments on commit ae6063e

Please sign in to comment.