Browse Source

Rename requirements files to use pip-dump

producao
Marcio Mazza 10 years ago
parent
commit
65ad29b9a2
  1. 4
      puppet/manifests/site.pp
  2. 2
      requirements/dev-requirements.txt
  3. 0
      requirements/requirements.txt

4
puppet/manifests/site.pp

@ -79,7 +79,7 @@ python::virtualenv { $sigi_venv_dir :
require => File['/srv/.virtualenvs'], require => File['/srv/.virtualenvs'],
} }
python::requirements { "${sigi_dir}/requirements/producao.txt": python::requirements { "${sigi_dir}/requirements/requirements.txt":
virtualenv => $sigi_venv_dir, virtualenv => $sigi_venv_dir,
forceupdate => true, forceupdate => true,
require => [ require => [
@ -104,7 +104,7 @@ exec { 'collectstatic':
require => [ require => [
Python::Virtualenv[$sigi_venv_dir], Python::Virtualenv[$sigi_venv_dir],
Vcsrepo[$sigi_dir], Vcsrepo[$sigi_dir],
Python::Requirements["${sigi_dir}/requirements/producao.txt"], Python::Requirements["${sigi_dir}/requirements/requirements.txt"],
] ]
} }

2
requirements/dev.txt → requirements/dev-requirements.txt

@ -1,4 +1,4 @@
-r producao.txt -r requirements.txt
# para testes # para testes
pytest-django==2.7.0 pytest-django==2.7.0

0
requirements/producao.txt → requirements/requirements.txt

Loading…
Cancel
Save