Skip to content

Commit

Permalink
pyprompt is back and it works now
Browse files Browse the repository at this point in the history
FOR GODS SAKE FINALLY
  • Loading branch information
eepyeunomia committed Jul 22, 2023
1 parent 5d9bc3f commit fd0a603
Show file tree
Hide file tree
Showing 17 changed files with 4,054 additions and 3 deletions.
45 changes: 45 additions & 0 deletions PyPrompt.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# -*- mode: python ; coding: utf-8 -*-


block_cipher = None


a = Analysis(
['C:/Users/joalricha/Documents/GitHub/PyPrompt'],
pathex=[],
binaries=[],
datas=[('C:/Users/joalricha/Documents/GitHub/PyPrompt/wordlist.txt', '.')],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=['tkinter'],
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='PyPrompt',
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,
icon=['C:\\Users\\joalricha\\Documents\\GitHub\\PyPrompt\\pyprompt.ico'],
)
89 changes: 89 additions & 0 deletions altSettingsjoalricha.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"version": "auto-py-to-exe-configuration_v1",
"pyinstallerOptions": [
{
"optionDest": "noconfirm",
"value": true
},
{
"optionDest": "filenames",
"value": "C:/Users/joalricha/Documents/GitHub/PyPrompt/main.py"
},
{
"optionDest": "onefile",
"value": true
},
{
"optionDest": "console",
"value": true
},
{
"optionDest": "icon_file",
"value": "C:/Users/joalricha/Documents/GitHub/PyPrompt/pyprompt.ico"
},
{
"optionDest": "upx_dir",
"value": "C:/Users/joalricha/Documents/GitHub/PyPrompt/upx-4.0.2-win64"
},
{
"optionDest": "ascii",
"value": false
},
{
"optionDest": "clean_build",
"value": false
},
{
"optionDest": "strip",
"value": false
},
{
"optionDest": "noupx",
"value": false
},
{
"optionDest": "disable_windowed_traceback",
"value": false
},
{
"optionDest": "embed_manifest",
"value": true
},
{
"optionDest": "uac_admin",
"value": false
},
{
"optionDest": "uac_uiaccess",
"value": false
},
{
"optionDest": "win_private_assemblies",
"value": false
},
{
"optionDest": "win_no_prefer_redirects",
"value": false
},
{
"optionDest": "bootloader_ignore_signals",
"value": false
},
{
"optionDest": "argv_emulation",
"value": false
},
{
"optionDest": "excludes",
"value": "tkinter"
},
{
"optionDest": "datas",
"value": "C:/Users/joalricha/Documents/GitHub/PyPrompt/wordlist.txt;."
}
],
"nonPyinstallerOptions": {
"increaseRecursionLimit": true,
"manualArguments": ""
}
}
23 changes: 23 additions & 0 deletions build/PyPrompt/PyPrompt.exe.manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity type="win32" name="PyPrompt" processorArchitecture="amd64" version="1.0.0.0"/>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" language="*" processorArchitecture="*" version="6.0.0.0" publicKeyToken="6595b64144ccf1df"/>
</dependentAssembly>
</dependency>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
</application>
</compatibility>
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
</windowsSettings>
</application>
</assembly>
Binary file added build/PyPrompt/base_library.zip
Binary file not shown.
1 change: 1 addition & 0 deletions compilealtpc.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pyinstaller --noconfirm --onefile --console --icon "C:/Users/joalricha/Documents/GitHub/PyPrompt/pyprompt.ico" --upx-dir "C:/Users/joalricha/Documents/GitHub/PyPrompt/upx-4.0.2-win64" --exclude-module "tkinter" --add-data "C:/Users/joalricha/Documents/GitHub/PyPrompt/wordlist.txt;." "C:/Users/joalricha/Documents/GitHub/PyPrompt
1 change: 1 addition & 0 deletions fixSetuptools.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python.exe -m pip install --upgrade pip setuptools
9 changes: 6 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@
from http.server import BaseHTTPRequestHandler, HTTPServer
import requests
import sys
import pip
import openai
from bitcoinlib.wallets import Wallet
import pathlib
import warnings

Expand All @@ -83,6 +81,11 @@
from blessed import *
from blessed import Terminal

try:
pass
except Warning:
pass

try:
pass
except Exception:
Expand Down Expand Up @@ -145,7 +148,7 @@ def warnings():
print(term.bold_red("| |"))
print(term.bold_red("|_________________________________________________________________________________|"))
# if not beta build disable 'warnings()'
#warnings()
warnings()
print(" ")
hostnamecomputer = socket.gethostname()
global current_dir
Expand Down
Binary file added output/pypromptv1.7.1.beta1.exe
Binary file not shown.
Loading

0 comments on commit fd0a603

Please sign in to comment.