forked from deepjyoti30/ytmdl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In the previous code, the version had to be changed in two places, the `setup.py` and `bin/ytmdl`, it's now in one file and the other files read it from there.
- Loading branch information
1 parent
d940b7a
commit 22f2487
Showing
3 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,8 @@ | |
with open("README.md", "r") as fh: | ||
long_description = fh.read() | ||
|
||
exec(open("ytmdl/__version__.py").read()) | ||
|
||
req_pkgs = [ | ||
'youtube_dl', | ||
'mutagen', | ||
|
@@ -32,7 +34,7 @@ | |
if __name__ == '__main__': | ||
setuptools.setup( | ||
name="ytmdl", | ||
version="2020.07.26", | ||
version=__version__, | ||
author="Deepjyoti Barman", | ||
author_email="[email protected]", | ||
description="Youtube Music Downloader", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Store the version of the package | ||
__version__ = "2020.07.26" |