add packaging information
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -11,4 +11,8 @@
|
||||
__pycache__
|
||||
|
||||
# remove node_modules from repo
|
||||
node_modules
|
||||
node_modules
|
||||
|
||||
# ignore build & dist folders
|
||||
build
|
||||
dist
|
||||
Binary file not shown.
@@ -22,6 +22,7 @@ importedModules = {}
|
||||
|
||||
engineList = os.listdir( 'bin/engines' );
|
||||
engineList.pop( 0 )
|
||||
|
||||
for element in engineList:
|
||||
importedModules[ element ] = importlib.import_module( 'bin.engines.' + element + '.' + element ).Scaler()
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ a = Analysis(
|
||||
['imagevideoupscaler-cli.py'],
|
||||
pathex=[],
|
||||
binaries=[],
|
||||
datas=[('config', 'config')],
|
||||
datas=[],
|
||||
hiddenimports=[],
|
||||
hookspath=[],
|
||||
hooksconfig={},
|
||||
@@ -26,7 +26,7 @@ exe = EXE(
|
||||
a.scripts,
|
||||
[],
|
||||
exclude_binaries=True,
|
||||
name='Image & Video Upscaler',
|
||||
name='imagevideoupscaler',
|
||||
debug=False,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
@@ -46,5 +46,5 @@ coll = COLLECT(
|
||||
strip=False,
|
||||
upx=True,
|
||||
upx_exclude=[],
|
||||
name='imagevideoupscaler-cli',
|
||||
name='imagevideoupscaler',
|
||||
)
|
||||
16
package.sh
Normal file
16
package.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#! /bin/bash
|
||||
|
||||
# Make linux executable
|
||||
pyinstaller imagevideoupscaler-cli.spec
|
||||
mv -r ./dist/imagevideupscaler ./dist/imagevideupscaler-linux
|
||||
cp -r ./bin ./dist/imagevideupscaler-linux
|
||||
cp -r ./config ./dist/imagevideupscaler-linux
|
||||
cp ./imagevideupscaler-cli.py ./dist/imagevideupscaler-linux
|
||||
cp ./LICENSE ./dist/imagevideupscaler-linux
|
||||
cp ./logo.png ./dist/imagevideupscaler-linux
|
||||
|
||||
# package rpm & deb
|
||||
# TODO: create packager
|
||||
|
||||
# Make windows executable
|
||||
# TODO: create compiler
|
||||
Reference in New Issue
Block a user