Skip to content

Commit

Permalink
Revert back to retrieving version at runtime (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
andersy005 authored Dec 3, 2020
1 parent 5a2da5d commit 8484841
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion jupyter_forward/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
__version__ = get_distribution(__name__).version
except DistributionNotFound: # pragma: no cover
# package is not installed
_version__ = 'unknown' # pragma: no cover
__version__ = 'unknown' # pragma: no cover
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ target-version = ['py38']
skip-string-normalization = true

[build-system]
requires = ["setuptools>=41.2", "setuptools_scm", "wheel", "setuptools_scm_git_archive"]
requires = ["setuptools>=41.2", "setuptools_scm", "wheel"]
build-backend = "setuptools.build_meta"
3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
long_description = f.read()

USE_SCM_VERSION = {
'write_to': 'jupyter_forward/_version.py',
'write_to_template': '__version__ = "{version}"',
'tag_regex': r'^(?P<prefix>v)?(?P<version>[^\+]+)(?P<suffix>.*)?$',
'version_scheme': 'post-release',
'local_scheme': 'dirty-tag',
}
Expand Down

0 comments on commit 8484841

Please sign in to comment.