Skip to content

Commit

Permalink
Try py2app
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidStirling committed Jun 3, 2024
1 parent dfec0a0 commit d102e5d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
from setuptools import setup
import os

if os.name == 'nt':
OPTIONS = {}
EXTRAS = []
else:
OPTIONS = {'py2app': {
'resources': './resources',
'iconfile': f'./resources/QFIcon.icns'
}}
EXTRAS = ['py2app']


setup(
app=['QuantiFish.py'],
options=OPTIONS,
setup_requires=EXTRAS,
install_requires=["scikit-image", "scipy", "pillow", "numpy"],
)

0 comments on commit d102e5d

Please sign in to comment.