-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
recursion issue in reqs. dmg builds but is faulty
- Loading branch information
Showing
3 changed files
with
24 additions
and
22 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
letta | ||
setuptools==68.2.2 # letta pinned - and anything newer than 70 builds a broken wheel | ||
letta==0.5.5 # this is also the version of the installer | ||
pgserver~=0.1.4 | ||
py2app~=0.28.8 | ||
pystray | ||
pillow | ||
darkdetect | ||
cutelog | ||
#py2exe - not currently supporting 3.12 TODO upgrade or downgrade | ||
darkdetect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,24 @@ | ||
from setuptools import setup, find_packages | ||
""" | ||
This is a setup.py script generated by py2applet | ||
Usage: | ||
python setup.py py2app | ||
""" | ||
|
||
from setuptools import setup | ||
# there is an import recursion leak somewhere upstream | ||
# this hack gets us past it | ||
import sys | ||
sys.setrecursionlimit(5000) | ||
|
||
APP = ['startup.py'] | ||
DATA_FILES = ['assets'] | ||
OPTIONS = {'iconfile': 'assets/letta.icns', | ||
'includes': ['pgserver']} | ||
|
||
setup( | ||
name="letta_installable", | ||
version="0.1.0", | ||
packages=find_packages(), | ||
install_requires=[ | ||
# Read requirements from requirements.txt | ||
req.strip() for req in open("requirements.txt").readlines() | ||
], | ||
entry_points={ | ||
'console_scripts': [ | ||
'letta-startup=startup:main', | ||
], | ||
}, | ||
include_package_data=True, | ||
package_data={ | ||
'': ['*.txt', '*.rst', '*.html', '*.css', '*.js'], | ||
}, | ||
app=APP, | ||
data_files=DATA_FILES, | ||
options={'py2app': OPTIONS, 'plist': {'CFBundleName': 'Letta', 'CFBundleShortVersionString': '0.5.5', 'CFBundleVersion': '0.5.5'}}, | ||
setup_requires=['py2app'], | ||
) |