from setuptools import setup
import sys
import os
# from setuptools.command.develop import develop
# from setuptools.command.install import install
# from subprocess import check_call

#
# class PostDevelopCommand(develop):
#     """Post-installation for development mode."""
#     def run(self):
#         check_call("apt-get install this-package".split())
#         develop.run(self)


# class InstallSystemServiceCommand(install):
#     """Post-installation for installation mode."""
#     def run(self):
#         check_call("apt-get install this-package".split())
#         install.run(self)


setup(name='video_transcode',
      version='1.1.2',
      url='https://github.com/kirbs-/video-transcode',
      description='Video commercial cutting and transcoding stack.',
      author='Chris Kirby',
      author_email='kirbycm@gmail.com',
      license='MIT',
      packages=['video_transcode'],
      package_data={'video_transcode': [os.path.join('config', '*')]},
      install_requires=['celery', 'pyyaml>=5.1', 'pendulum', 'moviepy', 'redis'],
      zip_safe=False,
      # cmdclass={
      #       'install': InstallSystemServiceCommand,
      # },
      entry_points={
        'console_scripts': ['video-transcode=video_transcode.video_transcode:main']
      }
)