From: Matías Aguirre Date: Wed, 5 Jan 2011 03:00:37 +0000 (-0200) Subject: Updated setup.py and README with installation instructions X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=c2232c0de6ccc8406c08c6d2a1f4eff26a57d25f;p=django-social-auth.git Updated setup.py and README with installation instructions --- diff --git a/README.rst b/README.rst index 80c08e0..312fa84 100644 --- a/README.rst +++ b/README.rst @@ -46,10 +46,31 @@ Dependencies that must be meet to use the app: - Twitter and Facebook support demands an application registration on their corresponding sites. - ------------ Installation ------------ + +From pypi_:: + + $ pip install django-social-auth + +or clone from github_:: + + $ git clone git://github.com/omab/django-social-auth.git + +and add social_auth to PYTHONPATH:: + + $ export PYTHONPATH=$PYTHONPATH:$(pwd)/django-social-auth/ + +or:: + + $ cd django-social-auth + $ sudo python setup.py install + + +------------- +Configuration +------------- - Add social_auth to PYTHONPATH and installed applications:: INSTALLED_APPS = ( @@ -289,3 +310,5 @@ Base work is copyrighted by: .. _Facebook OAuth: http://developers.facebook.com/docs/authentication/ .. _Orkut OAuth: http://code.google.com/apis/orkut/docs/rest/developers_guide_protocol.html#Authenticating .. _myOpenID: https://www.myopenid.com/ +.. _pypi: http://pypi.python.org/pypi/django-social-auth/ +.. _github: https://github.com/omab/django-social-auth diff --git a/setup.py b/setup.py index 4254132..ce37f9a 100644 --- a/setup.py +++ b/setup.py @@ -12,6 +12,7 @@ setup(name='django-social-auth', license='GPL', keywords='django, openid, oath, social auth, application', url='https://github.com/omab/django-social-auth', + download_url='git+git://github.com/omab/django-social-auth.git#egg=django-social-auth', packages=['social_auth'], long_description=open(join(dirname(__file__), 'README.rst')).read(), requires=['django (>=1.2)',