1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
git push heroku master
Counting objects: 6459, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (5445/5445), done.
Writing objects: 100% (6459/6459), 7.75 MiB | 435 KiB/s, done.
Total 6459 (delta 2159), reused 0 (delta 0)

-----> Heroku receiving push
-----> Python/Django app detected
-----> Preparing virtualenv version 1.6.4
       New python executable in ./bin/python
       Installing setuptools............done.
       Installing pip...............done.
-----> Django settings injection
       Injecting code into hellodjango/settings.py to read from DATABASE_URL
-----> Installing dependencies using pip version 1.0.2
       Downloading/unpacking Django==1.3.1 (from -r requirements.txt (line 1))
       Creating supposed download cache at /app/tmp/repo.git/.cache/pip_downloads
         Storing download in cache at /app/tmp/repo.git/.cache/pip_downloads/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2FD%2FDjango%2FDjango-1.3.1.tar.gz
         Running setup.py egg_info for package Django
           
       Downloading/unpacking distribute==0.6.10 (from -r requirements.txt (line 2))
         Storing download in cache at /app/tmp/repo.git/.cache/pip_downloads/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fd%2Fdistribute%2Fdistribute-0.6.10.tar.gz
         Running setup.py egg_info for package distribute
           
       Downloading/unpacking psycopg2==2.4.4 (from -r requirements.txt (line 3))
         Storing download in cache at /app/tmp/repo.git/.cache/pip_downloads/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fp%2Fpsycopg2%2Fpsycopg2-2.4.4.tar.gz
         Running setup.py egg_info for package psycopg2
           
           no previously-included directories found matching 'doc/src/_build'
       Requirement already satisfied (use --upgrade to upgrade): wsgiref==0.1.2 in /usr/local/lib/python2.7 (from -r requirements.txt (line 4))
       Installing collected packages: Django, distribute, psycopg2
         Running setup.py install for Django
           changing mode of build/scripts-2.7/django-admin.py from 600 to 755
           
           changing mode of /tmp/build_1r6q26mdacu38/bin/django-admin.py to 755
         Running setup.py install for distribute
           Before install bootstrap.
           Scanning installed packages
           Setuptools installation detected at /tmp/build_1r6q26mdacu38/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg
           Egg installation
           Patching...
           Renaming /tmp/build_1r6q26mdacu38/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg into /tmp/build_1r6q26mdacu38/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg.OLD.1325530484.88
           Patched done.
           Relaunching...
           Traceback (most recent call last):
             File "<string>", line 1, in <module>
           NameError: name 'install' is not defined
           Complete output from command /tmp/build_1r6q26mdacu38/bin/python -c "import setuptools;__file__='/tmp/build_1r6q26mdacu38/build/distribute/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-LsU3l3-record/install-record.txt --install-headers /tmp/build_1r6q26mdacu38/include/site/python2.7:
           Before install bootstrap.
       
       Scanning installed packages
       
       Setuptools installation detected at /tmp/build_1r6q26mdacu38/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg
       
       Egg installation
       
       Patching...
       
       Renaming /tmp/build_1r6q26mdacu38/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg into /tmp/build_1r6q26mdacu38/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg.OLD.1325530484.88
       
       Patched done.
       
       Relaunching...
       
       Traceback (most recent call last):
       
         File "<string>", line 1, in <module>
       
       NameError: name 'install' is not defined
       
       ----------------------------------------
       Command /tmp/build_1r6q26mdacu38/bin/python -c "import setuptools;__file__='/tmp/build_1r6q26mdacu38/build/distribute/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-LsU3l3-record/install-record.txt --install-headers /tmp/build_1r6q26mdacu38/include/site/python2.7 failed with error code 1
       Storing complete log in /app/.pip/pip.log
 !     Heroku push rejected, failed to compile Python/django app

To git@heroku.com:radiant-galaxy-9558.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:radiant-galaxy-9558.git'