Skip to content

Commit e70a825

Browse files
authored
Merge pull request #72 from IBM/mlabenski_easy_versioning
Easy versioning
2 parents d709c15 + bae1cb3 commit e70a825

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

VERSION

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.9.2

docs/source/conf.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
basepath = os.path.dirname(__file__)
2424
filepath = os.path.abspath(os.path.join(basepath, "..", "..", "nzpyida"))
2525
sys.path.append(filepath)
26+
27+
with open(os.path.join(basepath, '..', '..', 'VERSION')) as f:
28+
ver = f.read()
29+
2630
# -- General configuration ------------------------------------------------
2731

2832
# If your documentation needs a minimal Sphinx version, state it here.
@@ -71,9 +75,9 @@
7175
# built documents.
7276
#
7377
# The short X.Y version.
74-
version = u'0.9.1'
78+
version = ver
7579
# The full version, including alpha/beta/rc tags.
76-
release = u'0.9.1'
80+
release = ver
7781

7882
# The language for content autogenerated by Sphinx. Refer to documentation
7983
# for a list of supported languages.

setup.cfg

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ build-dir = docs/build
1010
all_files = 1
1111

1212
[upload_sphinx]
13-
upload-dir = docs/build/html
13+
upload-dir = docs/build/html
14+
15+
[metadata]
16+
version = file: VERSION

setup.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#-----------------------------------------------------------------------------
4-
# Copyright (c) 2015, IBM Corp.
4+
# Copyright (c) 2015-2023, IBM Corp.
55
# All rights reserved.
66
#
77
# Distributed under the terms of the BSD Simplified License.
@@ -66,7 +66,6 @@
6666
]
6767

6868
setup(name='nzpyida',
69-
version='0.9.1',
7069
install_requires=['pandas','numpy','future','six','pypyodbc','pyodbc', 'lazy', 'nzpy'],
7170

7271
extras_require={

0 commit comments

Comments
 (0)