Skip to content

Commit

Permalink
Add objects to package top level
Browse files Browse the repository at this point in the history
  • Loading branch information
daviewales committed Dec 5, 2023
1 parent a51311f commit 1111d4c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pmhclib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# read version from installed package
from importlib.metadata import version
__version__ = version("pmhclib")

# Import classes to be available at the top level.
# Allows importing with:
# from pmhclib import PMHC
# rather than
# from pmhclib.pmhc import PMHC
from .pmhc import PMHC
from .pmhc import PMHC, PMHCSpecification

0 comments on commit 1111d4c

Please sign in to comment.