Added Makefile to build a binary of fgg using the Nuitka Python compiler.
This needs required libraries installed using pip or the OS package manager. It fails executing the resulting binary if libraries are only installed in a virtual environment (venv).
This commit is contained in:
parent
a6d99ee5f7
commit
51c979582c
4 changed files with 19 additions and 2 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -1,9 +1,9 @@
|
|||
.idea
|
||||
fgg.build
|
||||
out
|
||||
photo/*
|
||||
photos/*
|
||||
tmp/*.dump.json
|
||||
venv
|
||||
|
||||
fgg.bin
|
||||
bin/fgg
|
||||
fgg.iml
|
||||
16
Makefile
Normal file
16
Makefile
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
all:
|
||||
nuitka3 --follow-imports --output-dir=./out/ -o ./bin/fgg fgg
|
||||
|
||||
clean:
|
||||
rm -rf ./bin/fgg
|
||||
rm -rf ./out
|
||||
|
||||
flushcache:
|
||||
rm -rf ./cache/*
|
||||
|
||||
flushphotos:
|
||||
rm -rf ./photo/*
|
||||
rm -rf ./photos/*
|
||||
|
||||
gallery:
|
||||
./bin/fgg
|
||||
0
bin/.gitkeep
Normal file
0
bin/.gitkeep
Normal file
1
fgg
1
fgg
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
# fgg - A free gallery generator for static site generators like Hugo, Jekyll,
|
||||
# Nikola etc. using Flickr as data source.
|
||||
# Source repository: https://git.unixpeople.org/hanez/fgg
|
||||
|
||||
# Copyright (c) 2022 Johannes Findeisen
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue