Python Forum
What do you think of this procedure to create a path to a folder
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What do you think of this procedure to create a path to a folder
#3
this sentence from the beginning of the link content:
" Your app should run in a bundle exactly as it does when run from source"
indicates that the application should work in a virtual environment with pyinstaller in the same way with the source code
I think I have somme problems to understand well this concept
for information , I proceeded to create the executable via the file file.spec :

# -*- mode: python ; coding: utf-8 -*-

block_cipher = None


a = Analysis(['index.py'],
             pathex=['test\\Lib\\site-packages\\PyQt5\\Qt\\bin'],
             binaries=[],
             datas=[],
             hiddenimports=[],
             hookspath=[],
             runtime_hooks=[],
             excludes=[],
             win_no_prefer_redirects=False,
             win_private_assemblies=False,
             cipher=block_cipher,
             noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
             cipher=block_cipher)
exe = EXE(pyz,
          a.scripts,
          [],
          exclude_binaries=True,
          name='index',
          debug=False,
          bootloader_ignore_signals=False,
          strip=False,
          upx=True,
          console=True )
coll = COLLECT(exe,
               a.binaries,
               a.zipfiles,
               a.datas,
               strip=False,
               upx=True,
               upx_exclude=[],
               name='index')
Reply


Messages In This Thread
RE: What do you think of this procedure to create a path to a folder - by atlass218 - Sep-02-2019, 06:06 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Create dual folder on different path/drive based on the date agmoraojr 2 494 Jan-21-2024, 10:02 AM
Last Post: snippsat
  python script is hanging while calling a procedure in database prasanthi417 4 596 Jan-17-2024, 02:33 PM
Last Post: deanhystad
  Compare folder A and subfolder B and display files that are in folder A but not in su Melcu54 3 617 Jan-05-2024, 05:16 PM
Last Post: Pedroski55
  create a default path with idle to a specific directory greybill 0 894 Apr-23-2023, 04:32 AM
Last Post: greybill
  python call stored procedure mg24 2 1,121 Oct-18-2022, 02:19 AM
Last Post: mg24
  python call stored procedure with two parameter mg24 4 1,611 Sep-27-2022, 05:02 AM
Last Post: deanhystad
  Compare filename with folder name and copy matching files into a particular folder shantanu97 2 4,573 Dec-18-2021, 09:32 PM
Last Post: Larz60+
  WebDriverException: Message: 'PATH TO CHROME DRIVER' executable needs to be in PATH Led_Zeppelin 1 2,246 Sep-09-2021, 01:25 PM
Last Post: Yoriz
  Move file from one folder to another folder with timestamp added end of file shantanu97 0 2,508 Mar-22-2021, 10:59 AM
Last Post: shantanu97
  Python Cut/Copy paste file from folder to another folder rdDrp 4 5,145 Aug-19-2020, 12:40 PM
Last Post: rdDrp

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020