-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
this finalizes the conversion to pyproject.toml, which is the new standard most other projects are using nowadays
- Loading branch information
1 parent
2655580
commit dd53f7c
Showing
1 changed file
with
1 addition
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,3 @@ | ||
from setuptools import setup | ||
import re | ||
import ast | ||
|
||
|
||
_version_re = re.compile(r'__version__\s+=\s+(.*)') | ||
|
||
with open('tubeup/__init__.py', 'rb') as f: | ||
version = str(ast.literal_eval(_version_re.search( | ||
f.read().decode('utf-8')).group(1))) | ||
|
||
setup( | ||
name='tubeup', | ||
version=version, | ||
url='https://github.com/bibanon/tubeup', | ||
license='GPL 3', | ||
author='Bibliotheca Anonoma', | ||
description='Youtube (and other video site) to Internet Archive Uploader', | ||
packages=[ | ||
'tubeup', | ||
], | ||
entry_points={ | ||
'console_scripts': [ | ||
'tubeup = tubeup.__main__:main', | ||
], | ||
}, | ||
install_requires=[ | ||
'internetarchive', | ||
'docopt==0.6.2', | ||
'yt-dlp', | ||
] | ||
) | ||
setup() |