Skip to content

Commit

Permalink
Clean up package metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebFenton committed Jul 26, 2016
1 parent 7f28d6c commit 0a1672f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
5 changes: 4 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
include LICENSE.md
include README.md
include LICENSE.COMMERCIAL
include LICENSE.GPL

include apkid/rules/rules.yarc
13 changes: 10 additions & 3 deletions apkid/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Copyright (C) 2016 RedNaga. http://rednaga.io
All rights reserved. Contact: rednaga@protonmail.com
Expand All @@ -24,10 +26,16 @@
requirements will be met.
'''


__title__ = 'apkid'
__version__ = '0.9.3'
__author__ = 'Caleb Fenton & Tim Strazzere'
__license__ = 'GPL & Commercial'
__copyright__ = 'Copyright (C) 2016 RedNaga'

import argparse
import yara
import apkid
import pkg_resources


def main():
Expand All @@ -44,6 +52,5 @@ def main():
aid = apkid.APKiD(args.files, args.timeout, args.json)

if not args.json:
version = pkg_resources.get_distribution("apkid").version
print "[!] APKiD %s :: from RedNaga :: rednaga.io" % version
print "[!] APKiD %s :: from RedNaga :: rednaga.io" % __version__
aid.scan()
11 changes: 6 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
from codecs import open
from os import path, walk

import apkid

here = path.abspath(path.dirname(__file__))

with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
Expand All @@ -16,25 +18,24 @@ def package_files(directory):
print paths
return paths

version = '0.9.3'
install_requires = [
'yara-python==3.4.0.999'
]

setup(
name='apkid',
name=apkid.__title__,

version=version,
version=apkid.__version__,

description="Android Package Identifier",
long_description=long_description,

url='https://github.com/rednaga/APKiD',

author='RedNaga',
author=apkid.__author__,
author_email='rednaga@protonmail.com',

license='Dual ',
license=apkid.__license__,

classifiers=[
'Development Status :: 4 - Beta',
Expand Down

0 comments on commit 0a1672f

Please sign in to comment.