From ba31bd9ac5b9ca5bad8f2e7ba855b4c886f24fb7 Mon Sep 17 00:00:00 2001 From: rex <1073853456@qq.com> Date: Thu, 12 Oct 2023 11:53:00 +0800 Subject: [PATCH] update setup --- setup.cfg | 13 ------------- setup.py | 4 +++- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/setup.cfg b/setup.cfg index 1107938..e399a20 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,16 +1,3 @@ -[bumpversion] -current_version = 0.0.2 -commit = True -tag = True - -[bumpversion:file:setup.py] -search = version='{current_version}' -replace = version='{new_version}' - -[bumpversion:file:askchat/__init__.py] -search = __version__ = '{current_version}' -replace = __version__ = '{new_version}' - [bdist_wheel] universal = 1 diff --git a/setup.py b/setup.py index cd9a88c..8d5e04f 100644 --- a/setup.py +++ b/setup.py @@ -4,6 +4,8 @@ from setuptools import setup, find_packages +VERSION = '0.0.2' + with open('README.md') as readme_file: readme = readme_file.read() @@ -36,6 +38,6 @@ test_suite='tests', tests_require=test_requirements, url='https://github.com/rexwzh/askchat', - version='0.0.1', + version=VERSION, zip_safe=False, )