I've made a small little "application" utilizing Django as a framework. This is an application that is not ment to be deployed to a server but run locally on a machine. Thus the runserver.py works just nice.
I, as an developer is comfortable with fireing up the terminal, running python manage.py runserver and using it.
But I have some Mac OS X and Windows friends wanting to use my application, and they dont have virtualenv
, git
or anything else.
Is there a way I can package this to be a standalone product? Of course it would depend on Python being installed on the system, but it is possbile to package the virtualenv — with django and everything, and just copy it to another system and make it work?
And maybe even run the runserver in some kind a deamon mode?
Project name – enter a name for your project in quotes. Python packages and Python modules to include in the distribution (dist) – the find_packages(',') default argument will incorporate all packages that include an __init__.py file and are located in the local directory (dir) where setup.py is installed.
Django Packages is a directory of reusable apps, sites, tools, and more for your Django projects.
Use setuptools and easy_install.
Here's an introductory article.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With