aboutsummaryrefslogtreecommitdiffstats
path: root/pathod
diff options
context:
space:
mode:
Diffstat (limited to 'pathod')
-rw-r--r--pathod/.appveyor.yml11
-rw-r--r--pathod/.env6
-rw-r--r--pathod/.gitignore15
-rw-r--r--pathod/.landscape.yml16
-rw-r--r--pathod/.travis.yml70
-rw-r--r--pathod/CONTRIBUTORS6
-rw-r--r--pathod/LICENSE19
-rw-r--r--pathod/libpathod/version.py10
-rw-r--r--pathod/release/pathoc.spec22
-rw-r--r--pathod/release/pathod.spec22
-rw-r--r--pathod/requirements.txt2
11 files changed, 1 insertions, 198 deletions
diff --git a/pathod/.appveyor.yml b/pathod/.appveyor.yml
deleted file mode 100644
index dbb6d2fa..00000000
--- a/pathod/.appveyor.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-version: '{build}'
-shallow_clone: true
-environment:
- matrix:
- - PYTHON: "C:\\Python27"
-install:
- - "%PYTHON%\\Scripts\\pip install --src . -r requirements.txt"
- - "%PYTHON%\\python -c \"from OpenSSL import SSL; print(SSL.SSLeay_version(SSL.SSLEAY_VERSION))\""
-build: off # Not a C# project
-test_script:
- - "%PYTHON%\\Scripts\\py.test -n 4" \ No newline at end of file
diff --git a/pathod/.env b/pathod/.env
deleted file mode 100644
index 69ac3f05..00000000
--- a/pathod/.env
+++ /dev/null
@@ -1,6 +0,0 @@
-DIR="$( dirname "${BASH_SOURCE[0]}" )"
-ACTIVATE_DIR="$(if [ -f "$DIR/../venv.mitmproxy/bin/activate" ]; then echo 'bin'; else echo 'Scripts'; fi;)"
-if [ -z "$VIRTUAL_ENV" ] && [ -f "$DIR/../venv.mitmproxy/$ACTIVATE_DIR/activate" ]; then
- echo "Activating mitmproxy virtualenv..."
- source "$DIR/../venv.mitmproxy/$ACTIVATE_DIR/activate"
-fi
diff --git a/pathod/.gitignore b/pathod/.gitignore
deleted file mode 100644
index 7eeeb614..00000000
--- a/pathod/.gitignore
+++ /dev/null
@@ -1,15 +0,0 @@
-# Python object files
-*.py[cd]
-MANIFEST
-/build
-/dist
-# Vim swap files
-*.swp
-/doc
-.coverage
-.noseids
-netlib
-venv
-.idea/
-pathod.egg-info/
-.cache/ \ No newline at end of file
diff --git a/pathod/.landscape.yml b/pathod/.landscape.yml
deleted file mode 100644
index 9a3b615f..00000000
--- a/pathod/.landscape.yml
+++ /dev/null
@@ -1,16 +0,0 @@
-max-line-length: 120
-pylint:
- options:
- dummy-variables-rgx: _$|.+_$|dummy_.+
-
- disable:
- - missing-docstring
- - protected-access
- - too-few-public-methods
- - too-many-arguments
- - too-many-instance-attributes
- - too-many-locals
- - too-many-public-methods
- - too-many-return-statements
- - too-many-statements
- - unpacking-non-sequence \ No newline at end of file
diff --git a/pathod/.travis.yml b/pathod/.travis.yml
deleted file mode 100644
index 92634df7..00000000
--- a/pathod/.travis.yml
+++ /dev/null
@@ -1,70 +0,0 @@
-sudo: false
-language: python
-
-matrix:
- fast_finish: true
- include:
- - python: 2.7
- - python: 2.7
- env: OPENSSL=1.0.2
- addons:
- apt:
- sources:
- # Debian sid currently holds OpenSSL 1.0.2
- # change this with future releases!
- - debian-sid
- packages:
- - libssl-dev
- - python: pypy
- - python: pypy
- env: OPENSSL=1.0.2
- addons:
- apt:
- sources:
- # Debian sid currently holds OpenSSL 1.0.2
- # change this with future releases!
- - debian-sid
- packages:
- - libssl-dev
- allow_failures:
- # We allow pypy to fail until Travis fixes their infrastructure to a pypy
- # with a recent enought CFFI library to run cryptography 1.0+.
- - python: pypy
-
-install:
- - "pip install --src . -r requirements.txt"
-
-before_script:
- - "openssl version -a"
-
-script:
- - "py.test --cov libpathod -v"
-
-after_success:
- - coveralls
-
-notifications:
- irc:
- channels:
- - "irc.oftc.net#mitmproxy"
- on_success: change
- on_failure: always
- slack:
- rooms:
- - mitmproxy:YaDGC9Gt9TEM7o8zkC2OLNsu#ci
- on_success: always
- on_failure: always
-
-# exclude cryptography from cache
-# it depends on libssl-dev version
-# which needs to be compiled specifically to each version
-before_cache:
- - pip uninstall -y cryptography
-
-cache:
- directories:
- - $HOME/.cache/pip
- - /home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages
- - /home/travis/virtualenv/python2.7.9/bin
- - /home/travis/virtualenv/pypy-2.5.0/site-packages
- - /home/travis/virtualenv/pypy-2.5.0/bin
diff --git a/pathod/CONTRIBUTORS b/pathod/CONTRIBUTORS
deleted file mode 100644
index ab76a35c..00000000
--- a/pathod/CONTRIBUTORS
+++ /dev/null
@@ -1,6 +0,0 @@
- 426 Aldo Cortesi
- 74 Maximilian Hils
- 50 Thomas Kriechbaumer
- 1 Felix Yan
- 1 requires.io
- 1 starenka
diff --git a/pathod/LICENSE b/pathod/LICENSE
deleted file mode 100644
index 908aa13f..00000000
--- a/pathod/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2008, Aldo Cortesi. All rights reserved.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/pathod/libpathod/version.py b/pathod/libpathod/version.py
index b99ae40b..63f60a8d 100644
--- a/pathod/libpathod/version.py
+++ b/pathod/libpathod/version.py
@@ -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 = "pathod"
-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 * \ No newline at end of file
diff --git a/pathod/release/pathoc.spec b/pathod/release/pathoc.spec
deleted file mode 100644
index 22649076..00000000
--- a/pathod/release/pathoc.spec
+++ /dev/null
@@ -1,22 +0,0 @@
-# -*- mode: python -*-
-
-from PyInstaller.utils.hooks import collect_data_files
-
-a = Analysis(['../pathoc'],
- binaries=None,
- datas=None,
- hiddenimports=['_cffi_backend'],
- hookspath=None,
- runtime_hooks=None,
- excludes=None)
-pyz = PYZ(a.pure, a.zipped_data)
-exe = EXE(pyz,
- a.scripts,
- a.binaries,
- a.zipfiles,
- a.datas,
- name='pathoc',
- debug=False,
- strip=None,
- upx=True,
- console=True )
diff --git a/pathod/release/pathod.spec b/pathod/release/pathod.spec
deleted file mode 100644
index 706b6b68..00000000
--- a/pathod/release/pathod.spec
+++ /dev/null
@@ -1,22 +0,0 @@
-# -*- mode: python -*-
-
-from PyInstaller.utils.hooks import collect_data_files
-
-a = Analysis(['../pathod'],
- binaries=None,
- datas=collect_data_files("libpathod"),
- hiddenimports=['_cffi_backend'],
- hookspath=None,
- runtime_hooks=None,
- excludes=None)
-pyz = PYZ(a.pure, a.zipped_data)
-exe = EXE(pyz,
- a.scripts,
- a.binaries,
- a.zipfiles,
- a.datas,
- name='pathod',
- debug=False,
- strip=None,
- upx=True,
- console=True )
diff --git a/pathod/requirements.txt b/pathod/requirements.txt
deleted file mode 100644
index 69bd183b..00000000
--- a/pathod/requirements.txt
+++ /dev/null
@@ -1,2 +0,0 @@
--e git+https://github.com/mitmproxy/netlib.git#egg=netlib
--e .[dev] \ No newline at end of file