mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-25 21:14:06 +00:00
chore:tag_v0.5.9 (#1674)
This commit is contained in:
parent
45a960f331
commit
2eeef2fa75
Binary file not shown.
Before Width: | Height: | Size: 116 KiB After Width: | Height: | Size: 118 KiB |
@ -1 +1 @@
|
|||||||
version = "0.5.8"
|
version = "0.5.9"
|
||||||
|
8
setup.py
8
setup.py
@ -20,7 +20,7 @@ with open("README.md", mode="r", encoding="utf-8") as fh:
|
|||||||
IS_DEV_MODE = os.getenv("IS_DEV_MODE", "true").lower() == "true"
|
IS_DEV_MODE = os.getenv("IS_DEV_MODE", "true").lower() == "true"
|
||||||
# If you modify the version, please modify the version in the following files:
|
# If you modify the version, please modify the version in the following files:
|
||||||
# dbgpt/_version.py
|
# dbgpt/_version.py
|
||||||
DB_GPT_VERSION = os.getenv("DB_GPT_VERSION", "0.5.8")
|
DB_GPT_VERSION = os.getenv("DB_GPT_VERSION", "0.5.9")
|
||||||
|
|
||||||
BUILD_NO_CACHE = os.getenv("BUILD_NO_CACHE", "true").lower() == "true"
|
BUILD_NO_CACHE = os.getenv("BUILD_NO_CACHE", "true").lower() == "true"
|
||||||
LLAMA_CPP_GPU_ACCELERATION = (
|
LLAMA_CPP_GPU_ACCELERATION = (
|
||||||
@ -758,7 +758,7 @@ else:
|
|||||||
class PrintExtrasCommand(setuptools.Command):
|
class PrintExtrasCommand(setuptools.Command):
|
||||||
description = "print extras_require"
|
description = "print extras_require"
|
||||||
user_options = [
|
user_options = [
|
||||||
('output=', 'o', 'Path to output the extras_require JSON'),
|
("output=", "o", "Path to output the extras_require JSON"),
|
||||||
]
|
]
|
||||||
|
|
||||||
def initialize_options(self):
|
def initialize_options(self):
|
||||||
@ -769,7 +769,7 @@ class PrintExtrasCommand(setuptools.Command):
|
|||||||
raise ValueError("output is not set")
|
raise ValueError("output is not set")
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
with open(self.output, 'w') as f:
|
with open(self.output, "w") as f:
|
||||||
json.dump(setup_spec.unique_extras, f, indent=2)
|
json.dump(setup_spec.unique_extras, f, indent=2)
|
||||||
|
|
||||||
|
|
||||||
@ -791,7 +791,7 @@ setuptools.setup(
|
|||||||
python_requires=">=3.10",
|
python_requires=">=3.10",
|
||||||
extras_require=setup_spec.unique_extras,
|
extras_require=setup_spec.unique_extras,
|
||||||
cmdclass={
|
cmdclass={
|
||||||
'print_extras': PrintExtrasCommand,
|
"print_extras": PrintExtrasCommand,
|
||||||
},
|
},
|
||||||
entry_points={
|
entry_points={
|
||||||
"console_scripts": [
|
"console_scripts": [
|
||||||
|
Loading…
Reference in New Issue
Block a user