Skip to content

Commit

Permalink
Merge pull request #105 from hugovk/hardcoded-constant
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Oct 7, 2021
2 parents 9f0d7c5 + 18a6d3f commit 8cb9d25
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,6 @@ node_modules/

# pyenv
.python-version

# setuptools_scm
_version.py
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@ def local_scheme(version):


setup(
use_scm_version={"local_scheme": local_scheme},
use_scm_version={
"local_scheme": local_scheme,
"write_to": "src/tinytext/_version.py",
},
)
5 changes: 1 addition & 4 deletions src/tinytext/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
from typing import Dict

import pkg_resources

__version__: str = pkg_resources.get_distribution(__name__).version

from ._version import version as __version__ # noqa: F401

tiny_letters: Dict[int, str] = {
ord("a"): "ᵃ",
Expand Down

0 comments on commit 8cb9d25

Please sign in to comment.