Marco Sirabella 4 weeks ago committed by GitHub
commit cbdddea18b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -18,9 +18,9 @@ LABEL org.label-schema.vcs-ref=$VCS_REF \
COPY --from=build /wheels /wheels COPY --from=build /wheels /wheels
COPY . /opt/sherlock/ COPY . /opt/sherlock/
RUN pip3 install --no-cache-dir -r requirements.txt -f /wheels \ RUN pip3 install --no-cache-dir . -f /wheels \
&& rm -rf /wheels && rm -rf /wheels
WORKDIR /opt/sherlock/sherlock WORKDIR /opt/sherlock/sherlock
ENTRYPOINT ["python", "sherlock.py"] ENTRYPOINT ["sherlock"]

@ -25,20 +25,13 @@
## Installation ## Installation
```console ```console
# clone the repo pip install git+https://github.com/sherlock-project/sherlock.git
$ git clone https://github.com/sherlock-project/sherlock.git
# change the working directory to sherlock
$ cd sherlock
# install the requirements
$ python3 -m pip install -r requirements.txt
``` ```
## Usage ## Usage
```console ```console
$ python3 sherlock --help $ sherlock --help
usage: sherlock [-h] [--version] [--verbose] [--folderoutput FOLDEROUTPUT] usage: sherlock [-h] [--version] [--verbose] [--folderoutput FOLDEROUTPUT]
[--output OUTPUT] [--tor] [--unique-tor] [--csv] [--xlsx] [--output OUTPUT] [--tor] [--unique-tor] [--csv] [--xlsx]
[--site SITE_NAME] [--proxy PROXY_URL] [--json JSON_FILE] [--site SITE_NAME] [--proxy PROXY_URL] [--json JSON_FILE]

@ -0,0 +1,23 @@
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[project.scripts]
sherlock = "sherlock:main"
[project.urls]
Homepage = "http://sherlock-project.github.io/"
Repository = "https://github.com/sherlock-project/sherlock.git"
Issues = "https://github.com/sherlock-project/sherlock/issues"
[project]
name = "sherlock"
readme = "README.md"
license = {file = "LICENSE"}
dynamic = ["dependencies", "version"]
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[tool.setuptools]
package-dir = {"" = "sherlock"}
Loading…
Cancel
Save