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
38 * add tkinter viewer sample
46 'Programming Language :: Python :: 3',
47 'License :: OSI Approved :: zlib/libpng License',
48 'Topic :: Multimedia :: Graphics :: 3D Modeling',
51 # copy pymeshio dir for blender25 plugin
52 PYMESHIO_DIR_IN_BLENDER='blender25-meshio/pymeshio'
53 if os.path.exists(PYMESHIO_DIR_IN_BLENDER):
54 shutil.rmtree(PYMESHIO_DIR_IN_BLENDER)
55 print("copy pymeshio to blender-25")
56 shutil.copytree('pymeshio', PYMESHIO_DIR_IN_BLENDER)
61 description=short_description,
62 long_description=long_description,
63 classifiers=classifiers,
64 keywords=['mqo', 'pmd', 'vmd', 'vpd', 'mmd', 'blender'],
66 author_email='ousttrue@gmail.com',
67 url='http://meshio.sourceforge.jp/',
70 # 'pymeshio': 'blender25-meshio/pymeshio'
72 packages=['pymeshio'],
73 test_suite='nose.collector',
74 tests_require=['Nose'],
75 zip_safe = (sys.version>="2.5"), # <2.5 needs unzipped for -m to work