From 05274b31737e14daadf205422ffa0153fbe77c9d Mon Sep 17 00:00:00 2001 From: laiyongbin Date: Fri, 27 Mar 2020 11:16:22 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20=E6=9B=B4=E6=96=B0arsc?= =?UTF-8?q?=E4=B8=AD=E7=9A=84entry=E7=9A=84=E6=9F=A5=E6=89=BE=E6=96=B9?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apkutils/__init__.py | 6 ++++-- requirment.txt | 4 ++-- setup.py | 8 +++++--- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/apkutils/__init__.py b/apkutils/__init__.py index 5381f54..f969b89 100644 --- a/apkutils/__init__.py +++ b/apkutils/__init__.py @@ -5,13 +5,15 @@ import xmltodict from anytree import Node, RenderTree from anytree.resolver import Resolver +from cigam import Magic +from TextWizard import hash + from apkutils import apkfile from apkutils.axml.arscparser import ARSCParser from apkutils.axml.axmlparser import AXML from apkutils.dex.dexparser import DexFile -from cigam import Magic -from TextWizard import hash +__VERSION__ = '0.7.0' # 6E invoke-virtual 110 # 6F invoke-supper diff --git a/requirment.txt b/requirment.txt index bd8aba9..3244b5c 100644 --- a/requirment.txt +++ b/requirment.txt @@ -1,6 +1,6 @@ -xmltodict +anytree cigam pyelftools pyopenssl -anytree TextWizard +xmltodict \ No newline at end of file diff --git a/setup.py b/setup.py index f882217..81b9165 100644 --- a/setup.py +++ b/setup.py @@ -2,6 +2,8 @@ from setuptools import find_packages, setup +from apkutils import __VERSION__ + def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() @@ -10,7 +12,7 @@ def read(fname): setup( name="apkutils", - version='0.6.6', + version=__VERSION__, description=("Utils for parsing apk."), long_description=read('README.rst'), @@ -33,11 +35,11 @@ def read(fname): packages=find_packages(exclude=['contrib', 'docs', 'tests']), install_requires=[ - "xmltodict", + "anytree", "cigam", "pyelftools", "pyopenssl", - "anytree", "TextWizard", + "xmltodict", ], )