Skip to content

Commit ef520c6

Browse files
Merge pull request #21 from SpaciousCoder78/development
fix: fixed all build issues with ubuntu and arch linux
2 parents b5af94f + 86a3a27 commit ef520c6

File tree

4 files changed

+125
-8
lines changed

4 files changed

+125
-8
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ test.py
22
bin
33
build
44
dist
5-
search.spec
5+
search.spec
6+
Pipfile.lock

Makefile

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
#Makefile for QuickOverflow
22
#Update 2.1.0 - Added make to replace install.sh
33
#type make into terminal to install QuickOverflow
4-
QuickOverflow: main.c
5-
pip3 install -r requirements.txt --break-system-packages
6-
mkdir -p bin
4+
ubuntu: main.c
5+
sudo apt install pip
6+
sudo apt install pipenv
7+
pipenv install --python 3.13
8+
pipenv run pip3 install -r requirements.txt
9+
pipenv install PyInstaller
710
sudo gcc main.c -o /usr/local/bin/QuickOverflow
811
chmod +x search.py
9-
pyinstaller search.py --onefile
12+
pipenv run pyinstaller --onefile --name search search.py
1013
sudo mv "dist/search" "/usr/local/bin"
1114

1215
arch_linux: main.c
@@ -16,9 +19,10 @@ arch_linux: main.c
1619
sudo pacman -S python-pipenv
1720
sudo pacman -S pyenv
1821
pipenv install --python 3.13
19-
pipenv shell
20-
pip3 install -r requirements.txt
21-
pyinstaller search.py --onefile
22+
pipenv install pyinstaller
23+
# Removed pipenv shell to prevent build interruption
24+
pipenv run pip3 install -r requirements.txt
25+
pipenv run pyinstaller --onefile --name search search.py
2226
sudo mv "dist/search" "/usr/local/bin"
2327

2428
#to remove the binaries, use this

Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ name = "pypi"
55

66
[packages]
77
pyoverflow3 = "*"
8+
pyinstaller = "*"
89

910
[dev-packages]
1011

Pipfile.lock

Lines changed: 111 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)