Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (39 loc) · 1.51 KB
/
Copy pathsetup.py
File metadata and controls
44 lines (39 loc) · 1.51 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-world-operator",
version=version,
author="Minecraft Muti-Media Organization",
author_email="TriM-Organization@hotmail.com",
description="An operator based on Go that aims to provide interface for Python that could operating NetEase/Standard Minecraft bedrock game saves.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/TriM-Organization/bedrock-world-operator",
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={"bedrockworldoperator": "python/package"},
packages=[
i.replace("package", "bedrockworldoperator", 1)
for i in setuptools.find_packages(where="python")
],
package_data={
"bedrockworldoperator": [
"dynamic_libs/*.so",
"dynamic_libs/*.dll",
"dynamic_libs/*.dylib",
],
},
install_requires=dependences,
python_requires=">=3.10",
)