mirror of
https://github.com/MobSF/Mobile-Security-Framework-MobSF.git
synced 2026-10-12 02:06:59 +00:00
* Move Version to init.py * Default to Use HOME from MobSF v3.4 * Update Checking improvement * New Android Rule AES ECB Default * Update all code locations to dynamically detect config/settings location. * Rescan Code QA Re: #1670
62 lines
1.7 KiB
Python
62 lines
1.7 KiB
Python
#!/usr/bin/env python3
|
|
"""Setup for MobSF."""
|
|
|
|
|
|
from setuptools import (
|
|
find_packages,
|
|
setup,
|
|
)
|
|
|
|
from pathlib import Path
|
|
|
|
|
|
def read(rel_path):
|
|
init = Path(__file__).resolve().parent / rel_path
|
|
return init.read_text('utf-8', 'ignore')
|
|
|
|
|
|
def get_version():
|
|
ver_path = 'mobsf/MobSF/init.py'
|
|
for line in read(ver_path).splitlines():
|
|
if line.startswith('VERSION'):
|
|
return line.split('\'')[1]
|
|
raise RuntimeError('Unable to find version string.')
|
|
|
|
|
|
description = (
|
|
'Mobile Security Framework (MobSF) is an automated,'
|
|
' all-in-one mobile application (Android/iOS/Windows) pen-testing,'
|
|
' malware analysis and security assessment framework capable of '
|
|
'performing static and dynamic analysis.')
|
|
|
|
setup(
|
|
name='mobsf',
|
|
version=get_version(),
|
|
description=description,
|
|
author='Ajin Abraham',
|
|
author_email='[email protected]',
|
|
classifiers=[
|
|
'Development Status :: 4 - Beta',
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
|
|
'Programming Language :: Python :: 3.8',
|
|
'Topic :: Security',
|
|
'Topic :: Software Development :: Quality Assurance',
|
|
],
|
|
packages=find_packages(include=[
|
|
'mobsf', 'mobsf.*',
|
|
]),
|
|
include_package_data=True,
|
|
python_requires='>=3.8<=3.9',
|
|
entry_points={
|
|
'console_scripts': [
|
|
'mobsf = mobsf.__main__:main',
|
|
'mobsfdb = mobsf.__main__:db',
|
|
],
|
|
},
|
|
url='https://github.com/MobSF/Mobile-Security-Framework-MobSF',
|
|
long_description=read('README.md'),
|
|
long_description_content_type='text/markdown',
|
|
install_requires=Path('requirements.txt').read_text().splitlines(),
|
|
)
|