Skip to content

Commit

Permalink
fix: rename _version.py to version.py (#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
tedil authored Jun 28, 2024
1 parent be0ac09 commit 4fb8d8d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def bash_scripts(names):
package_root = os.path.abspath(os.path.dirname(__file__))

version = {}
with open(os.path.join(package_root, "snappy_pipeline/_version.py")) as fp:
with open(os.path.join(package_root, "snappy_pipeline/version.py")) as fp:
exec(fp.read(), version)
version = version["__version__"]

Expand Down
2 changes: 1 addition & 1 deletion snappy_pipeline/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
__author__ = """Manuel Holtgrewe"""
__email__ = "manuel.holtgrewe@bih-charite.de"

from snappy_pipeline._version import __version__
from snappy_pipeline.version import __version__

__all__ = ["__version__", "expand_ref", "merge_dicts", "print_config", "print_sample_sheets"]
File renamed without changes.
2 changes: 1 addition & 1 deletion snappy_wrappers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

from snappy_pipeline._version import __version__
from snappy_pipeline.version import __version__

__author__ = """Manuel Holtgrewe"""
__email__ = "manuel.holtgrewe@bih-charite.de"
Expand Down

0 comments on commit 4fb8d8d

Please sign in to comment.