diff --git a/ptulsconv/__init__.py b/ptulsconv/__init__.py index 22a854f..dfa0a7e 100644 --- a/ptulsconv/__init__.py +++ b/ptulsconv/__init__.py @@ -3,6 +3,6 @@ Parse and convert Pro Tools text exports """ __version__ = '1.0.6' -# __author__ = 'Jamie Hardt' -# __license__ = 'MIT' -# __copyright__ = "%s %s (c) 2022 %s. All rights reserved." % (__name__, __version__, __author__) +__author__ = 'Jamie Hardt' +__license__ = 'MIT' +__copyright__ = "%s %s (c) 2022 %s. All rights reserved." % (__name__, __version__, __author__) diff --git a/ptulsconv/__main__.py b/ptulsconv/__main__.py index 8d7736d..64ea931 100644 --- a/ptulsconv/__main__.py +++ b/ptulsconv/__main__.py @@ -2,7 +2,7 @@ from optparse import OptionParser, OptionGroup import datetime import sys -from ptulsconv import __name__, __version__, __author__,__copyright__ +from ptulsconv import __name__, __version__, __author__, __copyright__ from ptulsconv.commands import convert from ptulsconv.reporting import print_status_style, print_banner_style, print_section_header_style, print_fatal_error diff --git a/pyproject.toml b/pyproject.toml index f00e42c..5c675c1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,11 +33,16 @@ doc = [ "sphinx-rtd-theme >= 1.1.1" ] -[project.scripts] -flit = "ptulsconv.__main__:main" +[tool.flit.module] +name = "ptulsconv" +[project.scripts] +ptulsconv = "ptulsconv.__main__:main" + +[project.entry_points.console_scripts] +ptulsconv = 'ptulsconv.__main__:main' [project.urls] Source = 'https://github.com/iluvcapra/ptulsconv' Issues = 'https://github.com/iluvcapra/ptulsconv/issues' -Documentation = 'https://ptulsconv.readthedocs.io/' \ No newline at end of file +Documentation = 'https://ptulsconv.readthedocs.io/'