Update ci and dockerfile to use pipenv

This commit is contained in:
L1ghtn1ng 2019-10-12 23:27:39 +01:00
parent a54a4558f2
commit fd2c681e42
5 changed files with 11 additions and 20 deletions

View file

@ -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: |

View file

@ -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:

View file

@ -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"]

View file

@ -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?
----------------------------

View file

@ -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