pypi image
This commit is contained in:
		
							
								
								
									
										11
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								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
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										5
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								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,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user