2021-07-16 06:05:01 +00:00
|
|
|
# Mobile Verification Toolkit (MVT)
|
|
|
|
# Copyright (c) 2021 MVT Project Developers.
|
|
|
|
# See the file 'LICENSE' for usage and copying permissions, or find a copy at
|
|
|
|
# https://github.com/mvt-project/mvt/blob/main/LICENSE
|
|
|
|
|
|
|
|
import os
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
|
|
__package_name__ = "mvt"
|
2021-07-18 14:31:25 +00:00
|
|
|
__version__ = "1.0.11"
|
2021-07-16 06:05:01 +00:00
|
|
|
__description__ = "Mobile Verification Toolkit"
|
|
|
|
|
|
|
|
this_directory = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
readme_path = os.path.join(this_directory, "README.md")
|
|
|
|
with open(readme_path, encoding="utf-8") as handle:
|
|
|
|
long_description = handle.read()
|
|
|
|
|
|
|
|
requires = (
|
|
|
|
# Base dependencies:
|
2021-07-23 09:08:15 +00:00
|
|
|
"click >= 8.0.1",
|
2021-07-16 06:05:01 +00:00
|
|
|
"rich",
|
|
|
|
"tld",
|
|
|
|
"tqdm",
|
|
|
|
"requests",
|
|
|
|
"simplejson",
|
|
|
|
# iOS dependencies:
|
|
|
|
"biplist",
|
|
|
|
"iOSbackup",
|
|
|
|
# Android dependencies:
|
|
|
|
"adb-shell",
|
|
|
|
"libusb1",
|
|
|
|
)
|
|
|
|
|
|
|
|
def get_package_data(package):
|
|
|
|
walk = [(dirpath.replace(package + os.sep, "", 1), filenames)
|
|
|
|
for dirpath, dirnames, filenames in os.walk(package)
|
|
|
|
if not os.path.exists(os.path.join(dirpath, "__init__.py"))]
|
|
|
|
|
|
|
|
filepaths = []
|
|
|
|
for base, filenames in walk:
|
|
|
|
filepaths.extend([os.path.join(base, filename)
|
|
|
|
for filename in filenames])
|
|
|
|
return {package: filepaths}
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name=__package_name__,
|
|
|
|
version=__version__,
|
|
|
|
description=__description__,
|
|
|
|
long_description=long_description,
|
2021-07-18 14:31:25 +00:00
|
|
|
long_description_content_type="text/markdown",
|
|
|
|
url="https://github.com/mvt-project/mvt",
|
2021-07-16 06:05:01 +00:00
|
|
|
entry_points={
|
|
|
|
"console_scripts": [
|
|
|
|
"mvt-ios = mvt.ios:cli",
|
|
|
|
"mvt-android = mvt.android:cli",
|
|
|
|
],
|
|
|
|
},
|
|
|
|
install_requires=requires,
|
|
|
|
packages=find_packages(),
|
|
|
|
package_data=get_package_data("mvt"),
|
|
|
|
include_package_data=True,
|
|
|
|
keywords="security mobile forensics malware",
|
|
|
|
license="MVT",
|
|
|
|
classifiers=[
|
|
|
|
],
|
|
|
|
)
|