I "finished" a little python project and I want to deploy it on heroku
GitHub page.
I want to execute: python2 main.py -i json-rpc
in order to have the json-rpc server listening for connections
but I get the following error when pushing to heroku:

Did you remember to actually create a Heroku app to push to? (Either on the heroku site, but preferably through the command line.) If not, go to the main folder of your project, and run the heroku toolbelt command heroku create, and then try git push heroku master.
–
jdotjdotOct 17 '12 at 19:54

Also, it looks like you're missing a virtualenv, since I don't see one on Github and there's no .gitignore to ignore it. virtualenvs are requirements for Python apps on Heroku.
–
jdotjdotOct 17 '12 at 19:59

Update:

Having finally tested this myself on a fresh Heroku app, what you're missing is a requirements.txt. Even though you don't have any dependencies, you still need it. Within your virtualenv in the main project folder, run pip freeze > requirements.txt, and then git add . then git commit -m "added requirements.txt", and then push to Heroku and it should work.