From 0846ad3f72e7d1cde596cce921a8f35da1811ad0 Mon Sep 17 00:00:00 2001
From: Setsugennoao <41454651+Setsugennoao@users.noreply.github.com>
Date: Sun, 29 Oct 2023 18:28:19 +0100
Subject: [PATCH] Change ownership
---
README.md | 25 ++++++++-----------------
docs/development/adding.rst | 5 +++--
docs/index.rst | 8 ++++----
docs/installation/install.rst | 4 ++--
setup.py | 5 ++---
vskernels/__init__.py | 22 ++++------------------
vskernels/_metadata.py | 8 ++++----
7 files changed, 27 insertions(+), 50 deletions(-)
diff --git a/README.md b/README.md
index fcb1027..9a7bfae 100644
--- a/README.md
+++ b/README.md
@@ -4,36 +4,27 @@
-
-
-
+
+
+
-Kernels are a collection of wrappers pertaining to (de)scaling, format conversion,
-and other related operations, all while providing a consistent and clean interface.
-This allows for easy expansion and ease of use for any other maintainers
-who wishes to use them in their own functions.
+Kernels are a collection of wrappers pertaining to (de)scaling, format conversion, and other related operations, all while providing a consistent and clean interface. This allows for easy expansion and ease of use for any other maintainers who wishes to use them in their own functions.
-You can create presets for common scaling algorithms or settings,
-while ensuring the interface will always remain the same,
-even across different plugins with their own settings and expected behavior.
+You can create presets for common scaling algorithms or settings, while ensuring the interface will always remain the same, even across different plugins with their own settings and expected behavior.
-Full information on how every function/wrapper works,
-as well as a list of dependencies and links,
-can be found in the [documentation](https://vskernels.encode.moe/en/latest/).
-For further support,
-drop by `#vs-kernels` in the [IEW Discord server](https://discord.gg/qxTxVJGtst).
+For support you can find me in my [Discord server](https://discord.gg/setsugen), @setsugen_no_ao.
## How to install
Install `vskernels` with the following command:
```sh
-$ pip3 install vskernels --no-cache-dir -U
+pip install vskernels --no-cache-dir -U
```
Or if you want the latest git version, install it with this command:
```sh
-$ pip3 install git+https://github.com/Irrational-Encoding-Wizardry/vs-kernels.git --no-cache-dir -U
+pip install git+https://github.com/Setsugennoao/vs-kernels.git --no-cache-dir -U
```
diff --git a/docs/development/adding.rst b/docs/development/adding.rst
index 65db66b..ac4cb64 100644
--- a/docs/development/adding.rst
+++ b/docs/development/adding.rst
@@ -24,8 +24,9 @@ An example of catching an import exception:
try:
from vskernels import Kernel, get_kernel
except ModuleNotFoundError:
- raise ModuleNotFoundError("Could not import vs-kernels! Please download here: "
- "https://github.com/Irrational-Encoding-Wizardry/vs-kernels")
+ raise ModuleNotFoundError(
+ "Could not import vs-kernels! Please download it here: ""https://github.com/Setsugennoao/vs-kernels"
+ )
This will prompt the user to install vs-kernels
if they don't have it already.
diff --git a/docs/index.rst b/docs/index.rst
index 85ba333..62f3c2a 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -12,14 +12,14 @@ About
.. image:: https://img.shields.io/pypi/v/vskernels
:target: https://pypi.org/project/vskernels/
-.. image:: https://img.shields.io/github/commits-since/Irrational-Encoding-Wizardry/vs-kernels/latest
- :target: https://github.com/Irrational-Encoding-Wizardry/vs-kernels/commits/master
+.. image:: https://img.shields.io/github/commits-since/Setsugennoao/vs-kernels/latest
+ :target: https://github.com/Setsugennoao/vs-kernels/commits/master
.. image:: https://img.shields.io/pypi/l/vskernels
- :target: https://github.com/Irrational-Encoding-Wizardry/vs-kernels/blob/master/LICENSE
+ :target: https://github.com/Setsugennoao/vs-kernels/blob/master/LICENSE
.. image:: https://img.shields.io/discord/856381934052704266?label=discord
- :target: https://discord.gg/qxTxVJGtst
+ :target: https://discord.gg/setsugen
.. automodule:: vskernels
diff --git a/docs/installation/install.rst b/docs/installation/install.rst
index 9cf50ed..f67a1e4 100644
--- a/docs/installation/install.rst
+++ b/docs/installation/install.rst
@@ -13,7 +13,7 @@ You can use pip to do this, as demonstrated below:
.. code-block:: console
- pip3 install vs-kernels --no-cache-dir -U
+ pip install vs-kernels --no-cache-dir -U
This ensures that any previous versions will be overwritten
and vs-kernels will be upgraded if you had already previously installed it.
@@ -25,7 +25,7 @@ as well as accurately reflect the documentation.
.. code-block:: console
- pip3 install git+https://github.com/Irrational-Encoding-Wizardry/vs-kernels.git --no-cache-dir -U
+ pip install git+https://github.com/Setsugennoao/vs-kernels.git --no-cache-dir -U
It's recommended you use a release version over building from git,
unless you require new functionality only available upstream.
diff --git a/setup.py b/setup.py
index ec2e574..d7d26e7 100644
--- a/setup.py
+++ b/setup.py
@@ -27,9 +27,8 @@
long_description=readme,
long_description_content_type='text/markdown',
project_urls={
- 'Source Code': 'https://github.com/Irrational-Encoding-Wizardry/vs-kernels',
- 'Documentation': 'https://vskernels.encode.moe/en/latest/',
- 'Contact': 'https://discord.gg/qxTxVJGtst',
+ 'Source Code': 'https://github.com/Setsugennoao/vs-kernels',
+ 'Contact': 'https://discord.gg/setsugen',
},
install_requires=requirements,
python_requires='>=3.11',
diff --git a/vskernels/__init__.py b/vskernels/__init__.py
index 8581cfe..e4c6144 100644
--- a/vskernels/__init__.py
+++ b/vskernels/__init__.py
@@ -1,18 +1,4 @@
-"""
- Kernels are a collection of wrappers pertaining to (de)scaling, format conversion,
- and other related operations, all while providing a consistent and clean interface.
- This allows for easy expansion and ease of use for any other maintainers
- who wishes to use them in their own functions.
-
- If you spot any issues, please do not hesitate to send in a Pull Request
- or reach out to me on Discord (LightArrowsEXE#0476)!
-
- For further support, drop by `#vs-kernels` in the `IEW Discord server `_.
-"""
-
-# flake8: noqa
-
-from . import exceptions, kernels, util
-from .exceptions import *
-from .kernels import *
-from .util import *
+from . import exceptions, kernels, util # noqa: F401, F403
+from .exceptions import * # noqa: F401, F403
+from .kernels import * # noqa: F401, F403
+from .util import * # noqa: F401, F403
diff --git a/vskernels/_metadata.py b/vskernels/_metadata.py
index 11c1867..9fa57e4 100644
--- a/vskernels/_metadata.py
+++ b/vskernels/_metadata.py
@@ -2,11 +2,11 @@
__version__ = '2.4.1'
-__author__ = 'LightArrowsEXE '
-__maintainer__ = 'Setsugen no ao '
+__author_name__, __author_email__ = 'LightArrowsEXE', 'LightArrowsReboot@gmail.com'
+__maintainer_name__, __maintainer_email__ = 'Setsugen no ao', 'setsugen@setsugen.dev'
-__author_name__, __author_email__ = [x[:-1] for x in __author__.split('<')]
-__maintainer_name__, __maintainer_email__ = [x[:-1] for x in __maintainer__.split('<')]
+__author__ = f'{__author_name__} <{__author_email__}>'
+__maintainer__ = __author__
if __name__ == '__github__':
print(__version__)