Skip to content

Commit

Permalink
Merge pull request #50 from Tieqiong/ver
Browse files Browse the repository at this point in the history
Replace source code: <package>/ __init__.py and version.py
  • Loading branch information
sbillinge authored Jun 22, 2024
2 parents 6dbebcd + a8c82ec commit 6de300f
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 554 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
from ._version import get_versions
#!/usr/bin/env python
##############################################################################
#
# (c) {% now 'utc', '%Y' %} The Trustees of Columbia University in the City of New York.
# All rights reserved.
#
# File coded by: Billinge Group members and community contributors.
#
# See GitHub contributions for a more detailed list of contributors.
# https://github.com/{{ cookiecutter.github_org }}/{{ cookiecutter.repo_name }}/graphs/contributors
#
# See LICENSE.rst for license information.
#
##############################################################################

__version__ = get_versions()["version"]
del get_versions
"""{{ cookiecutter.project_short_description }}"""

# package version
from {{cookiecutter.project_name}}.version import __version__

# silence the pyflakes syntax checker
assert __version__ or True

# End of file
Loading

0 comments on commit 6de300f

Please sign in to comment.