from setuptools import setup, find_packages
import os


packagename = 'documenteer'
description = 'Tools for LSST DM documentation projects'
author = 'Jonathan Sick'
author_email = 'jsick@lsst.org'
license = 'MIT'
url = 'https://github.com/lsst-sqre/documenteer'
version = '0.1.7'


def read(filename):
    full_filename = os.path.join(
        os.path.abspath(os.path.dirname(__file__)),
        filename)
    return open(full_filename).read()

long_description = read('README.rst')


setup(
    name=packagename,
    version=version,
    description=description,
    long_description=long_description,
    url=url,
    author=author,
    author_email=author_email,
    license=license,
    classifiers=[
        'Development Status :: 4 - Beta',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
    ],
    keywords='sphinx documentation lsst',
    packages=find_packages(exclude=['docs', 'tests*']),
    install_requires=['future',
                      'Sphinx',
                      'PyYAML',
                      'sphinx-prompt',
                      'sphinxcontrib-bibtex',
                      'GitPython'],
    tests_require=['pytest',
                   'pytest-cov',
                   'pytest-flake8',
                   'pytest-mock'],
    # package_data={},
)

from setuptools import setup, find_packages
import os


packagename = 'documenteer'
description = 'Tools for LSST DM documentation projects'
author = 'Jonathan Sick'
author_email = 'jsick@lsst.org'
license = 'MIT'
url = 'https://github.com/lsst-sqre/documenteer'
version = '0.1.7'


def read(filename):
    full_filename = os.path.join(
        os.path.abspath(os.path.dirname(__file__)),
        filename)
    return open(full_filename).read()

long_description = read('README.rst')


setup(
    name=packagename,
    version=version,
    description=description,
    long_description=long_description,
    url=url,
    author=author,
    author_email=author_email,
    license=license,
    classifiers=[
        'Development Status :: 4 - Beta',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
    ],
    keywords='sphinx documentation lsst',
    packages=find_packages(exclude=['docs', 'tests*']),
    install_requires=['future',
                      'Sphinx',
                      'PyYAML',
                      'sphinx-prompt',
                      'sphinxcontrib-bibtex',
                      'GitPython',
                      'lsst-dd-rtd-theme==0.1.0'],
    tests_require=['pytest',
                   'pytest-cov',
                   'pytest-flake8',
                   'pytest-mock'],
    # package_data={},
)

Add lsst-dd-rtd-theme as explicit dependency
Add lsst-dd-rtd-theme as explicit dependency

This is needed since lsst-dd-rtd-theme is configured via the ddconfig
module. I'm pinning the theme version to 0.1 so that documenteer's
version effectively controls the version of the theme as well.
