-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathsetup.py
41 lines (37 loc) · 896 Bytes
/
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
"""
Setup of meshpy python codebase
Author: Jeff Mahler
"""
from setuptools import setup
from setuptools.command.install import install
from setuptools.command.develop import develop
import os
class PostDevelopCmd(develop):
def run(self):
os.system('sh install_meshrender.sh')
develop.run(self)
class PostInstallCmd(install):
def run(self):
os.system('sh install_meshrender.sh')
install.run(self)
requirements = [
'numpy',
'scipy',
'sklearn',
'Pillow',
]
setup(name='meshpy',
version='0.1.0',
description='MeshPy project code',
author='Matt Matl',
author_email='[email protected]',
package_dir = {'': '.'},
packages=['meshpy'],
#ext_modules = [meshrender],
install_requires=requirements,
test_suite='test',
cmdclass={
'install': PostInstallCmd,
'develop': PostDevelopCmd
}
)