Skip to content

Commit

Permalink
Push version.
Browse files Browse the repository at this point in the history
  • Loading branch information
cubicibo committed Jan 1, 2024
1 parent 39ca265 commit 7498370
Show file tree
Hide file tree
Showing 14 changed files with 72 additions and 70 deletions.
2 changes: 1 addition & 1 deletion SUPer/__init__.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Copyright (C) 2023 cibo
Copyright (C) 2024 cibo
This file is part of SUPer <https://github.com/cubicibo/SUPer>.
SUPer is free software: you can redistribute it and/or modify
Expand Down
4 changes: 2 additions & 2 deletions SUPer/__metadata__.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Copyright (C) 2023 cibo
Copyright (C) 2024 cibo
This file is part of SUPer <https://github.com/cubicibo/SUPer>.
SUPer is free software: you can redistribute it and/or modify
Expand All @@ -20,7 +20,7 @@

__MAJOR = 0
__MINOR = 2
__REVISION = 2
__REVISION = 3

__name__ = "SUPer"
__version__ = '.'.join(map(str, [__MAJOR, __MINOR, __REVISION]))
Expand Down
2 changes: 1 addition & 1 deletion SUPer/filestreams.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Copyright (C) 2023 cibo
Copyright (C) 2024 cibo
This file is part of SUPer <https://github.com/cubicibo/SUPer>.
SUPer is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion SUPer/interface.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Copyright (C) 2023 cibo
Copyright (C) 2024 cibo
This file is part of SUPer <https://github.com/cubicibo/SUPer>.
SUPer is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion SUPer/optim.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Copyright (C) 2023 cibo
Copyright (C) 2024 cibo
This file is part of SUPer <https://github.com/cubicibo/SUPer>.
SUPer is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion SUPer/palette.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Copyright (C) 2023 cibo
Copyright (C) 2024 cibo
This file is part of SUPer <https://github.com/cubicibo/SUPer>.
SUPer is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion SUPer/pgraphics.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Copyright (C) 2023 cibo
Copyright (C) 2024 cibo
This file is part of SUPer <https://github.com/cubicibo/SUPer>.
SUPer is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion SUPer/pgstream.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Copyright (C) 2023 cibo
Copyright (C) 2024 cibo
This file is part of SUPer <https://github.com/cubicibo/SUPer>.
SUPer is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion SUPer/render2.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Copyright (C) 2023 cibo
Copyright (C) 2024 cibo
This file is part of SUPer <https://github.com/cubicibo/SUPer>.
SUPer is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion SUPer/segments.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Copyright (C) 2023 cibo
Copyright (C) 2024 cibo
This file is part of SUPer <https://github.com/cubicibo/SUPer>.
SUPer is free software: you can redistribute it and/or modify
Expand Down
4 changes: 2 additions & 2 deletions SUPer/utils.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Copyright (C) 2023 cibo
Copyright (C) 2024 cibo
This file is part of SUPer <https://github.com/cubicibo/SUPer>.
SUPer is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -531,7 +531,7 @@ def get_progress_bar(cls, logger: logging.Logger, tot: ...) -> Optional[tqdm]:
pbar = nullcontext()
pbar.n = 0
if getattr(pbar, 'update', None) is None:
pbar.update = pbar.close = pbar.set_description = pbar.reset = pbar.refresh = lambda *args, **kwargs: None
pbar.update = pbar.close = pbar.set_description = pbar.reset = pbar.refresh = pbar.clear = lambda *args, **kwargs: None
cls._logpbar[logger.name] = pbar
return pbar
####
Expand Down
112 changes: 57 additions & 55 deletions setup.py
@@ -1,56 +1,58 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright (C) 2023 cibo
# This file is part of SUPer <https://github.com/cubicibo/SUPer>.
#
# SUPer is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SUPer is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SUPer. If not, see <http://www.gnu.org/licenses/>.

from distutils.util import convert_path
from typing import Any, Dict

from setuptools import setup

NAME = 'SUPer'

meta: Dict[str, Any] = {}
with open(convert_path(f"{NAME}/__metadata__.py"), encoding='utf-8') as f:
exec(f.read(), meta)

with open('README.md', encoding='utf-8') as fh:
long_description = fh.read()

with open('requirements.txt', encoding='utf-8') as fh:
install_requires = fh.read()

setup(
name=NAME,
version=meta['__version__'],
author=meta['__author__'],
description='Blu-ray SUP editor and optimiser.',
long_description=long_description,
long_description_content_type='text/markdown',
packages=[NAME,],
package_data={
NAME: ['py.typed'],
},
url='https://github.com/cubicibo/SUPer',
zip_safe=False,
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
python_requires='>=3.10',
install_requires=install_requires,
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Copyright (C) 2024 cibo
This file is part of SUPer <https://github.com/cubicibo/SUPer>.
SUPer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
SUPer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with SUPer. If not, see <http://www.gnu.org/licenses/>.
"""

from distutils.util import convert_path
from typing import Any, Dict

from setuptools import setup

NAME = 'SUPer'

meta: Dict[str, Any] = {}
with open(convert_path(f"{NAME}/__metadata__.py"), encoding='utf-8') as f:
exec(f.read(), meta)

with open('README.md', encoding='utf-8') as fh:
long_description = fh.read()

with open('requirements.txt', encoding='utf-8') as fh:
install_requires = fh.read()

setup(
name=NAME,
version=meta['__version__'],
author=meta['__author__'],
description='Blu-ray SUP editor and optimiser.',
long_description=long_description,
long_description_content_type='text/markdown',
packages=[NAME,],
package_data={
NAME: ['py.typed'],
},
url='https://github.com/cubicibo/SUPer',
zip_safe=False,
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
python_requires='>=3.10',
install_requires=install_requires,
)
2 changes: 1 addition & 1 deletion supercli.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Copyright (C) 2023 cibo
Copyright (C) 2024 cibo
This file is part of SUPer <https://github.com/cubicibo/SUPer>.
SUPer is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion supergui.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Copyright (C) 2023 cibo
Copyright (C) 2024 cibo
This file is part of SUPer <https://github.com/cubicibo/SUPer>.
SUPer is free software: you can redistribute it and/or modify
Expand Down

0 comments on commit 7498370

Please sign in to comment.