obj2html/setup.py
2021-11-13 16:04:16 +01:00

43 lines
940 B
Python

from distutils.core import setup
long_des = """obj2html lib
=============================
You can use that lib to create html file from a .obj path:
from obj2html import obj2html
html_string = obj2html(obj_path)
obj2html(obj_path, 'index.html')
# firefox index.html
Use in a Jupyter notebook to display a .obj 3D file:
! pip install
from obj2html import obj2html
from IPython.display import display, HTML
obj_path = 'model.obj'
obj2html(obj_path, 'index.html')
display(HTML('index.html'))
"""
setup(
name = 'obj2html',
packages = ['obj2html'],
version = '0.3',
license='MIT',
description = 'Create an html with three.js that contains the given .obj file.',
long_description = long_des,
author = 'Nicola Landro',
author_email = 'nicolaxx94@live.it',
url = 'https://gitlab.com/nicolalandro/obj2html',
keywords = ['3D', '.obj', '.html', 'jupyter', '3D viewer'],
)