Skip to content

Commit

Permalink
Introduce plain-text version management.
Browse files Browse the repository at this point in the history
  • Loading branch information
bolsote committed Oct 31, 2020
1 parent 97d2807 commit f7316c5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ recursive-include src *.py
include CHANGELOG
include LICENSE
include README.md
include VERSION

global-exclude *.py[cod] __pycache__
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.11.0
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
from setuptools import setup, find_packages


with open("README.md", "r") as fh:
long_description = fh.read()
with open("VERSION", "r") as f:
version = f.read().strip()

with open("README.md", "r") as f:
long_description = f.read()

setup(
name="isoduration",
version="20.11.0",
version=version,
author="Víctor Muñoz",
author_email="[email protected]",
description="Operations with ISO 8601 durations",
Expand Down

0 comments on commit f7316c5

Please sign in to comment.