-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (39 loc) · 1.41 KB
/
setup.py
File metadata and controls
44 lines (39 loc) · 1.41 KB
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
import setuptools
with open("requirements.txt", "r+", encoding="utf-8") as file:
dependences = file.read().strip().split("\n")
with open("README.md", "r+", encoding="utf-8") as file:
long_description = file.read()
with open("version", "r+", encoding="utf-8") as file:
version = file.read().split("\n")[0].strip()
setuptools.setup(
name="bedrock-chunk-diff",
version=version,
author="Minecraft Muti-Media Organization",
author_email="TriM-Organization@hotmail.com",
description="Delta update implement for Minecraft bedrock chunk.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/TriM-Organization/bedrock-chunk-diff",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Go",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
],
package_dir={"bedrockchunkdiff": "python/package"},
packages=[
i.replace("package", "bedrockchunkdiff", 1)
for i in setuptools.find_packages(where="python")
],
package_data={
"bedrockchunkdiff": [
"dynamic_libs/*.so",
"dynamic_libs/*.dll",
"dynamic_libs/*.dylib",
],
},
install_requires=dependences,
python_requires=">=3.10",
)