Skip to content
This repository has been archived by the owner on Aug 20, 2023. It is now read-only.

Commit

Permalink
build: external version number
Browse files Browse the repository at this point in the history
  • Loading branch information
nlm-pro committed Apr 5, 2020
1 parent a3dd3d2 commit 653f9a7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include VERSION
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.3.0
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
from setuptools import setup
from os import path

version = '0.3.0'

repo_base_dir = path.abspath(path.dirname(__file__))

with open(path.join(repo_base_dir, 'VERSION')) as version_file:
version = version_file.read().strip()

# Long description
readme = path.join(repo_base_dir, 'README.md')
with open(readme) as f:
Expand Down

0 comments on commit 653f9a7

Please sign in to comment.