Installing assimp library as well
parent
2825d2daf8
commit
33bd5cfcfb
|
@ -8,6 +8,7 @@ import os
|
|||
import ctypes
|
||||
from ctypes import POINTER
|
||||
import operator
|
||||
import sys
|
||||
|
||||
try: import numpy
|
||||
except: numpy = None
|
||||
|
@ -40,6 +41,8 @@ elif os.name=='nt':
|
|||
if 'assimp' in dir_candidate.lower():
|
||||
additional_dirs.append(dir_candidate)
|
||||
|
||||
additional_dirs += sys.path
|
||||
|
||||
#print(additional_dirs)
|
||||
def vec2tuple(x):
|
||||
""" Converts a VECTOR3D to a Tuple """
|
||||
|
|
|
@ -9,5 +9,7 @@ setup(name='pyassimp',
|
|||
url='https://github.com/assimp/assimp',
|
||||
packages=['pyassimp'],
|
||||
data_files=[('share/pyassimp', ['README.md']),
|
||||
('share/examples/pyassimp', ['scripts/' + f for f in os.listdir('scripts/')])], requires=['numpy']
|
||||
('share/examples/pyassimp', ['scripts/' + f for f in os.listdir('scripts/')]),
|
||||
('lib/', [f for f in os.listdir('../../lib') if os.path.isfile(f)])],
|
||||
requires=['numpy']
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue