1 from setuptools import setup
8 short_description='pure python 3d model io library'
10 `pymeshio` is a package for 3d model io.
11 create for blender import/expoert plugin backend.
19 * read/write Metasequioa mqo format
20 * read/write MikuMikuDance pmd format
21 * read/write MikuMikuDance vmd format
22 * read/write MikuMikuDance vpd format
28 $ easy_install pymeshio
30 $ unzip pymeshio-x.x.x.zip
32 $ python setup.py install
42 * add tkinter viewer sample
50 'Programming Language :: Python :: 3',
51 'License :: OSI Approved :: zlib/libpng License',
52 'Topic :: Multimedia :: Graphics :: 3D Modeling',
55 # copy pymeshio dir for blender25 plugin
56 PYMESHIO_DIR_IN_BLENDER='blender25-meshio/pymeshio'
57 if os.path.exists(PYMESHIO_DIR_IN_BLENDER):
58 shutil.rmtree(PYMESHIO_DIR_IN_BLENDER)
59 print("copy pymeshio to blender-25")
60 shutil.copytree('pymeshio', PYMESHIO_DIR_IN_BLENDER)
65 description=short_description,
66 long_description=long_description,
67 classifiers=classifiers,
68 keywords=['mqo', 'pmd', 'vmd', 'vpd', 'mmd', 'blender'],
70 author_email='ousttrue@gmail.com',
71 url='http://meshio.sourceforge.jp/',
74 # 'pymeshio': 'blender25-meshio/pymeshio'
76 packages=['pymeshio'],
77 test_suite='nose.collector',
78 tests_require=['Nose'],
79 zip_safe = (sys.version>="2.5"), # <2.5 needs unzipped for -m to work