import os

from setuptools import setup


def get_packages(package):
    """
    Return root package and all sub-packages.
    """
    return [dirpath
            for dirpath, dirnames, filenames in os.walk(package)
            if os.path.exists(os.path.join(dirpath, '__init__.py'))]

setup(name='zc_common',
      version='0.0.3',
      description="A collection of Python utils",
      long_description='',
      keywords='zerocater python util',
      author='ZeroCater',
      author_email='tech@zerocater.com',
      url='https://github.com/ZeroCater/zc_common',
      download_url='https://github.com/ZeroCater/zc_common/tarball/0.0.2',
      license='MIT',
      packages=get_packages('zc_common'),
      install_requires=[
          'django',
          'djangorestframework>=3.1.0',
          'djangorestframework-jsonapi>=2.0.0b2'
      ],
      classifiers=[
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python",
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: Developers",
        "Topic :: Internet :: WWW/HTTP",
      ]
  )

import os

from setuptools import setup


def get_packages(package):
    """
    Return root package and all sub-packages.
    """
    return [dirpath
            for dirpath, dirnames, filenames in os.walk(package)
            if os.path.exists(os.path.join(dirpath, '__init__.py'))]

setup(name='zc_common',
      version='0.1.0',
      description="A collection of Python utils",
      long_description='',
      keywords='zerocater python util',
      author='ZeroCater',
      author_email='tech@zerocater.com',
      url='https://github.com/ZeroCater/zc_common',
      download_url='https://github.com/ZeroCater/zc_common/tarball/0.1.0',
      license='MIT',
      packages=get_packages('zc_common'),
      classifiers=[
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python",
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: Developers",
        "Topic :: Internet :: WWW/HTTP",
      ]
  )

Update setup.py file