première ébauche de seeds et requirements pour le sdk
authorPatrick Hetu <patrick.hetu@auf.org>
Mon, 3 Nov 2014 21:58:16 +0000 (16:58 -0500)
committerPatrick Hetu <patrick.hetu@auf.org>
Mon, 3 Nov 2014 21:58:16 +0000 (16:58 -0500)
13 files changed:
.gitignore [new file with mode: 0644]
Makefile [new file with mode: 0644]
README [new file with mode: 0644]
requirements/django_14.txt [new file with mode: 0644]
requirements/django_auf.txt [new file with mode: 0644]
requirements/django_auf_common.txt [new file with mode: 0644]
requirements/django_auf_dev.txt [new file with mode: 0644]
seeds/django_14.txt [new file with mode: 0644]
seeds/django_auf.txt [new file with mode: 0644]
seeds/django_auf_common.txt [new file with mode: 0644]
seeds/django_auf_dev.txt [new file with mode: 0644]
seeds/squeeze.txt [new file with mode: 0644]
seeds/wheezy.txt [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..c9dbc17
--- /dev/null
@@ -0,0 +1,3 @@
+*.pyc
+/build/
+/sdk/
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..9d2306e
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,22 @@
+PIP_OPTIONS := --extra-index-url=https://pypi.auf.org/
+TARGET := django_14 django_auf django_auf_common django_auf_dev
+
+
+all: $(TARGET)
+
+requirements/%.txt: seeds/%.txt
+       mkdir -p requirements/
+       freeze-requirements freeze $< -m $@
+
+%: requirements/%.txt
+       #pip install -r $< -t sdk/$@ $(PIP_OPTIONS)
+       # FIXME
+       #touch sdk/auf/auf/__init__.py || true
+       #touch sdk/auf/auf/django/__init__.py || true
+
+.PRECIOUS: requirements/%.txt
+
+clean:
+       rm -rf sdk/
+
+.PHONY: all clean
diff --git a/README b/README
new file mode 100644 (file)
index 0000000..5ad4020
--- /dev/null
+++ b/README
@@ -0,0 +1,72 @@
+Un SDK (Software Development Kit) ou trousse de développement logiciel est un
+un ensemble d'outils, dans ce cas si pour le framework de développement Django
+de l'AUF.
+
+Ce dépôt Git contient l'ensemble des scripts qui permettre la construction
+et la maintenance du SDK.
+
+
+
+Installation
+------------
+
+
+::
+
+  sudo apt-get install make python-pip
+  sudo pip install peep freeze-requirements
+
+Usage
+-----
+
+Ordre de la construction:
+
+  seeds -> requirements -> sdk
+
+Commande::
+
+  make
+
+
+Arboresence
+-----------
+
+Suggestion::
+
+  /srv/
+     sdk/
+        auf_apps/
+        prod_apps/
+        django_14/
+     mywebs_site/
+        mywebs/
+        externals_apps/
+
+
+manage.py
+---------
+
+::
+
+    #!/usr/bin/env python
+    import os
+    import sys
+
+    sys.path.append('../sdk/django_14/')
+    sys.path.append('../sdk/auf_apps/')
+    sys.path.append('../sdk/prod_apps/')
+    sys.path.append('./external_apps/')
+    sys.path.append('./mywebs/')
+
+    if __name__ == "__main__":
+        settings_module = "mywebs.settings"
+
+        os.environ.setdefault("DJANGO_SETTINGS_MODULE", settings_module)
+        from django.core.management import execute_from_command_line
+        execute_from_command_line(sys.argv)
+
+
+Voir aussi
+----------
+
+* http://git.auf.org/?p=auf_skeleton_django.git
diff --git a/requirements/django_14.txt b/requirements/django_14.txt
new file mode 100644 (file)
index 0000000..2fd3f10
--- /dev/null
@@ -0,0 +1,6 @@
+# This file has been automatically generated, DO NOT EDIT!
+
+# Frozen requirements for "seeds/django_14.txt"
+
+django==1.4.16
+
diff --git a/requirements/django_auf.txt b/requirements/django_auf.txt
new file mode 100644 (file)
index 0000000..a8354ff
--- /dev/null
@@ -0,0 +1,17 @@
+# This file has been automatically generated, DO NOT EDIT!
+
+# Frozen requirements for "seeds/django_auf.txt"
+
+auf.django.admingroup==0.4
+auf.django.export==0.4
+auf.django.permissions==0.9
+auf.django.piwik==1.9
+auf.django.pong==0.2.4
+auf.django.references==0.27
+auf.django.saml==1.19
+auf.django.skin==2.0
+coda-xmli==0.5
+odfpy==0.9.6
+odsgen==0.6
+setuptools==7.0
+
diff --git a/requirements/django_auf_common.txt b/requirements/django_auf_common.txt
new file mode 100644 (file)
index 0000000..9146759
--- /dev/null
@@ -0,0 +1,106 @@
+# This file has been automatically generated, DO NOT EDIT!
+
+# Frozen requirements for "seeds/django_auf_common.txt"
+
+babel==1.3
+beautifulsoup==3.2.1
+bleach==1.4
+caldav==0.2.1
+chardet==2.3.0
+coverage==3.7.1
+cssselect==0.9.1
+diff-match-patch==20121119
+django==1.7.1
+django-admin-tools==0.5.2
+django-ajax-selects==1.3.5
+django-appconf==0.6
+django-auditlog==0.2.1
+django-autocomplete-light==1.4.14
+django-autoslug==1.7.2
+django-bootstrap3==4.11.0
+django-cal==0.2.1
+django-chroniker==0.6.7
+django-compressor==1.4
+django-durationfield==0.5.1
+django-extensions==1.4.5
+django-extra-views==0.6.5
+django-filebrowser-no-grappelli==3.5.6
+django-filter==0.8
+django-flash==1.8
+django-floppyforms==1.2.0
+django-form-utils==1.0.2
+django-grappelli==2.6.2
+django-haystack==2.3.1
+django-localeurl==2.0.1
+django-mail-queue==2.2.0
+django-model-utils==2.2
+django-modeltranslation==0.8
+django-pagination==1.0.7
+django-pagination-bootstrap==1.0.5
+django-picklefield==0.3.1
+django-qbe==0.2.0
+django-ratings==0.3.7
+django-request==1.0.1
+django-reversion==1.8.5
+django-roa==1.7
+django-rosetta==0.7.4
+django-rq==0.7.0
+django-rq-dashboard==0.2.2
+django-selectable==0.9.0
+django-sendfile==0.3.6
+django-simple-captcha==0.4.2
+django-siteblocks==0.3.0
+django-sortable==0.3.1
+django-sorting==0.1
+django-sphinx==2.2.4
+django-suit==0.2.11
+django-taggit==0.12.2
+django-tinymce==1.5.3
+django-urldecorators==0.5
+djangorestframework==2.4.4
+djangorestframework-csv==1.3.3
+docutils==0.12
+feedparser==5.1.3
+html2text==2014.9.25
+html5lib==0.999
+http-parser==0.8.3
+jinja2==2.7.3
+lepl==5.1.3
+lxml==3.4.0
+markdown2==2.3.0
+markupsafe==0.23
+nose==1.3.4
+ordereddict==1.1
+pillow==2.6.1
+pip==1.5.6
+polib==1.0.4
+psutil==2.1.3
+pygal==1.5.1
+pygments==1.6
+pygraphviz==1.2
+python-dateutil==2.2
+pytz==2014.9
+pyyaml==3.11
+raven==5.1.1
+redis==2.10.3
+reportlab==3.1.8
+requests==2.4.3
+restkit==4.2.2
+rfc6266==0.0.4
+rq==0.4.6
+rq-scheduler==0.5.0
+setuptools==7.0
+simplejson==3.6.5
+six==1.8.0
+socketpool==0.5.3
+sorl-thumbnail==11.12
+south==1.0.1
+sphinx==1.2.3
+sqlparse==0.1.13
+tabulate==0.7.3
+twill==1.8.0
+unidecode==0.04.16
+vobject==0.6.6
+whoosh==2.6.0
+wsgiref==0.1.2
+
diff --git a/requirements/django_auf_dev.txt b/requirements/django_auf_dev.txt
new file mode 100644 (file)
index 0000000..e859e81
--- /dev/null
@@ -0,0 +1,33 @@
+# This file has been automatically generated, DO NOT EDIT!
+
+# Frozen requirements for "seeds/django_auf_dev.txt"
+
+astroid==1.2.1
+beautifulsoup4==4.3.2
+behave==1.2.4
+coverage==3.7.1
+django==1.7.1
+django-autofixture==0.9.1
+django-behave==0.1.2
+django-debug-toolbar==0.9.4
+django-discover-runner==1.0
+django-jenkins==0.16.3
+django-nose==1.2
+django-webtest==1.7.7
+enum34==1.0.3
+factory-boy==2.4.1
+logilab-common==0.62.1
+mock==1.0.1
+nose==1.3.4
+parse==1.6.5
+parse-type==0.3.4
+pep8==1.5.7
+pyflakes==0.8.1
+pylint==1.3.1
+selenium==2.44.0
+setuptools==7.0
+six==1.8.0
+waitress==0.8.9
+webob==1.4
+webtest==2.0.16
+
diff --git a/seeds/django_14.txt b/seeds/django_14.txt
new file mode 100644 (file)
index 0000000..e9b5470
--- /dev/null
@@ -0,0 +1 @@
+django>=1.4,<1.5
diff --git a/seeds/django_auf.txt b/seeds/django_auf.txt
new file mode 100644 (file)
index 0000000..3caf916
--- /dev/null
@@ -0,0 +1,17 @@
+--extra-index-url=https://pypi.auf.org/
+
+auf.django.references
+auf.django.saml
+auf.django.piwik
+auf.django.pong
+auf.django.admingroup
+auf.django.permissions
+#auf.django.auth
+#auf.django.emploi
+auf.django.export
+#auf.django.metadata
+auf.django.skin
+#auf.django.workflow
+
+coda-xmli
+odsgen
diff --git a/seeds/django_auf_common.txt b/seeds/django_auf_common.txt
new file mode 100644 (file)
index 0000000..8525243
--- /dev/null
@@ -0,0 +1,162 @@
+South
+raven
+
+#
+# I18N
+#
+
+django-modeltranslation
+django-rosetta
+django-localeurl
+
+
+#
+# REST
+#
+
+djangorestframework-csv
+djangorestframework
+
+
+#
+# Bootstrap
+#
+
+django-pagination-bootstrap
+django-bootstrap3
+
+
+#
+# UI
+#
+django-floppyforms
+django-pagination
+django-flash
+django-siteblocks
+django-autocomplete-light
+django-ajax-selects
+django-selectable
+# FIXME
+#    django-select2
+
+
+#
+# Permissions
+#
+django-roa
+
+
+#
+# CMS
+#
+
+# django-cms
+# django-sekizai
+# djangocms-text-ckeditor
+# cmsplugin-youtube
+# djangocms-admin-style
+django-tinymce
+
+
+#
+# Admin
+#
+
+django-suit
+django-admin-tools
+# django-xadmin
+django-auditlog
+django-filebrowser-no-grappelli
+django-grappelli
+
+
+#
+# Stat
+#
+django-request
+django-ratings
+
+
+#
+# Python
+#
+
+diff_match_patch
+tabulate
+requests
+python-dateutil
+feedparser
+pygal
+cssselect
+twill
+pygments
+BeautifulSoup
+bleach
+Unidecode
+html2text
+html5lib
+simplejson
+vobject
+wsgiref
+reportlab
+sqlparse
+rfc6266
+pygraphviz
+restkit
+markdown2
+PyYAML
+pytz
+ordereddict
+chardet
+caldav
+Babel
+
+
+#
+# Queue / scheduler
+#
+rq
+rq-scheduler
+django-rq
+django-rq-dashboard
+redis
+django-chroniker
+
+
+#
+# Search
+#
+whoosh
+django-sphinx
+django-haystack
+
+
+#
+# Thumbnail
+#
+sorl-thumbnail
+Pillow
+
+#
+# Helper
+#
+
+django-extensions
+django-extra-views
+django-taggit
+django-filter
+django-durationfield
+django-autoslug
+django-compressor
+django-cal
+django-sendfile
+django-sortable
+django-model-utils
+django-mail-queue
+django-qbe
+django-urldecorators
+django-simple-captcha
+django-reversion
+django-form-utils
+django_sorting
+#django_exportateur
diff --git a/seeds/django_auf_dev.txt b/seeds/django_auf_dev.txt
new file mode 100644 (file)
index 0000000..ce5ebdc
--- /dev/null
@@ -0,0 +1,16 @@
+django-debug-toolbar==0.9.4
+webtest
+mock
+django-webtest
+django-autofixture
+#pygraphviz
+django-behave
+django-jenkins
+django-discover-runner
+pep8
+pyflakes
+coverage
+pylint
+
+django-nose
+factory-boy
diff --git a/seeds/squeeze.txt b/seeds/squeeze.txt
new file mode 100644 (file)
index 0000000..361d8fb
--- /dev/null
@@ -0,0 +1,14 @@
+python-cairo==1.8.8
+python-egenix-mxdatetime==3.1.3
+python-egenix-mxtools==3.1.3
+python-imaging==1.1.7
+python-lxml==2.2.8
+python-mapnik2==2.0.0
+python-memcache==1.45
+python-mysqldb==1.2.2
+python-psycopg2==2.2.1
+python-pygraphviz==1.0
+python-reportlab==2.4
+python-simplejson==2.1.1
+python-yaml==3.09
+# python-dateutil==1.4.1
diff --git a/seeds/wheezy.txt b/seeds/wheezy.txt
new file mode 100644 (file)
index 0000000..eacdf4f
--- /dev/null
@@ -0,0 +1,10 @@
+Babel==0.9.6
+Django==1.4.5
+MySQL-python==1.2.3
+pdfrw==0.1
+pyodbc==2.1.7
+python-dateutil==1.5
+reportlab==2.5
+South==0.7.5
+SQLAlchemy==0.7.8
+sqlparse==0.1.4