@@ -4,6 +4,54 @@ build-backend = "setuptools.build_meta"
44
55[tool .setuptools_scm ]
66fallback_version = " 0.1.0"
7+ write_to = " python_gpt_po/_version.py"
8+
9+ [project ]
10+ name = " gpt_po_translator"
11+ dynamic = [" version" ]
12+ authors = [
13+ {
name =
" Bram Mittendorff" ,
email =
" [email protected] " },
14+ ]
15+ description = " A CLI tool for translating .po files using GPT models."
16+ readme = " README.md"
17+ requires-python = " >=3.8"
18+ license = {text = " MIT" }
19+ dependencies = [
20+ " polib==1.2.0" ,
21+ " openai==1.58.1" ,
22+ " python-dotenv==1.0.0" ,
23+ " pytest==8.2.2" ,
24+ " tenacity==9.0.0" ,
25+ " setuptools-scm==8.1.0" ,
26+ " pycountry==24.6.1" ,
27+ " anthropic==0.48.0" ,
28+ " requests==2.32.3" ,
29+ " responses==0.25.6" ,
30+ ]
31+ classifiers = [
32+ " Development Status :: 4 - Beta" ,
33+ " Intended Audience :: Developers" ,
34+ " Intended Audience :: System Administrators" ,
35+ " Topic :: Software Development :: Internationalization" ,
36+ " Topic :: Software Development :: Localization" ,
37+ " Topic :: Text Processing :: Linguistic" ,
38+ " Operating System :: OS Independent" ,
39+ " License :: OSI Approved :: MIT License" ,
40+ " Programming Language :: Python :: 3" ,
41+ " Programming Language :: Python :: 3.8" ,
42+ " Programming Language :: Python :: 3.9" ,
43+ " Programming Language :: Python :: 3.10" ,
44+ " Programming Language :: Python :: 3.11" ,
45+ " Programming Language :: Python :: 3.12" ,
46+ " Programming Language :: Python :: 3 :: Only" ,
47+ " Natural Language :: English" ,
48+ " Natural Language :: Dutch" ,
49+ " Environment :: Console" ,
50+ " Typing :: Typed"
51+ ]
52+
53+ [project .scripts ]
54+ gpt-po-translator = " python_gpt_po.main:main"
755
856[tool .flake8 ]
957max-line-length = 120
0 commit comments