Commit fcc62076 authored by Michal Horejsek's avatar Michal Horejsek

honeypot_proxy => haas_proxy

parent ab02d270
...@@ -27,16 +27,16 @@ prepare-dev: ...@@ -27,16 +27,16 @@ prepare-dev:
gem install --no-ri --no-rdoc fpm gem install --no-ri --no-rdoc fpm
test: test:
if [ `which python2` ]; then python2 -m pytest test_honeypot_proxy.py; fi if [ `which python2` ]; then python2 -m pytest test_haas_proxy.py; fi
if [ `which python3` ]; then python3 -m pytest test_honeypot_proxy.py; fi if [ `which python3` ]; then python3 -m pytest test_haas_proxy.py; fi
lint: lint:
python3 -m pylint --rcfile=pylintrc honeypot_proxy.py python3 -m pylint --rcfile=pylintrc haas_proxy.py
run-py2: run-py2:
sudo python2 honeypot_proxy.py --device-token 42 sudo python2 haas_proxy.py --device-token 42
run-py3: run-py3:
sudo python3 honeypot_proxy.py --device-token 42 sudo python3 haas_proxy.py --device-token 42
build: build:
# Debian packages # Debian packages
......
...@@ -19,7 +19,7 @@ Store it in some path and then pass it as: ...@@ -19,7 +19,7 @@ Store it in some path and then pass it as:
Example usage: Example usage:
$ honeypot_proxy.py --device-token XXX $ haas_proxy.py --device-token XXX
""" """
import argparse import argparse
......
...@@ -23,7 +23,7 @@ setup( ...@@ -23,7 +23,7 @@ setup(
name='haas-proxy', name='haas-proxy',
version='1.0', version='1.0',
packages=[], packages=[],
scripts=['honeypot_proxy.py'], scripts=['haas_proxy.py'],
install_requires=[ install_requires=[
'twisted[conch]>={}'.format(TWISTED_VERSION), 'twisted[conch]>={}'.format(TWISTED_VERSION),
......
...@@ -8,7 +8,7 @@ except ImportError: ...@@ -8,7 +8,7 @@ except ImportError:
import pytest import pytest
from honeypot_proxy import force_text, ProxySSHSession from haas_proxy import force_text, ProxySSHSession
@pytest.fixture @pytest.fixture
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment