You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.7KB

  1. from codecs import open
  2. from os import path
  3. from setuptools import find_packages, setup
  4. here = path.abspath(path.dirname(__file__))
  5. with open(path.join(here, 'README.md'), encoding='utf-8') as f:
  6. long_description = f.read()
  7. setup(
  8. name='tv_series_tools',
  9. version='1.1.0',
  10. description='Tools to work with TV series\'s subtitles.',
  11. long_description=long_description,
  12. url='https://lab.saloun.cz/jakub/tv-series-tools',
  13. author='Jakub Valenta',
  14. author_email='jakub@jakubvalenta.cz',
  15. license='Apache Software License',
  16. classifiers=[
  17. 'Development Status :: 3 - Alpha',
  18. 'Intended Audience :: Developers',
  19. 'Topic :: Artistic Software',
  20. 'License :: OSI Approved :: Apache Software License',
  21. 'Programming Language :: Python :: 3',
  22. ],
  23. keywords='',
  24. packages=find_packages(),
  25. install_requires=[
  26. 'requests',
  27. 'imdbpy',
  28. 'python-opensubtitles',
  29. 'pysrt',
  30. 'termcolor',
  31. 'moviepy',
  32. ],
  33. entry_points={
  34. 'console_scripts': [
  35. 'tv-series-download-subs='
  36. 'tv_series.download_subs:download_subs_and_cache_results',
  37. 'tv-series-find-episode-ids='
  38. 'tv_series.find_episode_ids:find_and_write_episode_ids',
  39. 'tv-series-search-subs='
  40. 'tv_series.search_subs:search_subs_and_save_matches',
  41. 'tv-series-matches-approve='
  42. 'tv_series.approve_matches:approve_matches_and_save_answers',
  43. 'tv-series-matches-check-approved='
  44. 'tv_series.approve_matches:check_positive_answers',
  45. 'tv-series-matches-print-approved='
  46. 'tv_series.approve_matches:print_positive_answers',
  47. ]
  48. },
  49. )