Team Ai
Apppublic

OpenMotionLab/MotionGPT

sourceHugging Facemitupdated 1y agoView on Hugging Face
118likes
setup.py77 linesDownload Raw Back to pyrender
1"""2Setup of pyrender Python codebase.3 4Author: Matthew Matl5"""6import sys7from setuptools import setup8 9# load __version__10exec(open('pyrender/version.py').read())11 12def get_imageio_dep():13    if sys.version[0] == "2":14        return 'imageio<=2.6.1'15    return 'imageio'16 17requirements = [18    'freetype-py',                # For font loading19    get_imageio_dep(),            # For Image I/O20    'networkx',                   # For the scene graph21    'numpy',                      # Numpy22    'Pillow',                     # For Trimesh texture conversions23    'pyglet>=1.4.10',             # For the pyglet viewer24    'PyOpenGL~=3.1.0',            # For OpenGL25#    'PyOpenGL_accelerate~=3.1.0', # For OpenGL26    'scipy',                      # Because of trimesh missing dep27    'six',                        # For Python 2/3 interop28    'trimesh',                    # For meshes29]30 31dev_requirements = [32    'flake8',            # Code formatting checker33    'pre-commit',        # Pre-commit hooks34    'pytest',            # Code testing35    'pytest-cov',        # Coverage testing36    'tox',               # Automatic virtualenv testing37]38 39docs_requirements = [40    'sphinx',            # General doc library41    'sphinx_rtd_theme',  # RTD theme for sphinx42    'sphinx-automodapi'  # For generating nice tables43]44 45 46setup(47    name = 'pyrender',48    version=__version__,49    description='Easy-to-use Python renderer for 3D visualization',50    long_description='A simple implementation of Physically-Based Rendering '51                       '(PBR) in Python. Compliant with the glTF 2.0 standard.',52    author='Matthew Matl',53    author_email='matthewcmatl@gmail.com',54    license='MIT License',55    url = 'https://github.com/mmatl/pyrender',56    classifiers = [57        'Development Status :: 4 - Beta',58        'License :: OSI Approved :: MIT License',59        'Operating System :: POSIX :: Linux',60        'Operating System :: MacOS :: MacOS X',61        'Programming Language :: Python :: 2.7',62        'Programming Language :: Python :: 3.5',63        'Programming Language :: Python :: 3.6',64        'Natural Language :: English',65        'Topic :: Scientific/Engineering'66    ],67    keywords = 'rendering graphics opengl 3d visualization pbr gltf',68    packages = ['pyrender', 'pyrender.platforms'],69    setup_requires = requirements,70    install_requires = requirements,71    extras_require={72        'dev': dev_requirements,73        'docs': docs_requirements,74    },75    include_package_data=True76)77