mcpyproject / McPy

A open source Minecraft server written 100% in Python
GNU Affero General Public License v3.0
84 stars 15 forks source link

Delete startup.py and use setuptools #51

Closed 0ddlyoko closed 3 years ago

0ddlyoko commented 3 years ago

Setuptools is a library that allow us (developers) to build, package and distribute Python packages.

I think we should use setuptools to build and distribute McPy to pypi.org (pip)

ntoskrnl4 commented 3 years ago

How would McPy make sense as a package? It's not a library or anything of sorts, it's its own full standalone program.

0ddlyoko commented 3 years ago

Maybe it's not a library but at least you can install it using pip and it will automatically install required libraries

Geolykt commented 3 years ago

At the very best only the plugin API should be included

hydrostaticcog commented 3 years ago

I think we need to focus on getting McPy more new-user friendly. Maybe we just have people download a .zip of the source code and have them run a "dependencies.py"-like program, or we have a setuptools/PyPi.org type thing. I will start looking into both solutions and get back soon with more info.

hydrostaticcog commented 3 years ago

I have aimed to fix this with #53. Its not as far as creating a package with setuptools, but it creates an easier way to install dependencies, etc.

hydrostaticcog commented 3 years ago

Startup.py was removed in PR #53.