Commits

Nik Cubrilovic  committed d4dc53f

py2app outline

  • Participants
  • Parent commits 62f795e

Comments (0)

Files changed (2)

 
 clean:
 	find . -name *.pyc -exec rm -f {} \;
-
+	rm -rf build/*
+	rm -rf dist/*
   'semantic_version'
 ]
 
+APP = ['cexbot/main.py']
+DATA_FILES = ['cexbot-cli']
+OPTIONS = {'argv_emulation': True}
+
 package_dir = os.path.realpath(os.path.dirname(__file__))
 
 def get_file_contents(file_path):
   license = get_file_contents('LICENSE'),
   install_requires = packages,
   packages = ['cexbot'],
+  app=APP,
+  data_files=DATA_FILES,
+  options={'py2app': OPTIONS},
+  setup_requires=['py2app'],
   # scripts = scripts,
   entry_points={
     'console_scripts': [