Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
language: python

python:
- "2.7"

sudo: required

dist: trusty

install:
- sudo apt-get update -q
- sudo apt-get install libfuzzy2 libfuzzy-dev ssdeep
- wget https://github.com/plusvic/yara/archive/v3.4.0.tar.gz
- tar zxvf v3.4.0.tar.gz
- pushd yara-3.4.0
- ./bootstrap.sh
- ./configure
- make
- sudo make install
- sudo ldconfig
- pushd yara-python
- python setup.py build
- python setup.py install
- popd
- popd
- pip install -U pip setuptools python-magic yapsy simplejson pydeep
- if [ $(python -c 'import sys; print(sys.version_info.major)') == '2' ]; then pip install pefile distorm3 ; fi
- python setup.py build
- python setup.py install

script:
- python setup.py test
- mas.py -h
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
if sys.version_info < (2, 6, 6):
sys.stderr.write("Mastiff requires python version 2.6.6")
sys.exit(1)

setup(
author='Tyler Hudak',
author_email='[email protected]',
data_files=[('/etc/mastiff', ['mastiff.conf'])],
#data_files=[('/etc/mastiff', ['mastiff.conf'])],
description="""MASTIFF is a static analysis automation framework.""",
install_requires=['Yapsy == 1.10, !=1.10-python3'],
install_requires=['yapsy'],
license='Apache License V2.0',
long_description="""MASTIFF is a static analysis framework that automates the
process of extracting key characteristics from a number of different file
Expand All @@ -38,8 +38,8 @@
rather than figuring out how to parse files.""",
maintainer='Tyler Hudak',
maintainer_email='[email protected]',
name='mastiff',
packages=find_packages(),
name='mastiff',
packages=find_packages(),
package_data={'': ['*.py', '*.yapsy-plugin'] },
platforms=['Linux'],
scripts=['mas.py'],
Expand Down