forked from ousttrue/pymeshio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·45 lines (39 loc) · 1.46 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
#!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
import sys
import os
import shutil
# copy pymeshio dir for blender26 plugin
PYMESHIO_DIR_IN_BLENDER26='blender26-meshio/pymeshio'
if os.path.exists(PYMESHIO_DIR_IN_BLENDER26):
shutil.rmtree(PYMESHIO_DIR_IN_BLENDER26)
print("copy pymeshio to %s" % PYMESHIO_DIR_IN_BLENDER26)
shutil.copytree('pymeshio', PYMESHIO_DIR_IN_BLENDER26)
setup(
name='pymeshio',
version='2.7.1',
description='3d model io library for mqo, pmd, pmx, vmd and vpd',
long_description=open('README.rst').read(),
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: zlib/libpng License',
'Topic :: Multimedia :: Graphics :: 3D Modeling',
],
keywords=['mqo', 'pmd', 'pmx', 'vmd', 'vpd', 'mmd', 'blender'],
author='ousttrue',
author_email='[email protected]',
url='http://pypi.python.org/pypi/pymeshio/',
license='zlib',
packages=find_packages(),
test_suite='nose.collector',
tests_require=['Nose'],
zip_safe = (sys.version>="2.5"), # <2.5 needs unzipped for -m to work
entry_points = {
'console_scripts': [
'pmd2pmx = pymeshio.main:pmd_to_pmx',
'pmd_diff = pymeshio.main:pmd_diff',
'pmd_validator = pymeshio.main:pmd_validator',
]
}
)