add files needed for building

This commit is contained in:
Izalia Mae 2022-05-03 10:58:04 -04:00
parent 04befb57da
commit 1e76fa6e8e
4 changed files with 52 additions and 0 deletions

2
build.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
python3 -m PyInstaller pyvenv.spec

3
pyvenv.py Normal file
View file

@ -0,0 +1,3 @@
from pyvenv.cli import main
main()

44
pyvenv.spec Normal file
View file

@ -0,0 +1,44 @@
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
a = Analysis(
['pyvenv.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
hooksconfig={},
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,
a.binaries,
a.zipfiles,
a.datas,
[],
name='pyvenv',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)

View file

@ -0,0 +1,3 @@
click==8.1.3
setuptools==62.1.0
watchdog==2.1.7