|
1 |
| -import setuptools |
| 1 | +import os |
| 2 | +from setuptools import setup |
| 3 | + |
| 4 | +DIR = os.path.dirname(os.path.abspath(__file__)) |
| 5 | +INSTALL_PACKAGES = open(os.path.join(DIR, 'requirements.txt')).read().splitlines() |
2 | 6 |
|
3 | 7 | with open("README.md", "r") as fh:
|
4 |
| - long_description = fh.read() |
| 8 | + README = fh.read() |
5 | 9 |
|
6 |
| -setuptools.setup( |
7 |
| - name="AutoSub", # Replace with your own username |
| 10 | +setup( |
| 11 | + name="AutoSub", |
| 12 | + packages="autosub", |
8 | 13 | version="0.0.1",
|
9 | 14 | author="Abhiroop Talasila",
|
10 | 15 |
|
11 |
| - description="Automatically generate subtitles for any video file using STT", |
12 |
| - long_description=long_description, |
| 16 | + description="CLI application to generate subtitle file (.srt) for any video file using using STT", |
| 17 | + long_description=README, |
| 18 | + install_requires=INSTALL_PACKAGES, |
13 | 19 | long_description_content_type="text/markdown",
|
14 | 20 | url="https://github.com/abhirooptalasila/AutoSub",
|
15 |
| - packages=setuptools.find_packages(), |
| 21 | + keywords=['speech-to-text','deepspeech','machine-learning'], |
16 | 22 | classifiers=[
|
17 | 23 | "Programming Language :: Python :: 3",
|
18 | 24 | "License :: OSI Approved :: MIT License",
|
19 | 25 | "Operating System :: OS Independent",
|
20 | 26 | ],
|
21 |
| - python_requires='>=3.6', |
| 27 | + python_requires='>=3.5', |
22 | 28 | )
|
0 commit comments