Skip to content

Commit

Permalink
readme changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Schimansky committed Feb 11, 2021
1 parent 2e8afcb commit 1e9f1f4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The played note is automatically recognized through the microphone, and an acous
heard when the tuning is correct. If you want you can also change the reference-tone to another
frequency.

**Download macOS app:** https://github.com/TomSchimansky/GuitarTuner/releases/tag/3.0

### Functionality

The app uses PyAudio to get access to the raw audio-stream coming from the microphone.
Expand Down
File renamed without changes.
21 changes: 11 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
"""
For Compilation MacOS you can do:
pip3 install -r requirements.txt
python3 setup.py py2app
"""
""" this setup.py file is build for compilation on macOS with py2app"""

import os
import getpass
from setuptools import setup
from settings import Settings

REMOVE_OLD_BUILD = True # delete /build and /dist

APP = ['main.py']
USER_NAME = getpass.getuser()

SOUND_FILES = ["assets/sounds/drop.wav"]

Expand All @@ -24,9 +22,13 @@
"assets/images/mutedBell.png"]

OPTIONS = {'argv_emulation': False,
'includes': '',
'includes': 'numpy, tkinter, PIL, pyaudio, darkdetect',
'excludes': '',
'iconfile': 'assets/images/GuitarTunerDesign.icns',
'frameworks': '/Users/{}/miniconda3/lib/libffi.6.dylib,'.format(USER_NAME) +
'/Users/{}/miniconda3/lib/libtk8.6.dylib,'.format(USER_NAME) +
'/Users/{}/miniconda3/lib/libtcl8.6.dylib'.format(USER_NAME),
# For whatever reason, py2app didn't include these 3 frameworks automatically. (path can be different)
'iconfile': 'assets/images/GuitarTuner_Icon.icns',
'plist': {
'CFBundleName': Settings.APP_NAME,
'CFBundleDisplayName': Settings.APP_NAME,
Expand All @@ -39,7 +41,6 @@
'NSHumanReadableCopyright': u"Copyright © {}, {}, All Rights Reserved".format(Settings.YEAR, Settings.AUTHOR)
}}

REMOVE_OLD_BUILD = True

if REMOVE_OLD_BUILD is True:
os.system("rm -r build")
Expand Down

0 comments on commit 1e9f1f4

Please sign in to comment.