Skip to content

Commit

Permalink
Remove Imaging from the build product
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Feb 18, 2025
1 parent b00e479 commit bae107e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,6 @@ jobs:
shell: bash -l {0}

- name: Build Imaging
run: |
conda activate STUI
wget https://src.fedoraproject.org/repo/pkgs/python-imaging/Imaging-1.1.7.tar.gz/fc14a54e1ce02a0225be8854bfba478e/Imaging-1.1.7.tar.gz
tar xvf Imaging-1.1.7.tar.gz
python Imaging-1.1.7/setup.py install
rm -Rf Imaging*
shell: bash -l {0}

- name: List environment
run: |
conda activate STUI
Expand Down
1 change: 1 addition & 0 deletions TUI/Help/VersionHistory.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ <h3>1.7.21 2025-02-18</h3>>
<p>Visible changes:
<ul>
<li> Remove the APOGEE cold shutter control at LCO.
<li> Remove Imaging from the build product.
</ul>


Expand Down
7 changes: 2 additions & 5 deletions TUI/TUIMenu/AboutWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"""
import os.path
import sys
from PIL import Image
import matplotlib
import numpy
try:
Expand Down Expand Up @@ -66,7 +65,6 @@ def getInfoDict():
res["numpy"] = numpy.__version__
res["astropy"] = astropyVers
# Image uses VERSION, but PILLOW supports __version__
res["pil"] = getattr(Image, "VERSION", getattr(Image, "__version__", "unknown"))
res["pygame"] = pygameVersion
res["specialFiles"] = getSpecialFileStr()
return res
Expand All @@ -78,7 +76,7 @@ def strFromPath(filePath):
if os.path.exists(filePath):
return filePath
return "%s (not found)" % (filePath,)

outStrList = []
for name, func in (
("Preferences", TUI.TUIPaths.getPrefsFile),
Expand All @@ -99,7 +97,7 @@ def strFromPath(filePath):
outStrList.append("Error Log: %s" % (sys.stderr.name,))

return "\n".join(outStrList)


class AboutWdg(RO.Wdg.StrLabel):
def __init__(self, master):
Expand All @@ -120,7 +118,6 @@ def __init__(self, master):
matplotlib: %(matplotlib)s
numpy: %(numpy)s
%(astropy)s
PIL: %(pil)s
pygame: %(pygame)s
With special thanks to:
Expand Down

0 comments on commit bae107e

Please sign in to comment.