diff --git a/pyproject.toml b/pyproject.toml index 57ff343..73ac7a2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/setup.py b/setup.py deleted file mode 100644 index a7b0fb8..0000000 --- a/setup.py +++ /dev/null @@ -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"], - }, -)