Fixed #1177 and #1209: Added new requirments for portable: setuptools (pkg_resources) and jsonfield.

This commit is contained in:
Emanuel Schuetze 2014-01-29 09:14:34 +01:00
parent d15488478d
commit aa2ed9bbad
2 changed files with 21 additions and 15 deletions

View File

@ -7,7 +7,7 @@ How to create a new portable Windows distribution of OpenSlides:
2. Install all required python packages (see requirements_production.txt): 2. Install all required python packages (see requirements_production.txt):
easy_install -Z django django-mptt beautifulsoup4 bleach pillow reportlab sockjs_tornado tornado django-haystack whoosh easy_install -Z django django-mptt beautifulsoup4 bleach jsonfield pillow reportlab setuptools sockjs_tornado tornado django-haystack whoosh
3. Install pywin32 from binary installer: 3. Install pywin32 from binary installer:

View File

@ -43,6 +43,15 @@ LIBEXCLUDE = [
SITE_PACKAGES = { SITE_PACKAGES = {
"beautifulsoup4": {
"copy": ["bs4"],
},
"bleach": {
"copy": ["bleach"],
},
"html5lib": {
"copy": ["html5lib"],
},
"django": { "django": {
"copy": ["django"], "copy": ["django"],
"exclude": [ "exclude": [
@ -60,9 +69,18 @@ SITE_PACKAGES = {
r"^django/contrib/webdesign/", r"^django/contrib/webdesign/",
] ]
}, },
"django-haystack": {
"copy": ["haystack"],
},
"django-mptt": { "django-mptt": {
"copy": ["mptt"], "copy": ["mptt"],
}, },
"jsonfield": {
"copy": ["jsonfield"],
},
"pillow": {
"copy": ["PIL"],
},
"reportlab": { "reportlab": {
"copy": [ "copy": [
"reportlab", "reportlab",
@ -72,8 +90,8 @@ SITE_PACKAGES = {
"sgmlop.pyd", "sgmlop.pyd",
], ],
}, },
"pillow": { "setuptools": {
"copy": ["PIL"], "copy": ["pkg_resources.py"],
}, },
"sockjs-tornado": { "sockjs-tornado": {
"copy": ["sockjs"], "copy": ["sockjs"],
@ -81,18 +99,6 @@ SITE_PACKAGES = {
"tornado": { "tornado": {
"copy": ["tornado"], "copy": ["tornado"],
}, },
"beautifulsoup4": {
"copy": ["bs4"],
},
"bleach": {
"copy": ["bleach"],
},
"html5lib": {
"copy": ["html5lib"],
},
"django-haystack": {
"copy": ["haystack"],
},
"whoosh": { "whoosh": {
"copy": ["whoosh"], "copy": ["whoosh"],
}, },