Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove build dependencies. Fixes #985 and #958 #1019

Merged
merged 5 commits into from Feb 23, 2015

Conversation

zerolab
Copy link
Contributor

@zerolab zerolab commented Feb 22, 2015

This PR builds on top of #985. It adds a "Dependecies" section to the "Installation" page, making it explcit that django-libsass and Pillow must be added to requirements.

kaedroho and others added 3 commits February 22, 2015 10:25
This commit removes libsass and Pillow from the setup.py dependency list. This greatly improves install performance and also means that the basic Wagtail installation is pure-python (so no build tools need to be on the end users host machine).

None of these dependencies are directly called from within Wagtail so the start project command continues to work correctly.
@zerolab zerolab self-assigned this Feb 22, 2015
@zerolab zerolab added this to the 0.9 milestone Feb 22, 2015
@zerolab zerolab removed their assignment Feb 22, 2015
Required
--------

* Django>=1.7.0,<1.8
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a good chance that we will forget to update this list...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is a very good point.
What is the best way to mention the dependecies, without forgetting to update the list? Should I link to https://github.com/torchbox/wagtail/blob/master/setup.py#L30 ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When people are installing from git, they should run python setup.py install from the root of the repo which will also install all of Wagtails dependencies.

Something like this: https://docs.djangoproject.com/en/1.7/topics/install/#installing-an-official-release-manually

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @kaedroho. Changed with a link to setup.py for the full list of dependencies + added the note on running `python setup.py install``

@kaedroho
Copy link
Contributor

Looks good to me!

tomdyson added a commit that referenced this pull request Feb 23, 2015
@tomdyson tomdyson merged commit 4e7b9bf into wagtail:master Feb 23, 2015
@tomdyson
Copy link
Contributor

Thanks, @zerolab!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants