diff --git a/.github/workflows/theHarvester.yml b/.github/workflows/theHarvester.yml index a958f8ee..b9434ecd 100644 --- a/.github/workflows/theHarvester.yml +++ b/.github/workflows/theHarvester.yml @@ -23,9 +23,13 @@ jobs: uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }} + - name: Install pipenv + run: | + pip install pipenv + - name: Install dependencies run: | - pip install -r requirements.txt + pipenv install - name: Run theHarvester module baidu run: | diff --git a/.travis.yml b/.travis.yml index 815485b6..2c9f9cf1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,8 @@ matrix: - python: '3.8-dev' env: TEST_SUITE=suite_3_8_dev before_install: - - pip install -r requirements.txt + - pip install pipenv + - pipenv install install: - python setup.py test script: diff --git a/Dockerfile b/Dockerfile index 5e096937..fd05a086 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ RUN mkdir /app WORKDIR /app COPY . /app RUN apt-get -qq update -RUN apt-get install -yqq python3-pip -RUN pip3 install -r requirements.txt +RUN apt-get install -yqq pipenv +RUN pipenv install RUN chmod +x *.py ENTRYPOINT ["/app/theHarvester.py"] diff --git a/README.md b/README.md index 926505b1..8f17e7cc 100644 --- a/README.md +++ b/README.md @@ -86,8 +86,8 @@ Add your keys to api-keys.yaml Dependencies: ------------- * Python 3.7+ -* python3 -m pip install -r requirements.txt -* Recommend that you use a virtualenv when cloning from git +* python3 -m pip install pipenv +* pipenv install Comments, bugs, or requests? ---------------------------- diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 4bff3330..00000000 --- a/requirements.txt +++ /dev/null @@ -1,14 +0,0 @@ -aiodns==2.0.0 -beautifulsoup4==4.8.0 -dnspython==1.16.0 -flake8==3.7.8 -grequests==0.4.0 -mypy==0.730 -netaddr==0.7.19 -plotly==4.1.1 -pytest==5.2.0 -PyYaml==5.1.2 -requests==2.22.0 -shodan==1.19.0 -texttable==1.6.2 -retrying==1.3.3 \ No newline at end of file