# -*- coding: utf-8 -*-

from setuptools import setup, find_packages
import os


version = '0.1'

here = os.path.abspath(os.path.dirname(__file__))

def read_file(*pathes):
    path = os.path.join(here, *pathes)
    if os.path.isfile(path):
        with open(path, 'r') as desc_file:
            return desc_file.read()
    else:
        return ''

desc_files = (('README.md',), ('docs', 'CHANGES.rst'),
                ('docs', 'CONTRIBUTORS.rst'))

long_description = '\n\n'.join([read_file(*pathes) for pathes in desc_files])

install_requires=['nagiosplugin']

extras_require = {'test': ['setuptools', 'mock']}

setup(name='check_dns_sync',
      version=version,
      description="A nagios-like plugin to check if zone is synced accross dns servers",
      long_description=long_description,
      platforms = ["any"],
      # Get more strings from
      # http://pypi.python.org/pypi?%3Aaction=list_classifiers
      classifiers=[
        "Programming Language :: Python",
        "License :: OSI Approved :: BSD License",
        ],
      keywords="''",
      author="Elio Maisonneuve",
      author_email="elio.maisonneuve@eisti.eu",
      url="''",
      license="BSD",
      packages=find_packages("src"),
      package_dir = {"": "src"},
      namespace_packages=["paulla"],
      include_package_data=True,
      zip_safe=False,
      install_requires=install_requires,
      entry_points="""
      # -*- Entry points: -*-
      [console_scripts]
      check_dns_sync = check_dns_sync:main
      """,
      )

# vim:set et sts=4 ts=4 tw=80:

@@ -1147,18 +1147,56 @@
    url=%22
-''
+https://github.com/paulla/check_dns_sync
 %22,%0A     
@@ -1285,45 +1285,8 @@
 %22%7D,%0A
-      namespace_packages=%5B%22paulla%22%5D,%0A
     

add repo url in setup.py - fix unable to upload to pypi