Skip to content
This repository has been archived by the owner on Jul 2, 2019. It is now read-only.

Commit

Permalink
Creating a requirements.txt for ReadTheDocs
Browse files Browse the repository at this point in the history
ReadTheDocs is unable to compile the Connect project due to an error.
This should remove the offending package.

The offending compile error:

```
/usr/bin/ld: cannot find -lncurses
collect2: error: ld returned 1 exit status
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
```
  • Loading branch information
nickcatal committed Oct 22, 2015
1 parent e9e433e commit 0a3699a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
1 change: 0 additions & 1 deletion common-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ nosexcover==1.0.10
django-clear-cache==0.3
django-debug-toolbar==1.3.0
ipython==3.1.0
readline==6.2.4.1

# Authentication Libraries
-e git+https://github.com/ofa/python-social-auth.git@ngp-actionid#egg=python-social-auth
4 changes: 4 additions & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@
# (dev-requirements.txt)

-r common-requirements.txt

# Some 64 bit systems (ReadTheDocs build system in particular) won't compile
# readline due to the lack of a curses library
readline==6.2.4.1
7 changes: 7 additions & 0 deletions doc-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#####
# Requirements needed for generating pydoc (ReadTheDocs in particular)
#
# Due to issues with some packages compiling on docuemtation machines we break
# out requirements into various requirements.txt files

-r common-requirements.txt
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#####
# Requirements needed on Heroku
#
# Due to issues wiht some packages compiling on dev machines we break out
# requirements that are needed on Heroku (requirements.txt) and on dev machines
# (dev-requirements.txt)
# Due to issues with some packages compiling on dev machines we break out
# requirements that are needed on Heroku (requirements.txt), on dev machines
# (dev-requirements.txt), and for documentation (doc-requirements.txt)


# cffi or cryptography have to be explictly set in requirements for heroku
Expand Down

0 comments on commit 0a3699a

Please sign in to comment.