-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
37 lines (34 loc) · 993 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
"""Setup configuration for the SRT Translator package."""
import os
from setuptools import setup
# Read the content of the README file
with open(
os.path.join(os.path.dirname(__file__), 'README.md'),
encoding='utf-8'
) as f:
long_description = f.read()
setup(
name='srt-translator',
version='0.1',
author='Faisal Ahmed Moshiur',
author_email='[email protected]',
description='A script to translate .srt files using GoogleTranslator.',
long_description=long_description,
long_description_content_type='text/markdown',
py_modules=['translate_srt'],
install_requires=[
'deep-translator',
'tqdm',
],
entry_points={
'console_scripts': [
'translate-srt=translate_srt:main',
],
},
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
python_requires='>=3.6',
)