From 143289b6748f12797f13de68da31fd5625692c50 Mon Sep 17 00:00:00 2001 From: Hans Dembinski Date: Fri, 28 May 2021 20:01:01 +0200 Subject: [PATCH] make _version.py private --- .gitignore | 2 +- monolens/version.py | 5 +++++ pyproject.toml | 2 +- setup.cfg | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 monolens/version.py diff --git a/.gitignore b/.gitignore index 660d4a4..49b214d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ *.egg-info __pycache__ -monolens/version.py +monolens/_version.py diff --git a/monolens/version.py b/monolens/version.py new file mode 100644 index 0000000..8703fbe --- /dev/null +++ b/monolens/version.py @@ -0,0 +1,5 @@ +# coding: utf-8 +# file generated by setuptools_scm +# don't change, don't track in version control +version = "0.4.6.dev0+g0b469d1.d20210528" +version_tuple = (0, 4, 6, "dev0+g0b469d1", "d20210528") diff --git a/pyproject.toml b/pyproject.toml index c25e6c8..0c94232 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,4 +7,4 @@ requires = [ build-backend = "setuptools.build_meta" [tool.setuptools_scm] -write_to = "monolens/version.py" +write_to = "monolens/_version.py" diff --git a/setup.cfg b/setup.cfg index 5fb8521..15e46fe 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = monolens -version = attr: monolens.__version__ +version = attr: monolens._version.version author = Hans Dembinski author_email = hans.dembinski@gmail.com description = Show part of your screen in 8-bit grayscale