From 32d6d5c872a28314f9f7a132947dd4c487322209 Mon Sep 17 00:00:00 2001 From: nicolalandro Date: Sat, 13 Nov 2021 16:28:57 +0100 Subject: [PATCH] pypi image --- README.md | 11 +++++++---- setup.py | 5 ++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 36fb70e..a6fcc63 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,10 @@ display(HTML('index.html')) ## Features - [x] .obj files support -- [ ] pipy delivery -- [ ] guide for notebook +- [x] pipy delivery +- [x] guide for notebook +- [x] pypi doc add image +- [ ] dist wheel - [ ] edit html positions and other 3D params - [ ] load three.js as static file - [ ] .mat files support @@ -43,15 +45,16 @@ python3.8 -m coverage report -m ``` * deploy pipy ``` -pip install -U twine wheel setuptools +pip install twine rm -rf dist python setup.py sdist -python setup.py bdist_wheel twine check dist/* twine upload dist/* + +# in one line ``` # References diff --git a/setup.py b/setup.py index 33636a1..9e31819 100644 --- a/setup.py +++ b/setup.py @@ -13,8 +13,7 @@ You can use that lib to create html file from a .obj path: # firefox index.html -.. image:: https://gitlab.com/nicolalandro/obj2html/imgs/colab_sample.png - :width: 400 +.. image:: https://gitlab.com/nicolalandro/obj2html/-/raw/main/imgs/colab_sample.png :alt: Colab example 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( name = 'obj2html', packages = ['obj2html'], - version = '0.4', + version = '0.5', license='MIT', description = 'Create an html with three.js that contains the given .obj file.', long_description = long_des,