#!/usr/bin/env python

from setuptools import setup, find_packages

setup(
    name='androguard',
    description='Androguard is a full python tool to play with Android files.',
    version='3.0',
    packages=find_packages(),
    scripts=['androaxml.py',
             'androcsign.py',
             'androdiff.py',
             'androlyze.py',
             'androsign.py',
             'androsim.py',
             'androdd.py',
             'androgui.py',],
    install_requires=['distribute'],)

#!/usr/bin/env python
import sys
import os

from setuptools import setup, find_packages

# TODO this is actually a hack... How to copy the files to the right folder?
guidir = os.path.join(sys.prefix, 'Scripts', 'androguard', 'gui')
if not os.path.isdir(guidir):
    os.makedirs(guidir)

setup(
    name='androguard',
    description='Androguard is a full python tool to play with Android files.',
    version='3.0',
    packages=find_packages(),
    data_files = [(guidir, ["androguard/gui/annotation.ui", "androguard/gui/search.ui", "androguard/gui/androguard.ico"])],
    scripts=['androaxml.py',
             'androcsign.py',
             'androdiff.py',
             'androlyze.py',
             'androsign.py',
             'androsim.py',
             'androdd.py',
             'androgui.py',],
    install_requires=['distribute', 'pyperclip', 'future'],)

install additional files