File tree 5 files changed +24
-15
lines changed
5 files changed +24
-15
lines changed Original file line number Diff line number Diff line change
1
+ [bumpversion]
2
+ current_version = 1.0.0
3
+ commit = True
4
+ tag = False
5
+ parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<build>\d+))?
6
+ serialize =
7
+ {major}.{minor}.{patch}
8
+
9
+ [bumpversion:file:setup.py]
10
+ search = version =' {current_version}'
11
+ replace = version =' {new_version}'
12
+
13
+ [bumpversion:file:redisai/__init__.py]
14
+ search = __version__ = ' {current_version}'
15
+ replace = __version__ = ' {new_version}'
16
+
17
+ [bumpversion:file:docs/conf.py]
18
+ search = release = ' {current_version}'
19
+ replace = release = ' {new_version}'
20
+
Original file line number Diff line number Diff line change 1
- import redisai
2
-
3
1
project = 'redisai-py'
4
2
copyright = '2020, RedisLabs'
5
3
author = 'RedisLabs'
6
- release = redisai . __version__
4
+ release = '1.0.0'
7
5
extensions = ['sphinx.ext.autodoc' ,
8
6
'sphinx.ext.autosummary' ,
9
7
'sphinx.ext.extlinks' ,
Original file line number Diff line number Diff line change 1
- from .version import __version__
2
1
from .client import Client
2
+
3
+ __version__ = '1.0.0'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
2
from setuptools import setup , find_packages
3
3
4
- try :
5
- exec (open ('redisai/version.py' , encoding = 'utf-8' ).read ())
6
- except TypeError :
7
- exec (open ('redisai/version.py' ).read ())
8
4
9
5
with open ('README.rst' ) as f :
10
6
long_description = f .read ()
11
7
12
-
13
8
setup (
14
9
name = 'redisai' ,
15
- version = __version__ , # comes from redisai/version.py
10
+ version = '1.0.0' ,
16
11
description = 'RedisAI Python Client' ,
17
12
long_description = long_description ,
18
13
long_description_content_type = 'text/markdown' ,
You can’t perform that action at this time.
0 commit comments