make maybe an commands?

This commit is contained in:
ChaotiCryptidz 2022-02-07 10:44:16 +00:00
parent 9599a0e600
commit 6918447657
4 changed files with 21 additions and 3 deletions

5
.gitignore vendored
View file

@ -1 +1,4 @@
__pycache__
__pycache__
dist
build
*.egg-info

1
main.py Normal file
View file

@ -0,0 +1 @@
import musicutil.__main__

View file

@ -2,12 +2,12 @@
import argparse
from musicutil.commands.genhtml_command import GenHTMLCommand, add_genhtml_command, get_genhtml_args
from .commands.genhtml_command import GenHTMLCommand, add_genhtml_command, get_genhtml_args
from .commands.process_command import ProcessCommand, add_process_command, get_process_args
from .commands.copy_command import CopyCommand, add_copy_command, get_copy_args
from .commands.transcode_command import TranscodeCommand, add_transcode_command, get_transcode_args
parser = argparse.ArgumentParser(
description="chaos's musicutil")
subparsers = parser.add_subparsers(dest="subparser_name")

14
setup.py Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env python
from setuptools import setup
setup(
name='musicutil',
version='1.0',
description='A utility for managing a music library',
author='Chaos',
author_email='chaoticryptidz@owo.monster',
url='https://gitlab.com/ChaotiCryptidz/musicutil',
packages=['musicutil'],
entry_points = {'console_scripts': ['musicutil = musicutil.__main__:main'],},
)