blob: d0b5d1291492a7a42dace8ff4eceed9770ad541e [file] [log] [blame]
#!/usr/bin/env python
from distutils.core import setup
VERSION = '2.2'
# clean package directory first
import os.path, shutil, sys
for f in sys.path:
if f.endswith('packages'):
pkgdir = os.path.join(f, 'capstone')
#print(pkgdir)
try:
shutil.rmtree(pkgdir)
except:
pass
setup(
provides = ['capstone'],
packages = ['capstone'],
name = 'capstone',
version = VERSION,
author = 'Nguyen Anh Quynh',
author_email = 'aquynh@gmail.com',
description = 'Capstone disassembly engine',
url = 'http://www.capstone-engine.org',
classifiers = [
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
],
)