Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
pavel@laptop ~ $ apt-cache depends uwsgi-plugin-python3
uwsgi-plugin-python3
Depends: libc6
Depends: libpython3.3
Depends: uwsgi-core
Suggests: python3-uwsgidecorators
Conflicts: uwsgi-plugin-python3:i386
pavel@laptop ~ $ apt-cache policy uwsgi-plugin-python3
uwsgi-plugin-python3:
Installed: (none)
Candidate: 1.2.3+dfsg-5build3
Version table:
1.2.3+dfsg-5build3 0
500 http://archive.ubuntu.com/ubuntu/ raring/universe amd64 Packages
uwsgi-core версии 1.0, мы хотим минимум 1.6.deb http://ru.archive.ubuntu.com/ubuntu saucy main universePackage: *
Pin: release n=saucy
Pin-Priority: -10root@host:/tmp# aptitude updateroot@host:/tmp# aptitude install -t saucy uwsgi uwsgi-plugin-python
The following NEW packages will be installed:
sqlite3{a} uwsgi uwsgi-core{a} uwsgi-plugin-python
0 packages upgraded, 4 newly installed, 0 to remove and 328 not upgraded.
Need to get 0 B/557 kB of archives. After unpacking 1 750 kB will be used.
Do you want to continue? [Y/n/?]
Selecting previously unselected package sqlite3.
(Reading database ... 25902 files and directories currently installed.)
Unpacking sqlite3 (from .../sqlite3_3.7.17-1ubuntu1_i386.deb) ...
Selecting previously unselected package uwsgi-core.
Unpacking uwsgi-core (from .../uwsgi-core_1.9.13-4build1_i386.deb) ...
Selecting previously unselected package uwsgi.
Unpacking uwsgi (from .../uwsgi_1.9.13-4build1_i386.deb) ...
Selecting previously unselected package uwsgi-plugin-python.
Unpacking uwsgi-plugin-python (from .../uwsgi-plugin-python_1.9.13-4build1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up sqlite3 (3.7.17-1ubuntu1) ...
Setting up uwsgi-core (1.9.13-4build1) ...
Setting up uwsgi (1.9.13-4build1) ...
* Starting app server(s) uwsgi [ OK ]
Setting up uwsgi-plugin-python (1.9.13-4build1) ...root@host:/tmp# uwsgi --version
1.9.13-debianКрайне неудобный вариант развертывания для «потестировать». Ну ладно хоть python не из исходников собирали.
Лучше ведь на nginx + uwsgi/gunicorn развернуть их хотя бы руками перезагружать при каждом чихе не придется.
Настраиваем Django 1.6 с python 3.3 под Apache2 на Ubuntu 12.04 Server