This commit is contained in:
yihong0618 2024-05-02 08:30:48 +08:00
parent 0ea97b8746
commit e7ae81eeeb
2 changed files with 2 additions and 41 deletions

View File

@ -1,6 +1,5 @@
[project]
name = "bbook-maker"
dynamic = ["version"]
description = "The bilingual_book_maker is an AI translation tool that uses ChatGPT to assist users in creating multi-language versions of epub/txt files and books."
readme = "README.md"
license = {text = "MIT"}
@ -43,3 +42,5 @@ without-hashes = true
[build-system]
requires = ["pdm-backend>=2.0.0"]
build-backend = "pdm.backend"
[tool.pdm.version]
source = "scm"

View File

@ -1,40 +0,0 @@
#!/usr/bin/env python3
from setuptools import find_packages, setup
packages = [
"bs4",
"openai>=1.1.1",
"litellm",
"requests",
"ebooklib",
"rich",
"tqdm",
"tiktoken",
"PyDeepLX",
"google-generativeai",
"langdetect",
"backoff",
"anthropic",
]
setup(
name="bbook_maker",
description="The bilingual_book_maker is an AI translation tool that uses ChatGPT to assist users in creating multi-language versions of epub/txt files and books.",
version="0.8.1",
license="MIT",
author="yihong0618",
author_email="zouzou0208@gmail.com",
packages=find_packages(),
url="https://github.com/yihong0618/bilingual_book_maker",
python_requires=">=3.8",
install_requires=packages,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
entry_points={
"console_scripts": ["bbook_maker = book_maker.cli:main"],
},
)