Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up to use wheelhouse for PIP packages #512

Merged
merged 1 commit into from
Jul 27, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ansible.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[defaults]
module_lang = en_US.UTF-8
allow_world_readable_tmpfiles = True
1 change: 1 addition & 0 deletions provision/roles/cadasta/application/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
become_user: "{{ app_user }}"
pip: virtualenv="{{ virtualenv_path }}"
requirements="{{ application_path }}requirements/common.txt"
extra_args="--find-links https://s3.amazonaws.com:443/cadasta-wheelhouse/index.html"

- name: Set up logging directory
become: yes
Expand Down
4 changes: 3 additions & 1 deletion provision/roles/cadasta/development/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
- name: Install requirements
pip: virtualenv={{ virtualenv_path }} requirements={{ application_path }}requirements/dev.txt
pip: virtualenv="{{ virtualenv_path }}"
requirements="{{ application_path }}requirements/dev.txt"
extra_args="--find-links https://s3.amazonaws.com:443/cadasta-wheelhouse/index.html"

- name: Activate virtual environment on VM login
become: yes
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ envlist =
passenv = DJANGO_SETTINGS_MODULE
setenv = PYTHONDONTWRITEBYTECODE=1
deps = -r{toxinidir}/requirements/dev.txt
install_command = pip install --find-links https://s3.amazonaws.com:443/cadasta-wheelhouse/index.html {opts} {packages}

[testenv:py35-django1.9-unit]
commands = ./runtests.py
Expand Down