Commit 540f0acf authored by Johan Bloemberg's avatar Johan Bloemberg Committed by Johan Bloemberg

Organize requirements, remove dev requirements from release.

parent 5c74e47a
......@@ -18,10 +18,10 @@ COPY setup.py setup.cfg MANIFEST.in requirements.dev.txt version* /source/
# Install app by linking source into virtualenv. This is against convention
# but allows the source to be overwritten by a volume during development.
RUN /pyenv/bin/pip install -e /source/
RUN /pyenv/bin/pip install -e /source/ --no-deps
# switch to lightweight base image for distribution
FROM python:3-slim
FROM python:3.6-slim
# hack for slim image to fix broken install of postgres
RUN /bin/bash -c 'mkdir -p /usr/share/man/man{1..8}'
......
# These requirements are only included for releases.
# Some of these don't build trivially (uwsgi, mysql) on all systems and therefore hinder development UX.
# database clients
mysqlclient
psycopg2
# wsgi server
django-uwsgi
uwsgi
# Celery monitoring
flower
# tools/dependencies required for development or running tests
# Tools/dependencies required for development or running tests.
autopep8
autoflake
isort
......@@ -21,3 +21,19 @@ pytest-mock
# # run failmap celery flower
# # go to http://localhost:5555/
# celery-flower
# docs / readthedocs.io
sphinx
sphinx-autobuild
recommonmark
# brotlipy # doesn't work, some vague errors not worth the time: compression handled elsewhere
# slimit does not work with vue.js
# profiling
django-silk
# tests (of scanners)
httmock
freezegun
colorama
# This file contains all requirements for a release build of failmap.
# Any testing/debug only requirements should to into requirements.dev.txt.
# Requirements only needed for release should go in requirements.deploy.txt.
# Django jet is blocking migration to 2.0
# error: from django.views.i18n import javascript_catalog
# ImportError: cannot import name 'javascript_catalog'
......@@ -5,45 +9,36 @@ django==1.11.8
django-jet
django-countries
django-jsonfield
pyyaml
tldextract
docutils
typing
# django-nested-admin (doesn't work with Django Jet).
# scanners
requests
# use mozzila certificate bundle by default
certifi
pytz
# task processing framework
celery[redis,eventlet]
flower
django-celery-beat
flower # used for queue statistics
# https://github.com/pi-bjl/celery-statsd/commit/5d61d7756f115dbf05a7eeb8314495b53ee1955e
django-statsd-mozilla
Pillow # screenshots
python-resize-image # screenshots
untangle # dns scans https://github.com/stchris/untangle
django_uwsgi
# scanner dependencies
requests
dnspython # dnsrecon
netaddr # dnsrecon
# tests (of scanners)
httmock
freezegun
colorama
django-silk
untangle # dns scans https://github.com/stchris/untangle
python-resize-image # screenshots
Pillow # screenshots
tldextract
# logging
colorlog
# website
django_compressor # bundle javascript and css
csscompressor # css compression
# brotlipy # doesn't work, some vague errors not worth the time: compression handled elsewhere
# slimit does not work with vue.js
# for proxying external requests (mapbox)
django-proxy
# sentry client
......@@ -51,6 +46,7 @@ raven
# allow recursive comparison of dictionaries
deepdiff
influxdb
urllib3
......@@ -59,11 +55,10 @@ urllib3
# needed for mapping reasons.
simplejson
# docs / readthedocs.io
sphinx
sphinx-autobuild
recommonmark
# Remote worker TLS
pyopenssl
certifi
# static file collection/generation
django_compressor # bundle javascript and css
csscompressor # css compression
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment