ronaldoussoren / py2app

py2app is a Python setuptools command which will allow you to make standalone Mac OS X application bundles and plugins from Python scripts.
Other
340 stars 36 forks source link

--alias seems to use the build directory rather than my actual source #487

Open glyph opened 1 year ago

glyph commented 1 year ago

When I print __file__ it points at files in build/bdist.macosx-10.9-universal2, not src.

Is there some configuration value I'm missing?

glyph commented 1 year ago

Aah, there's a simple workaround: just delete the ./build directory. I guess both get added to sys.path somehow?