Skip to content

Commit 899017a

Browse files
committed
Setup script
1 parent bd7a202 commit 899017a

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

setup.py

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
"""A setup script to demonstrate build using bcrypt"""
2+
#
3+
# Run the build process by running the command 'python setup.py build'
4+
#
5+
# If everything works well you should find a subdirectory in the build
6+
# subdirectory that contains the files needed to run the script without Python
7+
8+
from cx_Freeze import setup, Executable
9+
10+
# Dependencies fine tuning
11+
build_exe_options = {
12+
"excludes": [
13+
"curses",
14+
"difflib",
15+
"email",
16+
"html",
17+
"http",
18+
"multiprocessing",
19+
"numpy.distutils",
20+
"numpy.doc",
21+
"numpy.fft",
22+
"numpy.matrixlib.tests",
23+
"numpy.polynomial",
24+
"numpy.testing",
25+
"numpy.tests",
26+
"pydoc",
27+
"pydoc_data",
28+
"setuptools",
29+
"tarfile",
30+
"tcl",
31+
"unittest",
32+
"xml",
33+
"_bz2",
34+
"_lzma",
35+
"_socket",
36+
"_ssl",
37+
]
38+
}
39+
40+
41+
setup(
42+
name="minenbt",
43+
version="0.1",
44+
description="lib and cli script to handle Minecraft savefiles",
45+
author="timendum",
46+
url="https://github.com/timendum/minenbt/",
47+
packages=["minenbt"],
48+
executables=[Executable("minenbt/__main__.py", targetName="minenbt")],
49+
options={"build_exe": build_exe_options},
50+
install_requires=["nbtlib", "numpy"],
51+
license="GNU General Public License v3.0",
52+
)

0 commit comments

Comments
 (0)