Open nuklea opened 10 years ago
This already works. You can just declare BOWER_INSTALLED_APPS
as such:
BOWER_INSTALLED_APPS = (
'bootstrap-sass-official#3.1.1',
'jquery#2.1.0',
'jquery-1.9.1=jquery#1.9.0',
)
You can see the installed results:
$ bower list
bower check-new Checking for new versions of the project dependencies..
vendor /Users/george/Downloads/assets_test/assets_test/vendor
├── bootstrap-sass-official#3.1.1 extraneous
├── jquery#2.1.0 extraneous
└── jquery-1.9.1#1.9.0 extraneous (latest is 2.1.0)
However, bower_freeze
doesn't quite do the right thing:
$ ./manage.py bower_freeze
BOWER_INSTALLED_APPS = ('jquery#2.1.0', 'bootstrap-sass-official#3.1.1', 'jquery-1.9.1#1.9.0')
Seems like a easy fix to BowerAdapter._parse_package_names()
if you're so inclined.
For example http://stackoverflow.com/a/16574202/1164730