Skip to content

Commit

Permalink
setup.py: use stub
Browse files Browse the repository at this point in the history
this finalizes the conversion to pyproject.toml, which is the new standard most other projects are using nowadays
  • Loading branch information
mrpapersonic authored Oct 1, 2023
1 parent 2655580 commit dd53f7c
Showing 1 changed file with 1 addition and 30 deletions.
31 changes: 1 addition & 30 deletions setup.py
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()

0 comments on commit dd53f7c

Please sign in to comment.