add packaging information
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -12,3 +12,7 @@ __pycache__
|
|||||||
|
|
||||||
# remove node_modules from repo
|
# 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 = os.listdir( 'bin/engines' );
|
||||||
engineList.pop( 0 )
|
engineList.pop( 0 )
|
||||||
|
|
||||||
for element in engineList:
|
for element in engineList:
|
||||||
importedModules[ element ] = importlib.import_module( 'bin.engines.' + element + '.' + element ).Scaler()
|
importedModules[ element ] = importlib.import_module( 'bin.engines.' + element + '.' + element ).Scaler()
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ a = Analysis(
|
|||||||
['imagevideoupscaler-cli.py'],
|
['imagevideoupscaler-cli.py'],
|
||||||
pathex=[],
|
pathex=[],
|
||||||
binaries=[],
|
binaries=[],
|
||||||
datas=[('config', 'config')],
|
datas=[],
|
||||||
hiddenimports=[],
|
hiddenimports=[],
|
||||||
hookspath=[],
|
hookspath=[],
|
||||||
hooksconfig={},
|
hooksconfig={},
|
||||||
@@ -26,7 +26,7 @@ exe = EXE(
|
|||||||
a.scripts,
|
a.scripts,
|
||||||
[],
|
[],
|
||||||
exclude_binaries=True,
|
exclude_binaries=True,
|
||||||
name='Image & Video Upscaler',
|
name='imagevideoupscaler',
|
||||||
debug=False,
|
debug=False,
|
||||||
bootloader_ignore_signals=False,
|
bootloader_ignore_signals=False,
|
||||||
strip=False,
|
strip=False,
|
||||||
@@ -46,5 +46,5 @@ coll = COLLECT(
|
|||||||
strip=False,
|
strip=False,
|
||||||
upx=True,
|
upx=True,
|
||||||
upx_exclude=[],
|
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