Skip to content

Commit

Permalink
merge metadata files
Browse files Browse the repository at this point in the history
  • Loading branch information
mhils committed Feb 15, 2016
1 parent dd2c500 commit 95cef3c
Show file tree
Hide file tree
Showing 39 changed files with 46 additions and 420 deletions.
File renamed without changes.
6 changes: 6 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
DIR="$( dirname "${BASH_SOURCE[0]}" )"
ACTIVATE_DIR="$(if [ -f "$DIR/venv/bin/activate" ]; then echo 'bin'; else echo 'Scripts'; fi;)"
if [ -z "$VIRTUAL_ENV" ] && [ -f "$DIR/venv/$ACTIVATE_DIR/activate" ]; then
echo "Activating mitmproxy virtualenv..."
source "$DIR/venv/$ACTIVATE_DIR/activate"
fi
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
mitmproxy/libmproxy/web/static/**/* -diff
mitmproxy/web/src/js/filt/filt.js -diff
19 changes: 19 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.DS_Store
MANIFEST
*/build
*/dist
*/tmp
/venv
*.py[cdo]
*.swp
*.swo
*.egg-info/
.coverage
.idea
.cache/

# UI

node_modules
bower_components
*.map
8 changes: 4 additions & 4 deletions mitmproxy/.landscape.yml → .landscape.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ignore-paths:
- docs
- examples
- libmproxy/contrib
- web
- mitmproxy/docs
- mitmproxy/examples
- mitmproxy/libmproxy/contrib
- mitmproxy/web
max-line-length: 140
pylint:
options:
Expand Down
4 changes: 3 additions & 1 deletion mitmproxy/.travis.yml → .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ install:
source "$HOME/virtualenvs/pypy-$PYPY_VERSION/bin/activate"
fi
- "pip install -U pip setuptools"
- "pip install --src .. -r requirements.txt"
- "pip install -e ./netlib[dev]"
- "pip install -e ./pathod[dev]"
- "pip install -e ./mitmproxy[dev,contentviews,examples]"

before_script:
- "openssl version -a"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 4 additions & 2 deletions mitmproxy/dev → dev
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#!/bin/bash
set -e
VENV=../venv.mitmproxy
VENV=./venv

python -m virtualenv $VENV --always-copy
. $VENV/bin/activate
pip install --src .. -r requirements.txt
pip install -e ./netlib[dev]
pip install -e ./pathod[dev]
pip install -e ./mitmproxy[dev,examples,contentviews]

echo ""
echo "* Created virtualenv environment in $VENV."
Expand Down
8 changes: 6 additions & 2 deletions mitmproxy/dev.bat → dev.bat
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
@echo off
set VENV=..\venv.mitmproxy
set VENV=.\venv

virtualenv %VENV% --always-copy
if %errorlevel% neq 0 exit /b %errorlevel%
call %VENV%\Scripts\activate.bat
if %errorlevel% neq 0 exit /b %errorlevel%
pip install --src .. -r requirements.txt
pip install -e ./netlib[dev]
if %errorlevel% neq 0 exit /b %errorlevel%
pip install -e ./pathod[dev]
if %errorlevel% neq 0 exit /b %errorlevel%
pip install -e ./mitmproxy[dev,examples,contentviews]
if %errorlevel% neq 0 exit /b %errorlevel%

echo.
Expand Down
6 changes: 0 additions & 6 deletions mitmproxy/.env

This file was deleted.

2 changes: 0 additions & 2 deletions mitmproxy/.gitattributes

This file was deleted.

28 changes: 0 additions & 28 deletions mitmproxy/.gitignore

This file was deleted.

10 changes: 1 addition & 9 deletions mitmproxy/libmproxy/version.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
from __future__ import (absolute_import, print_function, division)

IVERSION = (0, 17)
VERSION = ".".join(str(i) for i in IVERSION)
MINORVERSION = ".".join(str(i) for i in IVERSION[:2])
NAME = "mitmproxy"
NAMEVERSION = NAME + " " + VERSION

NEXT_MINORVERSION = list(IVERSION)
NEXT_MINORVERSION[1] += 1
NEXT_MINORVERSION = ".".join(str(i) for i in NEXT_MINORVERSION[:2])
from netlib.version import *
3 changes: 0 additions & 3 deletions mitmproxy/requirements.txt

This file was deleted.

11 changes: 0 additions & 11 deletions netlib/.appveyor.yml

This file was deleted.

6 changes: 0 additions & 6 deletions netlib/.env

This file was deleted.

16 changes: 0 additions & 16 deletions netlib/.gitignore

This file was deleted.

16 changes: 0 additions & 16 deletions netlib/.landscape.yml

This file was deleted.

98 changes: 0 additions & 98 deletions netlib/.travis.yml

This file was deleted.

22 changes: 0 additions & 22 deletions netlib/CONTRIBUTORS

This file was deleted.

19 changes: 0 additions & 19 deletions netlib/LICENSE

This file was deleted.

20 changes: 0 additions & 20 deletions netlib/check_coding_style.sh

This file was deleted.

1 change: 0 additions & 1 deletion netlib/requirements.txt

This file was deleted.

11 changes: 0 additions & 11 deletions pathod/.appveyor.yml

This file was deleted.

6 changes: 0 additions & 6 deletions pathod/.env

This file was deleted.

Loading

0 comments on commit 95cef3c

Please sign in to comment.