Skip to content

Commit

Permalink
Merge pull request #288 from DedSecInside/update_release
Browse files Browse the repository at this point in the history
Update release
  • Loading branch information
KingAkeem authored Aug 21, 2023
2 parents 6b624e4 + 18af9d8 commit 7d5227d
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 55 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ venv/
.DS_Store
data/
torbot/modules/nlp/training_data/

# Deployment artifacts
dist
2 changes: 1 addition & 1 deletion gotor
Submodule gotor updated from e2d19c to 59972c
29 changes: 16 additions & 13 deletions install.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
#!/bin/bash

# Makes directory for dependencies and executable to be installed
mkdir -p tmp_build
mkdir -p tmp_dist
echo "Installing torbot"
echo
python -m pip install torbot
echo
echo "TorBot installed. Run with 'python -m torbot'"
echo

pip install pyinstaller
echo "Setting GOPATH to access executable"
export PATH=${PATH}:`go env GOPATH`/bin
echo "New Path ${PATH}"
echo

# Creates executable file and sends dependences to the recently created directories
pyinstaller --onefile --workpath ./tmp_build --distpath ./tmp_dist --paths=src torbot/main.py

# Puts the executable in the current directory
mv tmp_dist/torBot .

# Removes both directories and unneeded file
rm -r tmp_build tmp_dist
rm torBot.spec
echo "Installing gotor"
echo
cd gotor/cmd/main
go install gotor.go
echo "Gotor installed. Run with 'gotor'."

cd ../../..
81 changes: 42 additions & 39 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "torbot"
version = "2.1.0"
version = "3.0.1"
description = "OSINT for the dark web"
authors = ["Akeem King <akeemtlking@gmail.com>"]
license = "GNU GPL"
Expand All @@ -16,7 +16,6 @@ idna = "3.3"
igraph = "0.10.6"
joblib = "1.2.0"
macholib = "1.16"
numpy = "1.25.2"
progress = "1.6"
pyinstaller = "5.13.0"
pyinstaller-hooks-contrib = "2022.7"
Expand All @@ -37,6 +36,7 @@ urllib3 = "1.26.9"
validators = "0.20.0"
yattag = "1.14.0"
treelib = "^1.6.1"
numpy = "1.24.4"

[tool.poetry.dev-dependencies]

Expand Down

0 comments on commit 7d5227d

Please sign in to comment.