forked from mikedh/trimesh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
68 lines (62 loc) · 2.34 KB
/
setup.py
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/usr/bin/env python
from setuptools import setup
# load __version__
exec(open('trimesh/version.py').read())
import os
import logging
log = logging.getLogger('trimesh')
log.addHandler(logging.NullHandler())
long_description = ''
if os.path.exists('README.md'):
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except ImportError:
log.error('Failed to import pypandoc, docs will look like garbage on pypi!',
exc_info=True)
long_description = open('README.md', 'r').read()
setup(name = 'trimesh',
version = __version__,
description='Import, export, process, analyze and view triangular meshes.',
long_description=long_description,
author='Mike Dawson-Haggerty',
author_email='mik3dh@gmail.com',
license = 'MIT',
url='http://github.com/mikedh/trimesh',
keywords = 'graphics mesh geometry',
classifiers = [
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Topic :: Scientific/Engineering' ],
packages = [
'trimesh',
'trimesh.io',
'trimesh.ray',
'trimesh.path',
'trimesh.path.io',
'trimesh.scene',
'trimesh.resources',
'trimesh.interfaces'],
package_data={'trimesh' : ['resources/*.template']},
install_requires = ['numpy',
'scipy',
'networkx' ],
extras_require = {'path' : ['svg.path',
'Shapely',
'rtree'],
'viewer' : ['pyglet'],
'all' : ['pyglet',
'Shapely',
'rtree',
'svg.path',
'meshpy',
'sympy',
'msgpack-python']}
)