cpederkoff / stl-to-voxel

Turn STL files into voxels, images, and videos
MIT License
143 stars 76 forks source link

resolve Issues/31 (support pip install method) #32

Closed youngkiu closed 3 years ago

youngkiu commented 3 years ago

I implemented stl-to-voxel so that it can be used with pip install as well as git clone. I have informed users in advance in https://github.com/cpederkoff/stl-to-voxel/issues/31.

$ pip install git+https://github.com/cpederkoff/stl-to-voxel.git
>>> import stltovoxel
>>> stltovoxel.doExport('data/Stanford_Bunny.stl', 'data/Stanford_Bunny.png')

It is also explained in the README.

youngkiu commented 3 years ago

I implemented setup.py by referring to https://docs.python.org/3/distutils/examples.html.

youngkiu commented 3 years ago

@cpederkoff We have README.md and setup.py ready. Why don't you upload stl-to-voxel to PyPI as a twine? https://packaging.python.org/tutorials/packaging-projects/

$ python setup.py bdist_wheel
$ twine upload dist/stl_to_voxel-0.9.1-py3-none-any.whl