-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
56 lines (52 loc) · 1.33 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
46
47
48
49
50
51
52
53
54
55
56
"""A setup script to demonstrate build using bcrypt"""
#
# Run the build process by running the command 'python setup.py build'
#
# If everything works well you should find a subdirectory in the build
# subdirectory that contains the files needed to run the script without Python
from cx_Freeze import Executable, setup
# Dependencies fine tuning
build_exe_options = {
"excludes": [
"curses",
"difflib",
"email",
"html",
"http",
"multiprocessing",
"mypy",
"numpy.distutils",
"numpy.doc",
"numpy.matrixlib.tests",
"numpy.testing",
"numpy.tests",
"pydoc",
"pydoc_data",
"setuptools",
"tarfile",
"tcl",
"unittest",
"xml",
"_bz2",
"_lzma",
"_socket",
"_ssl",
],
"includes": [
"encodings",
"mutf8",
"secrets",
]
}
setup(
name="minenbt",
version="0.2",
description="lib and cli script to handle Minecraft savefiles",
author="timendum",
url="https://github.com/timendum/minenbt/",
packages=["minenbt"],
executables=[Executable("minenbt/__main__.py", target_name="minenbt")],
options={"build_exe": build_exe_options},
install_requires=["mulet-nbt", "numpy"],
license="GNU General Public License v3.0",
)