File: setup.py

package info (click to toggle)
capstone 2.1.2-2.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 13,784 kB
  • ctags: 16,635
  • sloc: ansic: 99,525; pascal: 26,376; python: 5,637; java: 5,426; ml: 3,961; makefile: 484; sh: 110; ruby: 12
file content (33 lines) | stat: -rw-r--r-- 803 bytes parent folder | download
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
#!/usr/bin/env python

from distutils.core import setup

VERSION = '2.1'

# 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',
                ],
)