import os
from setuptools import setup

README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()

# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))

setup(
    name = 'django-thermostat',
    version = '0.2',
    packages = [],
    include_package_data = True,
    license = 'BSD License',
    description = 'A Django app cronothermostat. It is a Python Home Automation component',
    long_description = README,
#TODO set the project's home page
    url = 'http://jpardobl.com',
    author = 'Javier Pardo Blasco(jpardobl)',
    author_email = 'jpardo@digitalhigh.es',
    extras_require = {
        "json": "simplejson"
        },
    install_requires = (
      "Django==1.5",
      "simplejson==2.6.2",
      "django-compressor==1.3",
      "pyparsing",
      'django_thermometer',
      'hautomation_restclient',
    ),
    dependency_links = [
        "https://github.com/jpardobl/hautomation_restclient.git#egg=hautomation_restclient",
        "https://github.com/jpardobl/django-thermometer.git#egg=django_thermometer",
    ],
  #  test_suite='test_project.tests.runtests',
   # tests_require=("selenium", "requests"),
    classifiers = [
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
    ],
)

import os
from setuptools import setup

README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()

# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))

setup(
    name = 'django-thermostat',
    version = '0.2',
    packages = [],
    include_package_data = True,
    license = 'BSD License',
    description = 'A Django app cronothermostat. It is a Python Home Automation component',
    long_description = README,
#TODO set the project's home page
    url = 'http://jpardobl.com',
    author = 'Javier Pardo Blasco(jpardobl)',
    author_email = 'jpardo@digitalhigh.es',
    extras_require = {
        "json": "simplejson"
        },
    install_requires = (
      "Django==1.5",
      "simplejson",
      "django-compressor==1.3",
      "pyparsing",
      'django_thermometer',
      'hautomation_restclient',
      "requests",
    ),
    dependency_links = [
        "https://github.com/jpardobl/hautomation_restclient.git#egg=hautomation_restclient",
        "https://github.com/jpardobl/django-thermometer.git#egg=django_thermometer",
    ],
  #  test_suite='test_project.tests.runtests',
   # tests_require=("selenium", "requests"),
    classifiers = [
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
    ],
)

solve problem with dependencies