# Python/Kivy game for steam

I'm developing a game in Python with Kivy as the gui. I've heard a few programs mentioned that compile python files to .exe's. However, I cant seem to find any that mention compiling .py and .kv files.

I wish to eventually publish my game to Steam Direct but i would like to know if my current approach to coding the game will hinder me doing so.

My actual question is, is there a way to compile a Python game with Kivy to an .exe file?

• Gamedev SE typically does not welcome questions about which technologies to use in your game. However, it sounds like what you're really asking is either "Is there a way to compile a Python game with Kivy to an .exe file?" or "Can Python games be distributed on Steam?". I would suggest rewording the question to be more specific. – User not found Nov 6 '17 at 20:17
• You didn't even tried to search the answer on the web? Yes, there is a way to compile Python. askubuntu.com/questions/324871/how-to-compile-a-python-file – Ocelot Nov 7 '17 at 5:59
• im not asking how to compile python, im asking how to compile python when using kivy and kivy files – mast3rd3mon Nov 7 '17 at 8:43

You then need to set console=True to console=False within the .spec file to disable the console from being shown. Once you create the .spec file, you will see which line it is