import os
from setuptools import setup


def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()


setup(
    name="feedinlib",
    version="0.1.0rc1",
    description="Creating time series from pv or wind power plants.",
    url="http://github.com/oemof/feedinlib",
    author="oemof developer group",
    author_email="windpowerlib@rl-institut.de",
    license="MIT",
    packages=["feedinlib"],
    long_description=read("README.rst"),
    long_description_content_type="text/x-rst",
    zip_safe=False,
    install_requires=[
        "cdsapi >= 0.1.4",
        "numpy >= 1.7.0",
        "oedialect >= 0.0.5",
        "open_FRED-cli",
        "pandas >= 0.13.1",
        "pvlib >= 0.6.0",
        "windpowerlib >= 0.2.0",
        "xarray >= 0.12.0",
    ],
    extras_require={
        "dev": ["jupyter", "pytest", "shapely", "sphinx_rtd_theme"],
        "examples": ["jupyter", "shapely"],
    },
)

import os
from setuptools import setup


def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()


setup(
    name="feedinlib",
    version="0.1.0rc1",
    description="Creating time series from pv or wind power plants.",
    url="http://github.com/oemof/feedinlib",
    author="oemof developer group",
    author_email="windpowerlib@rl-institut.de",
    license="MIT",
    packages=["feedinlib"],
    long_description=read("README.rst"),
    long_description_content_type="text/x-rst",
    zip_safe=False,
    install_requires=[
        "cdsapi >= 0.1.4",
        "numpy >= 1.7.0",
        "oedialect >= 0.0.6.dev0",
        "open_FRED-cli",
        "pandas >= 0.13.1",
        "pvlib >= 0.6.0",
        "windpowerlib >= 0.2.0",
        "xarray >= 0.12.0",
    ],
    extras_require={
        "dev": ["jupyter", "pytest", "shapely", "sphinx_rtd_theme"],
        "examples": ["jupyter", "shapely"],
    },
)

Add `".dev0"` suffix to lower `"oedialect"` bound
Add `".dev0"` suffix to lower `"oedialect"` bound

Readthedocs still picked up version 0.0.4, even with 0.0.5 being
specified as the lower bound. Maybe it's because `oedialect` only has
`.dev0` releases in which case adding the explicit suffix fixes that.
Fingers crossed.
