Open ghost opened 8 years ago
I literally know of no way to install my library. I haven't even mastered pip enough to know how to create a package but I guess I'll have to read that documentation now.
I'll try to update the repo as soon as possible, for now the only solution is running whatever code you run from the src/
directory.
i think i have figured it out. the python_minetest folder inside tools needs to go in the mods folder, and the rest is all run from the src folder...
There, I've written a correct setup.py
file, and made the whole repo pip-installable. Considering the test script passed correctly, it should be completly operating for you.
https://github.com/LeMagnesium/python-minetest/commit/c17ef363fdd4dd4b026d7bf76a08f012805d57b5
setup.py seems to be working well python setup.py build
but then setup.py install builds an egg, on Windows, that's a bit tricky so after the build just copy the newly created build/lib/libminetest folder to your python site-packages directory, [python-install-dir]/Lib/site-packages/
I just copied the libminetest folder to the c:\python34\Libs folder
python setup.py build
I personally use pip to install libminetest, it creates the egg, and copies it into my home cache. I haven't found out yet how to make it install the egg in site-packages/
.
it would be nice to know the intended install procedure in the readme.