Skip to content
This repository was archived by the owner on May 5, 2024. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Changaco/setuptools_scm_git_archive
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.2
Choose a base ref
...
head repository: Changaco/setuptools_scm_git_archive
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.2.1
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jun 21, 2022

  1. Copy the full SHA
    c426c77 View commit details
Showing with 8 additions and 0 deletions.
  1. +2 −0 README.rst
  2. +6 −0 setuptools_scm_git_archive/__init__.py
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
**This plugin is obsolete. ``setuptools_scm >= 7.0.0`` supports Git archives by itself.**

This is a `setuptools_scm <https://pypi.python.org/pypi/setuptools_scm>`_ plugin
that adds support for git archives (for example the ones GitHub automatically
generates).
6 changes: 6 additions & 0 deletions setuptools_scm_git_archive/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
from os.path import join
import re
import warnings

from setuptools_scm import Configuration
from setuptools_scm.utils import data_from_mime, trace
from setuptools_scm.version import meta, tags_to_versions


warnings.warn(DeprecationWarning(
"This plugin is obsolete. setuptools_scm >= 7.0.0 supports Git archives by itself."
))


tag_re = re.compile(r'(?<=\btag: )([^,]+)\b')

# Define default config so call to meta() does not warn