Skip to content

how to create a Python flask application as window service Python 3.8 #885

Closed Answered by marcelotduarte
mvgarcia07 asked this question in Q&A
Discussion options

You must be logged in to vote

@mvgarcia07 This is a diff from my sample, using your app.py

--- "u:\\github\\cx_Freeze\\cx_Freeze\\samples\\service\\setup.py"	2021-01-16 00:55:39.976847400 -0300
+++ setup.py	2021-01-16 18:26:02.070335500 -0300
@@ -23,12 +23,12 @@
     Executable(
         "Config.py",
         base="Win32Service",
-        target_name="cx_FreezeSampleService.exe",
+        target_name="FlaskService.exe",
     )
 ]
 
 setup(
-    name="cx_FreezeSampleService",
+    name="FlaskService",
     version="0.1",
     description="Sample cx_Freeze Windows serice",
     executables=executables,
--- "u:\\github\\cx_Freeze\\cx_Freeze\\samples\\service\\Config.py"	2020-12-31 09:56:59.293062700 -0300
+++ Config.py	2…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@marcelotduarte
Comment options

@mvgarcia07
Comment options

@mvgarcia07
Comment options

@marcelotduarte
Comment options

Answer selected by marcelotduarte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants