django-scribbler
django-scribbler copied to clipboard
django-scribbler is now not installable from source
side libraries like require.js ans codemirror were removed in f194cd16ea4f142a2c40440827a253fa2387126f. This change made it imposible to use djagno-scribbler after installing directly from github: not all js files are available
Yes that was a purposeful choice. There are docs on installing an unstable release here http://django-scribbler.readthedocs.org/en/latest/contributing.html#installing-an-unstable-release
Thank you for information
Maybe this should be added to setup.py to make it easier to install with pip install https://github.com/caktus/django-scribbler.git
?
It can be implemented like so: http://stackoverflow.com/a/1763900/952437
I'm -0 on the idea. Building the CSS and JS required LESS and RequireJS which would still need to be present before you could run the setup.py.
I'm -0 on the idea. Building the CSS and JS required LESS and RequireJS which would still need to be present before you could run the setup.py.
if someone trying to install django-scribbler from git then it's better to fail install with "lessc: command not found" instead of silently installing without required static files
Either way you are going to have to read the docs on how to resolve it. The docs for the current behavior have already been written.
I'm trying to build package locally:
- installed lessc, requirejs:
npm install -g requirejs
npm install -g less
- running:
git clone git://github.com/caktus/django-scribbler.git
cd django-scribbler
make fetch-static-libs build-css build-js
- I get error:
Tracing dependencies for: scribbler
Error: ENOENT, no such file or directory '.../django-scribbler/scribbler/static/scribbler/libs/underscore.js'
In module tree:
scribbler
Error: Error: ENOENT, no such file or directory '.../django-scribbler/scribbler/static/scribbler/libs/underscore.js'
This happens because underscore url is redirected
I fixed this in #161