Merge ~sylvain-pineau/checkbox-ng:fix_rtd into checkbox-ng:master

Proposed by Sylvain Pineau
Status: Merged
Approved by: Sylvain Pineau
Approved revision: 96e7daef0af1364073ea559c910ffbf9e58eaab7
Merged at revision: dcfb7c58023d729db12b45a0d975104bafec1e34
Proposed branch: ~sylvain-pineau/checkbox-ng:fix_rtd
Merge into: checkbox-ng:master
Diff against target: 15 lines (+3/-1)
1 file modified
setup.py (+3/-1)
Reviewer Review Type Date Requested Status
Sylvain Pineau (community) Approve
Review via email: mp+336748@code.launchpad.net

Description of the change

Fix RTD builds

To post a comment you must log in.
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

self-approved

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/setup.py b/setup.py
2index d427663..920d28c 100755
3--- a/setup.py
4+++ b/setup.py
5@@ -41,7 +41,9 @@ on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
6 # When building on readthedocs.org, skip all real dependencies as those are
7 # mocked away in 'plainbox/docs/conf.py'. This speeds up the build process.
8 # and makes it independent on any packages that are hard to get in a virtualenv
9-if not on_rtd:
10+if on_rtd:
11+ install_requires = []
12+else:
13 install_requires = [
14 'guacamole >= 0.9',
15 'requests >= 1.0',

Subscribers

People subscribed via source and target branches