Bundle Adwords API Python using Cx_Freeze

37 views
Skip to first unread message

Enrique Piña

unread,
May 15, 2015, 9:58:14 AM5/15/15
to adwor...@googlegroups.com
Hello Everybody,

I need to create an exe file from a desktop application (using qt) and adwords api. I'm using python to develop that.

The problem is, when I create the exe file with cx_freeze, my application doesn't works because of adwords api.

is there any solution to package adwords api using cx_freeze? My setup.py file is like:

# coding=utf-8

from cx_Freeze import setup, Executable
from glob import glob
from sys import platform

base = None
if platform == "win32":
    base = "Win32GUI"

setup(
    name='',
    version='0.1',
    description='',
    author='',
    author_email='',
    options={'build_exe': {'includes': ['re', 'PySide', 'googleads']}},
    executables=[Executable('main.py', base=base)],
    requires=['PySide', 'googleads', 'json', 'subprocess', 'threading', 'PySide.QtNetwork', 'QtWebKit', 'sip',
              'cx_Freeze']
)


Thanks you!

Anthony Madrigal

unread,
May 15, 2015, 3:23:54 PM5/15/15
to adwor...@googlegroups.com, ep...@habitissimo.com
Hello Enrique,

Unfortunately, I am not sure how you would do this either, but there may be others in the group that could provide some suggestions.

Regards,
Anthony, AdWords API Team
Reply all
Reply to author
Forward
0 new messages