forked from rednaga/APKiD
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
70 lines (61 loc) · 1.84 KB
/
setup.py
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/usr/bin/env python
from codecs import open
from os import path, walk
from setuptools import setup, find_packages
import apkid
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
def package_files(directory):
paths = []
for (filepath, directories, filenames) in walk(directory):
for filename in filenames:
paths.append(path.join(filepath, filename))
return paths
install_requires = [
'yara-python==3.5.0.999',
'argparse',
]
setup(
name=apkid.__title__,
version=apkid.__version__,
description="Android Package Identifier",
long_description=long_description,
url='https://github.com/rednaga/APKiD',
author=apkid.__author__,
author_email='rednaga@protonmail.com',
license=apkid.__license__,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'License :: Other/Proprietary License',
'Natural Language :: English',
'Programming Language :: Python :: 2.7',
'Topic :: Security',
'Topic :: Utilities',
],
keywords='android analysis reversing malware apk dex',
packages=find_packages('.', exclude=['docs', 'tests']),
package_data={
'rules': package_files('apkid/rules/'),
},
include_package_data=True,
install_requires=install_requires,
dependency_links=[
'https://github.com/rednaga/yara-python/zipball/master#egg=yara-python-3.5.0.999'
],
extras_require={
'dev': [
'pypandoc'
],
'test': [],
},
zip_safe=False,
entry_points={
'console_scripts': [
'apkid=apkid:main',
],
},
)