mirror of
https://github.com/nova-r/fediplug.git
synced 2025-01-22 08:36:29 +01:00
refactor invocation
This commit is contained in:
parent
62978504c1
commit
475b8425a0
3 changed files with 10 additions and 5 deletions
|
@ -0,0 +1,2 @@
|
|||
from fediplay.cli import cli
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
'''Hook for running fediplay module as a script.'''
|
||||
|
||||
from fediplay.main import main
|
||||
from fediplay.cli import cli
|
||||
|
||||
cli()
|
||||
|
||||
main()
|
||||
|
|
8
setup.py
8
setup.py
|
@ -2,17 +2,19 @@ from setuptools import setup
|
|||
|
||||
setup(
|
||||
name='fediplay',
|
||||
version='0.1',
|
||||
version='2.0',
|
||||
py_modules=['fediplay'],
|
||||
install_requires=[
|
||||
'Mastodon.py',
|
||||
'click',
|
||||
'cssselect',
|
||||
'lxml',
|
||||
'Mastodon.py',
|
||||
'python-dotenv',
|
||||
'youtube-dl'
|
||||
],
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'fediplay = fediplay.cli:cli'
|
||||
'fediplay = fediplay:cli'
|
||||
]
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue