Skip to content

Commit

Permalink
Trying to see if making some changed in setup.cfg makes versioneer wo…
Browse files Browse the repository at this point in the history
…rk. For issue #1201
  • Loading branch information
DavidT3 committed Aug 12, 2024
1 parent 237b821 commit 3617390
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions xga/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# This code is a part of X-ray: Generate and Analyse (XGA), a module designed for the XMM Cluster Survey (XCS).
# Last modified by David J Turner (turne540@msu.edu) 12/08/2024, 14:07. Copyright (c) The Contributors

# This file helps to compute a version number in source trees obtained from
# git-archive tarball (such as those provided by githubs download-from-tag
# feature). Distribution tarballs (built by setup.py sdist) and build
Expand All @@ -12,12 +15,12 @@
"""Git implementation of _version.py."""

import errno
import functools
import os
import re
import subprocess
import sys
from typing import Any, Callable, Dict, List, Optional, Tuple
import functools


def get_keywords() -> Dict[str, str]:
Expand Down Expand Up @@ -51,7 +54,7 @@ def get_config() -> VersioneerConfig:
cfg = VersioneerConfig()
cfg.VCS = "git"
cfg.style = "pep440"
cfg.tag_prefix = ""
cfg.tag_prefix = "'v'"
cfg.parentdir_prefix = "xga-"
cfg.versionfile_source = "xga/_version.py"
cfg.verbose = False
Expand Down

0 comments on commit 3617390

Please sign in to comment.