Skip to content

Commit 860bd0e

Browse files
authored
Merge pull request #118 from johnolafenwa/joolafen/windows-fix
Joolafen/windows fix
2 parents 2bc54ac + 6945061 commit 860bd0e

File tree

301 files changed

+32
-204
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

301 files changed

+32
-204
lines changed

.gitattributes

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
*.pt filter=lfs diff=lfs merge=lfs -text
2-
*.model filter=lfs diff=lfs merge=lfs -text

.github/workflows/pr_test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
sudo apt-get update
3030
sudo add-apt-repository universe
3131
sudo apt-get install -y powershell
32+
- name: Download Binary Dependencies
33+
run: .\download_dependencies.ps1
34+
shell: pwsh
3235
- name: Build DeepStack Go Component
3336
run: cd server && go build
3437
- name: Build DeepStack CPU Version
@@ -88,6 +91,8 @@ jobs:
8891
run: pip install pytest requests
8992
- name: Setup Golang
9093
uses: actions/setup-go@v2
94+
- name: Download Binary Dependencies
95+
run: .\download_dependencies.ps1
9196
- name: Build DeepStack Go Component
9297
run: cd server && go build -o deepstack.exe
9398
- name: Generate CPU Build Script
@@ -104,7 +109,7 @@ jobs:
104109
$ErrorActionPreference = "Stop"
105110
$env:TEST_DATA_DIR=[System.IO.Directory]::GetCurrentDirectory()+"\tests\test_data"
106111
$env:TEST_DEEPSTACK_URL="http://localhost:80"
107-
Start-Process -FilePath "C:\DeepStack\deepstack.exe" -ArgumentList "--PORT 80" -NoNewWindow
112+
Start-Process -FilePath "C:\DeepStack\deepstack.exe" -ArgumentList "--VISION-SCENE=True --PORT 80" -NoNewWindow
108113
Start-Sleep 30
109114
cd scene
110115
python -m pytest

.gitignore

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,13 @@ __pycache__/
1212
*.so
1313

1414
*.exe
15-
!windows_packages/*.exe
16-
!redis/*.exe
17-
!interpreter/*.exe
18-
!windows_setup/*.exe
15+
windows_packages/
16+
windows_packages_cpu/
17+
windows_packages_gpu/
18+
redis/
19+
interpreter/
20+
windows_setup/
21+
sharedfiles/
1922

2023
# Distribution / packaging
2124
.Python

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ Visit [https://docs.deepstack.cc/getting-started](https://docs.deepstack.cc/gett
5858
- **Fetch Repo Files**
5959

6060
``git lfs pull``
61+
- **Download Binary Dependencies With Powershell**
62+
```.\download_dependencies.ps1```
6163

6264
- **Build DeepStack Server**
6365

deepstack-setup-cpu.iss

Lines changed: 0 additions & 97 deletions
This file was deleted.

deepstack-setup-gpu.iss

Lines changed: 0 additions & 97 deletions
This file was deleted.

download_dependencies.ps1

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
function Download($URL, $NAME){
2+
3+
(New-Object System.Net.WebClient).DownloadFile($URL, $NAME+".zip")
4+
Expand-Archive -Path $NAME".zip" -Force
5+
Remove-Item -Path $NAME".zip" -Force
6+
7+
}
8+
9+
Download -URL "https://deepstack.blob.core.windows.net/shared-files/sharedfiles.zip" -NAME "sharedfiles"
10+
Download -URL "https://deepstack.blob.core.windows.net/shared-files/interpreter.zip" -NAME "interpreter"
11+
Download -URL "https://deepstack.blob.core.windows.net/shared-files/redis.zip" -NAME "redis"
12+
Download -URL "https://deepstack.blob.core.windows.net/shared-files/windows_packages_cpu.zip" -NAME "windows_packages_cpu"
13+
Download -URL "https://deepstack.blob.core.windows.net/shared-files/windows_packages_gpu.zip" -NAME "windows_packages_gpu"
14+
Download -URL "https://deepstack.blob.core.windows.net/shared-files/windows_setup.zip" -NAME "windows_setup"

intelligencelayer/shared/shared.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,4 @@ class SharedOptions:
102102
),
103103
}
104104

105-
SETTINGS = PROFILE_SETTINGS[PROFILE]
105+
SETTINGS = PROFILE_SETTINGS[PROFILE]

interpreter/_asyncio.pyd

72 KB
Binary file not shown.

interpreter/_bz2.pyd

92.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)