make newer signatures and extractors work, update readme links

This commit is contained in:
Jurriaan Bremer
2017-12-03 07:52:01 +01:00
parent 0749faaa0f
commit 404d4918f3
4 changed files with 27 additions and 5 deletions
+3
View File
@@ -54,6 +54,9 @@ install:
# Fetch monitor & stuff which is required for CWD migration tests.
- python stuff/monitor.py
# Bump the version of Cuckoo during tests (e.g., for new Signatures).
- python stuff/patch_version.py setup.py 3.0
- pip install -U pip setuptools
- python setup.py sdist
- pip install -e .
+5 -5
View File
@@ -33,17 +33,17 @@ This is a development version, we do not recommend its use in production.
You can find a full documentation of the latest stable release
`here <http://docs.cuckoosandbox.org/>`_.
.. image:: https://travis-ci.org/cuckoosandbox/cuckoo.png?branch=package
.. image:: https://travis-ci.org/cuckoosandbox/cuckoo.png?branch=master
:alt: Linux Build Status
:target: https://travis-ci.org/cuckoosandbox/cuckoo
.. image:: https://ci.appveyor.com/api/projects/status/p892esebjdbhq653/branch/package?svg=true
.. image:: https://ci.appveyor.com/api/projects/status/p892esebjdbhq653/branch/master?svg=true
:alt: Windows Build Status
:target: https://ci.appveyor.com/project/jbremer/cuckoo/branch/package
:target: https://ci.appveyor.com/project/jbremer/cuckoo/branch/master
.. image:: https://coveralls.io/repos/github/cuckoosandbox/cuckoo/badge.svg?branch=package
.. image:: https://coveralls.io/repos/github/cuckoosandbox/cuckoo/badge.svg?branch=master
:alt: Coverage Coverage Status
:target: https://coveralls.io/github/cuckoosandbox/cuckoo?branch=package
:target: https://coveralls.io/github/cuckoosandbox/cuckoo?branch=master
.. image:: https://codecov.io/gh/cuckoosandbox/cuckoo/branch/master/graph/badge.svg
:alt: Codecov Coverage Status
+3
View File
@@ -18,6 +18,9 @@ install:
# Fetch monitor & stuff which is required for setup & CWD migration tests.
- "python.exe stuff/monitor.py"
# Bump the version of Cuckoo during tests (e.g., for new Signatures).
- "python.exe stuff/patch_version.py setup.py 3.0"
- "python.exe setup.py sdist"
- "pip.exe install -e ."
- "pip.exe install psycopg2 mysqlclient==1.3.9 codecov flask-testing"
+16
View File
@@ -0,0 +1,16 @@
# Copyright (C) 2017 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import re
import sys
if __name__ == "__main__":
if len(sys.argv) != 3:
print "Usage: python %s <setup.py> <version>" % sys.argv[0]
exit(1)
# Patches the version="..." string in setup.py.
buf = open(sys.argv[1], "rb").read()
buf = re.sub('version="(.*)"', 'version="%s"' % sys.argv[2], buf)
open(sys.argv[1], "wb").write(buf)