"""
Copyright (c) 2015-2018 Fabian Affolter <fabian@affolter-engineering.ch>

Licensed under MIT. All rights reserved.
"""
import os
from os import path

import sys

from setuptools import setup, find_packages

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

with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
    long_description = f.read()

if sys.argv[-1] == 'publish':
    os.system('python3 setup.py sdist upload')
    sys.exit()

setup(
    name='python-mystrom',
    version='0.4.0',
    description='Python API for interacting with myStrom devices',
    long_description=long_description,
    url='https://github.com/fabaff/python-mystrom',
    author='Fabian Affolter',
    author_email='fabian@affolter-engineering.ch',
    license='MIT',
    install_requires=['requests', 'click'],
    packages=find_packages(),
    zip_safe=True,
    include_package_data=True,
    entry_points="""
    [console_scripts]
    mystrom=cli:main
""",
)

@@ -129,28 +129,8 @@
 t os
-%0Afrom os import path
 %0A%0Aim
@@ -191,16 +191,19 @@
 %0Ahere = 
+os.
 path.abs
@@ -207,16 +207,19 @@
 abspath(
+os.
 path.dir
@@ -245,16 +245,19 @@
 th open(
+os.
 path.joi
@@ -935,10 +935,519 @@
 in%0A%22%22%22,%0A
+    classifiers=%5B%0A        'Development Status :: 3 - Alpha',%0A        'Environment :: Console',%0A        'Intended Audience :: Developers',%0A        'License :: OSI Approved :: MIT License',%0A        'Operating System :: MacOS :: MacOS X',%0A        'Operating System :: Microsoft :: Windows',%0A        'Operating System :: POSIX',%0A        'Programming Language :: Python :: 3.4',%0A        'Programming Language :: Python :: 3.5',%0A        'Programming Language :: Python :: 3.6',%0A        'Topic :: Utilities',%0A    %5D,%0A
 )%0A

Add classifiers