-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #105 from APN-Pucky/strict
strict testing
- Loading branch information
Showing
5 changed files
with
985 additions
and
1,150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
from .handler import generate_alternatives, translate | ||
from .config import Config | ||
from .handler import generate_alternatives, translate | ||
|
||
__all__ = ["generate_alternatives", "translate", "Config"] | ||
|
||
import pkg_resources as pkg # part of setuptools | ||
from importlib.metadata import version | ||
|
||
package = "metamorph" | ||
|
||
try: | ||
version = pkg.require(package)[0].version | ||
except pkg.DistributionNotFound: | ||
version = "dirty" | ||
|
||
__version__ = version | ||
__version__ = version(package) |
Oops, something went wrong.