Skip to content

Commit 4cb256a

Browse files
committed
Define version outside setup.py
1 parent 72bd1be commit 4cb256a

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ package: frontend
6060

6161
# changelog stuff
6262
changelog:
63-
dch -D trusty -u low -i
63+
dch -D trusty -u low -v ${PACKAGE_VERSION}-1

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@
66
from setuptools import find_packages
77
from setuptools import setup
88

9+
from tscached import VERSION
10+
11+
912
setup(
1013
name='tscached',
11-
version='0.1.0',
14+
version=VERSION,
1215

1316
description='Caching proxy for time series data',
1417
long_description='Advanced caching proxy for KairosDB, using Redis as a datastore.',

tscached/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
from tscached.utils import setup_logging
88

99

10+
VERSION = '0.1.1'
11+
1012
app = Flask(__name__, static_url_path='', static_folder='kairos-web')
1113

1214
# Inject our custom YAML-based config into the Flask app.

0 commit comments

Comments
 (0)