Skip to content

Commit

Permalink
Merge pull request #310 from mwrlabs/develop
Browse files Browse the repository at this point in the history
versioning fixes and updates to appveyor config
  • Loading branch information
amarekano authored Nov 9, 2017
2 parents 9a5a0bc + 91132dd commit 5879d52
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
environment:

matrix:
- PYTHON: "C:\\Python27"
JAVA_HOME: "C:\\Program Files (x86)\\Java\\jdk1.7.0"
- PYTHON: "C:\\Python27-x64"
JAVA_HOME: "C:\\Program Files\\Java\\jdk1.7.0"

Expand Down
10 changes: 9 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,17 @@ def get_package_data():
data[""].append(os.path.join(root, filename)[11:])
return data

def get_version():
version_cmd = ['git', 'describe', '--tags', '|' ,'cut', '-c', '1-5']

if platform == "linux2" or platform == "linux":
return subprocess.check_output(' '.join(version_cmd),shell=True)
elif platform == "win32":
return subprocess.check_output(version_cmd,shell=True)

setuptools.setup(
name = meta.name,
version = str(meta.version),
version = get_version(),
author = meta.vendor,
author_email = meta.contact,
description = meta.description,
Expand Down
2 changes: 1 addition & 1 deletion src/drozer/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __str__(self):

name = "drozer"
vendor = "MWR InfoSecurity"
version = Version("2.4.3", "2017-03-09")
version = Version("2.4.4", "2017-11-09")

contact = "drozer@mwrinfosecurity.com"
description = "The Leading Android Security Testing Framework"
Expand Down

0 comments on commit 5879d52

Please sign in to comment.