#!/usr/bin/env python

"""Kegbot Server package.

Kegbot is a hardware and software system to record and monitor access to a
kegerator.  For more information and documentation, see http://kegbot.org/
"""

from setuptools import setup, find_packages

VERSION = '1.2.3'
DOCLINES = __doc__.split('\n')

SHORT_DESCRIPTION = DOCLINES[0]
LONG_DESCRIPTION = '\n'.join(DOCLINES[2:])
DEPENDENCIES = [
  'kegbot-pyutils == 0.1.7',
  'kegbot-api == 1.1.0',

  'Django >= 1.8, < 1.9',
  'django-imagekit == 3.1',
  'django-registration == 1.0',
  'django-socialregistration == 0.5.10',
  'django-bootstrap-pagination',

  'Celery == 3.1.17',

  'django-crispy-forms == 1.2.8',
  'foursquare == 2014.04.10',
  'gunicorn == 19.1.1',
  'MySQL-python == 1.2.5',
  'pillow == 2.4.0',
  'protobuf == 2.5.0',
  'python-gflags == 2.0',
  'django-redis',
  'pytz',
  'redis',
  'requests == 2.2.1',
  'tweepy == 2.2',
  'jsonfield == 0.9.20',
]

def setup_package():
  setup(
      name = 'kegbot',
      version = VERSION,
      description = SHORT_DESCRIPTION,
      long_description = LONG_DESCRIPTION,
      author = 'Bevbot LLC',
      author_email = 'info@bevbot.com',
      url = 'https://kegbot.org/',
      packages = find_packages(),
      scripts = [
        'bin/kegbot',
        'bin/setup-kegbot.py',
      ],
      install_requires = DEPENDENCIES,
      dependency_links = [
          'https://github.com/rem/python-protobuf/tarball/master#egg=protobuf-2.4.1',
      ],
      include_package_data = True,
      entry_points = {
        'console_scripts': ['instance=django.core.management:execute_manager'],
      },
  )

if __name__ == '__main__':
  setup_package()

@@ -392,83 +392,72 @@
 %0A  '
-kegbot-pyutils == 0.1.7',%0A  'kegbot-api == 1.1.0
+Celery',%0A  'django-bootstrap-pagination
 ',%0A
-%0A
   '
-D
+d
 jango
- %3E= 1.8, %3C 1.9
+-crispy-forms
 ',%0A 
@@ -473,23 +473,16 @@
 imagekit
- == 3.1
 ',%0A  'dj
@@ -492,25 +492,11 @@
 o-re
-g
+d
 is
-tration == 1.0
 ',%0A 
@@ -508,14 +508,8 @@
 ngo-
-social
 regi
@@ -520,18 +520,8 @@
 tion
- == 0.5.10
 ',%0A 
@@ -529,39 +529,37 @@
 'django-
-bootstrap-pagin
+socialregistr
 ation',%0A
 %0A  'Cele
@@ -554,117 +554,98 @@
 n',%0A
-%0A
   '
-Celery == 3.1.17',%0A%0A  'django-crispy-forms == 1.2.8',%0A  'foursquare == 2014.04.10',%0A  'gunicorn == 19.1.1
+Django',%0A  'foursquare',%0A  'gunicorn',%0A  'jsonfield',%0A  'kegbot-api',%0A  'kegbot-pyutils
 ',%0A 
@@ -662,17 +662,8 @@
 thon
- == 1.2.5
 ',%0A 
@@ -674,17 +674,8 @@
 llow
- == 2.4.0
 ',%0A 
@@ -688,17 +688,8 @@
 obuf
- == 2.5.0
 ',%0A 
@@ -707,33 +707,8 @@
 lags
- == 2.0',%0A  'django-redis
 ',%0A 
@@ -742,17 +742,8 @@
 ests
- == 2.2.1
 ',%0A 
@@ -754,40 +754,8 @@
 eepy
- == 2.2',%0A  'jsonfield == 0.9.20
 ',%0A%5D

remove version pinning; sort deps.