#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os
import sys

import djangocms_embed

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

version = djangocms_embed.__version__

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

if sys.argv[-1] == 'tag':
    print("Tagging the version on github:")
    os.system("git tag -a %s -m 'version %s'" % (version, version))
    os.system("git push --tags")
    sys.exit()

long_description = open('README.rst').read()

setup(
    name='djangocms-embed',
    version=version,
    description="""Embed any content on the web. Powered by embed.ly.""",
    long_description=long_description,
    author='Mishbah Razzaque',
    author_email='mishbahx@gmail.com',
    url='https://github.com/mishbahr/djangocms-embed',
    packages=[
        'djangocms_embed',
    ],
    include_package_data=True,
    install_requires=[
        'django-appconf',
    ],
    license="BSD",
    zip_safe=False,
    keywords='djangocms-embed',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Framework :: Django',
        'Framework :: Django :: 1.7',
        'Framework :: Django :: 1.8',
        'Framework :: Django :: 1.9',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Natural Language :: English',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
    ],
)

@@ -969,16 +969,97 @@
 pconf',%0A
+        'django-cms%3E=3.0',%0A        'jsonfield%3E=1.0.3',%0A        'embedly%3E=0.5.0',%0A
     %5D,%0A 

Add required packages to setup.py