-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (41 loc) · 1.55 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
from setuptools import setup
from pathlib import Path
def find_idcn_release_files():
release_dir = Path("idcn/releases")
release_files = []
for file in release_dir.rglob("*"):
if file.is_file():
release_files.append(str(file.relative_to("idcn")))
release_files.append("../idcn.pth")
return release_files
setup(
name="idcn",
version="1.3.0",
author="zetaloop",
author_email="[email protected]",
description="IDLE Chinese Translation | IDLE 汉化包",
long_description=open("README.md", "r", encoding="utf-8").read(),
long_description_content_type="text/markdown",
url="https://github.com/zetaloop/IDLE-CN",
packages=["idcn"],
package_data={"idcn": find_idcn_release_files()},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Topic :: Software Development :: Internationalization",
"Topic :: Software Development :: Localization",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
"Natural Language :: Chinese (Simplified)",
],
python_requires=">=3.9",
zip_safe=False,
)