1

Is there any way to tell django to install some dependencies through external repositories? For example, I'd not like to keep twitter-bootstrap code downloaded into my repository, I'd like to define a github link and fetch it automatically through a shell command. Something silimiar to collectstatic. I know I can write my own, but maybe there's something built-in or already implemented?

1
  • 1
    what's wrong with pip install -e git://github.com/.... Commented Aug 7, 2013 at 20:44

1 Answer 1

1

Python modules you can install directly from git. For example: pip install -e git+git://github.com/jschrewe/django-genericadmin.git

For frontend modules you can use tools like bower. For installing Twitter Bootstrap: bower install bootstrap

Both tools has config files, which can be used to track dependencies.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.