How to bundle python flask application into a standalone executable.
up vote
1
down vote
favorite
I am developing a number of python application for my internal users. We have a framework developed using a c# and wpf which every user have on their system. Now for the users to access the python application from that framework one option was to ask each users to install python in there system which is not possible. After some research in Google I came across the python freezer libraries
I was able to bundle or freeze a tensor flow , django Matlab application and host the same in our framework without asking user to install python by using pyinstaller. But for flask application I cannot find a proper freezer.
Is there any freezer for flask application. My requirements is to create a standalone exe for my flask application . I have both python 3 and python 2 in my build sever.
python python-3.x python-2.7 pyinstaller
add a comment |
up vote
1
down vote
favorite
I am developing a number of python application for my internal users. We have a framework developed using a c# and wpf which every user have on their system. Now for the users to access the python application from that framework one option was to ask each users to install python in there system which is not possible. After some research in Google I came across the python freezer libraries
I was able to bundle or freeze a tensor flow , django Matlab application and host the same in our framework without asking user to install python by using pyinstaller. But for flask application I cannot find a proper freezer.
Is there any freezer for flask application. My requirements is to create a standalone exe for my flask application . I have both python 3 and python 2 in my build sever.
python python-3.x python-2.7 pyinstaller
Why have you done this as a web app at all, if every user needs to install it on their system?
– Daniel Roseman
Nov 10 at 15:00
Currently we are not using docker and cloud in our firm . And we have lot of users which develope their own application by hiring external developers. But once they develop their app , to get it to production they have to wait for months. So we need to support all type of python, .net , spa etc.. app in our framework .. it's like I need to be ready for all type of application. That's why. We don't have control on what type of application the users will give us. And this will be a temporary solution.
– anoop
Nov 10 at 15:17
finnaly found the solution. . Ended up using cx_freeze and after some changes was able to make flask working
– anoop
12 hours ago
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am developing a number of python application for my internal users. We have a framework developed using a c# and wpf which every user have on their system. Now for the users to access the python application from that framework one option was to ask each users to install python in there system which is not possible. After some research in Google I came across the python freezer libraries
I was able to bundle or freeze a tensor flow , django Matlab application and host the same in our framework without asking user to install python by using pyinstaller. But for flask application I cannot find a proper freezer.
Is there any freezer for flask application. My requirements is to create a standalone exe for my flask application . I have both python 3 and python 2 in my build sever.
python python-3.x python-2.7 pyinstaller
I am developing a number of python application for my internal users. We have a framework developed using a c# and wpf which every user have on their system. Now for the users to access the python application from that framework one option was to ask each users to install python in there system which is not possible. After some research in Google I came across the python freezer libraries
I was able to bundle or freeze a tensor flow , django Matlab application and host the same in our framework without asking user to install python by using pyinstaller. But for flask application I cannot find a proper freezer.
Is there any freezer for flask application. My requirements is to create a standalone exe for my flask application . I have both python 3 and python 2 in my build sever.
python python-3.x python-2.7 pyinstaller
python python-3.x python-2.7 pyinstaller
asked Nov 10 at 14:47
anoop
104
104
Why have you done this as a web app at all, if every user needs to install it on their system?
– Daniel Roseman
Nov 10 at 15:00
Currently we are not using docker and cloud in our firm . And we have lot of users which develope their own application by hiring external developers. But once they develop their app , to get it to production they have to wait for months. So we need to support all type of python, .net , spa etc.. app in our framework .. it's like I need to be ready for all type of application. That's why. We don't have control on what type of application the users will give us. And this will be a temporary solution.
– anoop
Nov 10 at 15:17
finnaly found the solution. . Ended up using cx_freeze and after some changes was able to make flask working
– anoop
12 hours ago
add a comment |
Why have you done this as a web app at all, if every user needs to install it on their system?
– Daniel Roseman
Nov 10 at 15:00
Currently we are not using docker and cloud in our firm . And we have lot of users which develope their own application by hiring external developers. But once they develop their app , to get it to production they have to wait for months. So we need to support all type of python, .net , spa etc.. app in our framework .. it's like I need to be ready for all type of application. That's why. We don't have control on what type of application the users will give us. And this will be a temporary solution.
– anoop
Nov 10 at 15:17
finnaly found the solution. . Ended up using cx_freeze and after some changes was able to make flask working
– anoop
12 hours ago
Why have you done this as a web app at all, if every user needs to install it on their system?
– Daniel Roseman
Nov 10 at 15:00
Why have you done this as a web app at all, if every user needs to install it on their system?
– Daniel Roseman
Nov 10 at 15:00
Currently we are not using docker and cloud in our firm . And we have lot of users which develope their own application by hiring external developers. But once they develop their app , to get it to production they have to wait for months. So we need to support all type of python, .net , spa etc.. app in our framework .. it's like I need to be ready for all type of application. That's why. We don't have control on what type of application the users will give us. And this will be a temporary solution.
– anoop
Nov 10 at 15:17
Currently we are not using docker and cloud in our firm . And we have lot of users which develope their own application by hiring external developers. But once they develop their app , to get it to production they have to wait for months. So we need to support all type of python, .net , spa etc.. app in our framework .. it's like I need to be ready for all type of application. That's why. We don't have control on what type of application the users will give us. And this will be a temporary solution.
– anoop
Nov 10 at 15:17
finnaly found the solution. . Ended up using cx_freeze and after some changes was able to make flask working
– anoop
12 hours ago
finnaly found the solution. . Ended up using cx_freeze and after some changes was able to make flask working
– anoop
12 hours ago
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53240082%2fhow-to-bundle-python-flask-application-into-a-standalone-executable%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Why have you done this as a web app at all, if every user needs to install it on their system?
– Daniel Roseman
Nov 10 at 15:00
Currently we are not using docker and cloud in our firm . And we have lot of users which develope their own application by hiring external developers. But once they develop their app , to get it to production they have to wait for months. So we need to support all type of python, .net , spa etc.. app in our framework .. it's like I need to be ready for all type of application. That's why. We don't have control on what type of application the users will give us. And this will be a temporary solution.
– anoop
Nov 10 at 15:17
finnaly found the solution. . Ended up using cx_freeze and after some changes was able to make flask working
– anoop
12 hours ago