Here are my reasons why I think this would be wrong:
- this is an additional code complexity without any great need, adding one line to the settings each time is not so bad, especially if you do steps 1 and 3.
- it will not explicitly state which applications your project uses. When another developer will work on your project, he may not know that your application is installed.
- you need to take step number 1 and step number 2 in the version control system of the code, test the entire system, and then commit the changes and just deploy it.
, - ( ) /, "". , INSTALLED_APPS.
- , , , . python . :
pip install my-app-name
№1 №3! №1 pip, №2 №3 , .
script - :
pip install pastescript
pip install fez.djangoskel
paste create -t django_buildout
setup.py fez.djangoskel:
...
entry_points="""
[paste.paster_create_template]
django_buildout=fez.djangoskel.pastertemplates:DjangoBuildoutTemplate
django_app=fez.djangoskel.pastertemplates:DjangoAppTemplate
...
zc.buildout - , . Python buildout.