pypi image

This commit is contained in:
nicolalandro 2021-11-13 16:28:57 +01:00
parent 7b180f413b
commit 32d6d5c872
2 changed files with 9 additions and 7 deletions

View File

@ -23,8 +23,10 @@ display(HTML('index.html'))
## Features ## Features
- [x] .obj files support - [x] .obj files support
- [ ] pipy delivery - [x] pipy delivery
- [ ] guide for notebook - [x] guide for notebook
- [x] pypi doc add image
- [ ] dist wheel
- [ ] edit html positions and other 3D params - [ ] edit html positions and other 3D params
- [ ] load three.js as static file - [ ] load three.js as static file
- [ ] .mat files support - [ ] .mat files support
@ -43,15 +45,16 @@ python3.8 -m coverage report -m
``` ```
* deploy pipy * deploy pipy
``` ```
pip install -U twine wheel setuptools pip install twine
rm -rf dist rm -rf dist
python setup.py sdist python setup.py sdist
python setup.py bdist_wheel
twine check dist/* twine check dist/*
twine upload dist/* twine upload dist/*
# in one line
``` ```
# References # References

View File

@ -13,8 +13,7 @@ You can use that lib to create html file from a .obj path:
# firefox index.html # firefox index.html
.. image:: https://gitlab.com/nicolalandro/obj2html/imgs/colab_sample.png .. image:: https://gitlab.com/nicolalandro/obj2html/-/raw/main/imgs/colab_sample.png
:width: 400
:alt: Colab example :alt: Colab example
Use in a Jupyter notebook to display a .obj 3D file: Use in a Jupyter notebook to display a .obj 3D file:
@ -38,7 +37,7 @@ Use in a Jupyter notebook to display a .obj 3D file:
setup( setup(
name = 'obj2html', name = 'obj2html',
packages = ['obj2html'], packages = ['obj2html'],
version = '0.4', version = '0.5',
license='MIT', license='MIT',
description = 'Create an html with three.js that contains the given .obj file.', description = 'Create an html with three.js that contains the given .obj file.',
long_description = long_des, long_description = long_des,