Skip to content

Commit

Permalink
Have only one source of truth for version
Browse files Browse the repository at this point in the history
  • Loading branch information
jsvine committed Feb 10, 2024
1 parent a982516 commit d960fac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# waybackpack `v0.6.1`
# waybackpack

[![Version](https://img.shields.io/pypi/v/waybackpack.svg)](https://pypi.python.org/pypi/waybackpack) [![Support Python versions](https://img.shields.io/pypi/pyversions/waybackpack.svg)](https://pypi.python.org/pypi/waybackpack)

Waybackpack is a command-line tool that lets you download the entire Wayback Machine archive for a given URL.

Expand Down
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
from setuptools import setup, find_packages
import subprocess

version = "0.6.1"
version = {}
with open("waybackpack/version.py") as fp:
exec(fp.read(), version)

base_reqs = [
"requests"
Expand Down Expand Up @@ -32,7 +34,7 @@
author_email="[email protected]",
url="https://github.com/jsvine/waybackpack",
license="MIT",
version=version,
version=version["__version__"],
packages=find_packages(exclude=["test",]),
tests_require=[ "pytest", "pytest-coverage" ] + base_reqs,
extras_require = {
Expand Down

0 comments on commit d960fac

Please sign in to comment.