diff --git a/MIRRORS b/MIRRORS new file mode 100644 index 0000000..1944071 --- /dev/null +++ b/MIRRORS @@ -0,0 +1,4 @@ +git@github.com:kevinveenbirkenbach/setup-hibernate.git +ssh://git@git.veen.world:2201/kevinveenbirkenbach/setup-hibernate.git +ssh://git@code.infinito.nexus:2201/kevinveenbirkenbach/setup-hibernate.git +https://pypi.org/project/setup-hibernate/ diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..6824c2b --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,34 @@ +[build-system] +requires = ["setuptools>=69", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "setup-hibernate" +version = "0.1.0" +description = "Configure Linux hibernation (swapfile, GRUB resume, mkinitcpio resume hook)." +readme = "README.md" +requires-python = ">=3.8" +license = { file = "LICENSE" } +authors = [{ name = "Kevin Veen-Birkenbach" }] +keywords = ["hibernate", "hibernation", "swap", "grub", "mkinitcpio", "linux", "arch", "manjaro"] +classifiers = [ + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only", + "Operating System :: POSIX :: Linux", + "Environment :: Console", +] + +[project.urls] +Homepage = "https://www.veen.world" +Repository = "https://github.com/kevinveenbirkenbach/setup-hibernate" +Issues = "https://github.com/kevinveenbirkenbach/setup-hibernate/issues" + +[project.scripts] +setup-hibernate = "setup_hibernate.__main__:main" + +[tool.setuptools] +package-dir = { "" = "src" } + +[tool.setuptools.packages.find] +where = ["src"] diff --git a/src/setup_hibernate/__init__.py b/src/setup_hibernate/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/main.py b/src/setup_hibernate/__main__.py similarity index 100% rename from main.py rename to src/setup_hibernate/__main__.py