File tree Expand file tree Collapse file tree 5 files changed +24
-15
lines changed Expand file tree Collapse file tree 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-
31project = 'redisai-py'
42copyright = '2020, RedisLabs'
53author = 'RedisLabs'
6- release = redisai . __version__
4+ release = '1.0.0'
75extensions = ['sphinx.ext.autodoc' ,
86 'sphinx.ext.autosummary' ,
97 'sphinx.ext.extlinks' ,
Original file line number Diff line number Diff line change 1- from .version import __version__
21from .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 11#!/usr/bin/env python
22from setuptools import setup , find_packages
33
4- try :
5- exec (open ('redisai/version.py' , encoding = 'utf-8' ).read ())
6- except TypeError :
7- exec (open ('redisai/version.py' ).read ())
84
95with open ('README.rst' ) as f :
106 long_description = f .read ()
117
12-
138setup (
149 name = 'redisai' ,
15- version = __version__ , # comes from redisai/version.py
10+ version = '1.0.0' ,
1611 description = 'RedisAI Python Client' ,
1712 long_description = long_description ,
1813 long_description_content_type = 'text/markdown' ,
You can’t perform that action at this time.
0 commit comments