forked from tinyobjloader/tinyobjloader
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (22 loc) · 895 Bytes
/
setup.py
File metadata and controls
28 lines (22 loc) · 895 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import setuptools
with open("README.md", "r") as fh:
long_description= fh.read()
# `tiny_obj_loader.cc` contains implementation of tiny_obj_loader.
m = setuptools.Extension('tinyobjloader',
sources = ['bindings.cc', 'tiny_obj_loader.cc'],
extra_compile_args=['-std=c++11'],
include_dirs = ['../', '../pybind11/include']
)
setuptools.setup (name = 'tinyobjloader',
version = '0.1',
description = 'Python module for tinyobjloader',
long_description = long_description,
long_description_content_type = "text/markdown",
author="Syoyo Fujita",
author_email="syoyo@lighttransport.com",
url="https://github.com/syoyo/tinyobjloader",
classifiers=[
"License :: OSI Approved :: MIT License",
],
packages=setuptools.find_packages(),
ext_modules = [m])