Skip to content

Commit

Permalink
fixed a bug while building package
Browse files Browse the repository at this point in the history
  • Loading branch information
Itz-fork authored Aug 4, 2021
1 parent fdd3f39 commit f0429d5
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,24 @@
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))

# Getting the requirements
with open('requirements.txt') as req:
if os.path.isfile('requirements.txt'):
with open('requirements.txt') as req:
reques = req.read().splitlines()
else:
reques = [
'wget'
]


setup(name='PyYtX',
version='0.3',
version='0.4',
description='A Simple Python Program to Get Best Possible Thumbnail Urls From a Youtube Video Link',
url='https://github.com/Itz-fork/PyYtX',
author='Itz-fork',
author_email='itz-fork@users.noreply.github.com',
license='MIT',
packages=find_packages(),
download_url="https://github.com/Itz-fork/PyYtX/archive/refs/tags/v0.3.tar.gz",
download_url="https://github.com/Itz-fork/PyYtX/archive/refs/tags/v0.4.tar.gz",
keywords=['python', 'youtube', 'PyYtX'],
install_requires=reques,
classifiers=[
Expand Down

0 comments on commit f0429d5

Please sign in to comment.