diff --git a/eris/pyproject.toml b/eris/pyproject.toml new file mode 100644 index 0000000..58975c2 --- /dev/null +++ b/eris/pyproject.toml @@ -0,0 +1,36 @@ +tool.uv.package = true + +[project] +name = "eris" +version = "v2024.12.07" +description = "Eris maintains an up-to-date set of reports for every file in a codebase." +readme = "README.md" +authors = [ + { name = "Andrew Hamilton", email = "and_hamilton@yahoo.com" }, +] +requires-python = ">=3.11" +dependencies = [ + "decorator==5.1.1", + "docopt==0.6.2", + "fill3 @ git+https://gitlab.com/ahamilton/eris@v2024.12.07#subdirectory=fill3", + "lscolors @ git+https://gitlab.com/ahamilton/eris@v2024.12.07#subdirectory=lscolors", + "pexpect==4.8.0", + "pillow==10.0.0", + "pygments==2.16.1", + "pyinotify==0.9.6", + "termstr @ git+https://gitlab.com/ahamilton/eris@v2024.12.07#subdirectory=termstr", + "toml==0.10.2", +] + +[project.scripts] +eris = "eris.__main__:entry_point" +eris-worker = "eris.worker:main" +eris-webserver = "eris.webserver:main" +pydoc_color = "eris.pydoc_color:main" + +[project.urls] +homepage = "https://github.com/ahamilton/eris" + +[tool.setuptools] +packages=["eris"] +py-modules=["sorted_collection"] diff --git a/eris/setup.py b/eris/setup.py deleted file mode 100755 index 1fa404f..0000000 --- a/eris/setup.py +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/env python3.11 - - -import os -try: - from setuptools import setup -except ImportError: - from distutils.core import setup - - -setup(name="eris", - version="v2024.12.07", - description=("Eris maintains an up-to-date set of reports for every file in a codebase."), - url="https://github.com/ahamilton/eris", - author="Andrew Hamilton", - author_email="and_hamilton@yahoo.com", - license="Artistic 2.0", - python_requires=">=3.11", - packages=["eris"], - py_modules=["sorted_collection"], - package_data={"eris": ["tools.toml"]}, - entry_points={"console_scripts": - ["eris=eris.__main__:entry_point", "eris-worker=eris.worker:main", - "eris-webserver=eris.webserver:main", "pydoc_color=eris.pydoc_color:main"]}, - install_requires=[ - "pyinotify==0.9.6", "pygments==2.16.1", "docopt==0.6.2", "pillow==10.0.0", "toml==0.10.2", - "decorator==5.1.1", "pexpect==4.8.0", - "fill3 @ git+https://gitlab.com/ahamilton/eris@v2024.12.07#subdirectory=fill3", - "termstr @ git+https://gitlab.com/ahamilton/eris@v2024.12.07#subdirectory=termstr", - "lscolors @ git+https://gitlab.com/ahamilton/eris@v2024.12.07#subdirectory=lscolors"]) diff --git a/eris/uv.lock b/eris/uv.lock new file mode 100644 index 0000000..9696824 --- /dev/null +++ b/eris/uv.lock @@ -0,0 +1,151 @@ +version = 1 +requires-python = ">=3.11" + +[[package]] +name = "cwcwidth" +version = "0.1.5" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/38/17/aadd0c6190dca91aa27c4d7e84d69d30fdf4966e7764247cdc395f8fe7d9/cwcwidth-0.1.5.tar.gz", hash = "sha256:2c840e7d85f6de45c45986b416d79312c91882e1121b78d4c347e49c4238c09d", size = 11071 } + +[[package]] +name = "decorator" +version = "5.1.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/66/0c/8d907af351aa16b42caae42f9d6aa37b900c67308052d10fdce809f8d952/decorator-5.1.1.tar.gz", hash = "sha256:637996211036b6385ef91435e4fae22989472f9d571faba8927ba8253acbc330", size = 35016 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d5/50/83c593b07763e1161326b3b8c6686f0f4b0f24d5526546bee538c89837d6/decorator-5.1.1-py3-none-any.whl", hash = "sha256:b8c3f85900b9dc423225913c5aace94729fe1fa9763b38939a95226f02d37186", size = 9073 }, +] + +[[package]] +name = "docopt" +version = "0.6.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a2/55/8f8cab2afd404cf578136ef2cc5dfb50baa1761b68c9da1fb1e4eed343c9/docopt-0.6.2.tar.gz", hash = "sha256:49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491", size = 25901 } + +[[package]] +name = "eris" +version = "2024.12.7" +source = { editable = "." } +dependencies = [ + { name = "decorator" }, + { name = "docopt" }, + { name = "fill3" }, + { name = "lscolors" }, + { name = "pexpect" }, + { name = "pillow" }, + { name = "pygments" }, + { name = "pyinotify" }, + { name = "termstr" }, + { name = "toml" }, +] + +[package.metadata] +requires-dist = [ + { name = "decorator", specifier = "==5.1.1" }, + { name = "docopt", specifier = "==0.6.2" }, + { name = "fill3", git = "https://gitlab.com/ahamilton/eris?subdirectory=fill3&rev=v2024.12.07" }, + { name = "lscolors", git = "https://gitlab.com/ahamilton/eris?subdirectory=lscolors&rev=v2024.12.07" }, + { name = "pexpect", specifier = "==4.8.0" }, + { name = "pillow", specifier = "==10.0.0" }, + { name = "pygments", specifier = "==2.16.1" }, + { name = "pyinotify", specifier = "==0.9.6" }, + { name = "termstr", git = "https://gitlab.com/ahamilton/eris?subdirectory=termstr&rev=v2024.12.07" }, + { name = "toml", specifier = "==0.10.2" }, +] + +[[package]] +name = "fill3" +version = "2024.12.7" +source = { git = "https://gitlab.com/ahamilton/eris?subdirectory=fill3&rev=v2024.12.07#a6e802e8522aa27551257b32590f045243a0785e" } +dependencies = [ + { name = "termstr" }, +] + +[[package]] +name = "lscolors" +version = "2024.12.7" +source = { git = "https://gitlab.com/ahamilton/eris?subdirectory=lscolors&rev=v2024.12.07#a6e802e8522aa27551257b32590f045243a0785e" } +dependencies = [ + { name = "termstr" }, +] + +[[package]] +name = "pexpect" +version = "4.8.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "ptyprocess" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e5/9b/ff402e0e930e70467a7178abb7c128709a30dfb22d8777c043e501bc1b10/pexpect-4.8.0.tar.gz", hash = "sha256:fc65a43959d153d0114afe13997d439c22823a27cefceb5ff35c2178c6784c0c", size = 157037 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/39/7b/88dbb785881c28a102619d46423cb853b46dbccc70d3ac362d99773a78ce/pexpect-4.8.0-py2.py3-none-any.whl", hash = "sha256:0b48a55dcb3c05f3329815901ea4fc1537514d6ba867a152b581d69ae3710937", size = 59024 }, +] + +[[package]] +name = "pillow" +version = "10.0.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/0f/8b/2ebaf9adcf4260c00f842154865f8730cf745906aa5dd499141fb6063e26/Pillow-10.0.0.tar.gz", hash = "sha256:9c82b5b3e043c7af0d95792d0d20ccf68f61a1fec6b3530e718b688422727396", size = 50527522 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7a/54/f6a14d95cba8ff082c550d836c9e5c23f1641d2ac291c23efe0494219b8c/Pillow-10.0.0-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:9fb218c8a12e51d7ead2a7c9e101a04982237d4855716af2e9499306728fb485", size = 3398781 }, + { url = "https://files.pythonhosted.org/packages/b7/ad/71982d18fd28ed1f93c31b8648f980ebdbdbcf7d8c9c9b4af59290914ce9/Pillow-10.0.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:d35e3c8d9b1268cbf5d3670285feb3528f6680420eafe35cccc686b73c1e330f", size = 3111873 }, + { url = "https://files.pythonhosted.org/packages/45/5c/04224bf1a8247d6bbba375248d74668724a5a9879b4c42c23dfadd0c28ae/Pillow-10.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3ed64f9ca2f0a95411e88a4efbd7a29e5ce2cea36072c53dd9d26d9c76f753b3", size = 3117246 }, + { url = "https://files.pythonhosted.org/packages/45/de/b07418f00cd78af292ceb4e2855c158ef8477dc1cbcdac3e1f32eb4e53b6/Pillow-10.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0b6eb5502f45a60a3f411c63187db83a3d3107887ad0d036c13ce836f8a36f1d", size = 3314475 }, + { url = "https://files.pythonhosted.org/packages/79/53/3a7277ae95bfe86b8b4db0ed1d08c4924aa2dfbfe51b8fe0e310b160a9c6/Pillow-10.0.0-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:c1fbe7621c167ecaa38ad29643d77a9ce7311583761abf7836e1510c580bf3dd", size = 3169201 }, + { url = "https://files.pythonhosted.org/packages/16/89/818fa238e37a47a29bb8495ca2cafdd514599a89f19ada7916348a74b5f9/Pillow-10.0.0-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:cd25d2a9d2b36fcb318882481367956d2cf91329f6892fe5d385c346c0649629", size = 3421012 }, + { url = "https://files.pythonhosted.org/packages/72/17/6c1e6b0f78d21838844318057b7a939ab8a8d92deeb51d22563202b2db64/Pillow-10.0.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:3b08d4cc24f471b2c8ca24ec060abf4bebc6b144cb89cba638c720546b1cf538", size = 3355277 }, + { url = "https://files.pythonhosted.org/packages/40/58/0a62422b3cf188dac72fe6c54b6f3f372ec2e84043eb4f8d2158626992b7/Pillow-10.0.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:d737a602fbd82afd892ca746392401b634e278cb65d55c4b7a8f48e9ef8d008d", size = 3420294 }, + { url = "https://files.pythonhosted.org/packages/66/d4/054e491f0880bf0119ee79cdc03264e01d5732e06c454da8c69b83a7c8f2/Pillow-10.0.0-cp311-cp311-win_amd64.whl", hash = "sha256:3a82c40d706d9aa9734289740ce26460a11aeec2d9c79b7af87bb35f0073c12f", size = 2513082 }, + { url = "https://files.pythonhosted.org/packages/6a/33/c278084a811d7a7a17c8dd14cb261248fdd0265263760fb753a5a719241e/Pillow-10.0.0-cp311-cp311-win_arm64.whl", hash = "sha256:bc2ec7c7b5d66b8ec9ce9f720dbb5fa4bace0f545acd34870eff4a369b44bf37", size = 2501798 }, + { url = "https://files.pythonhosted.org/packages/9c/e8/59271ada18cec229d4a79475a45a9e64367e54e5d1f488b030af63805960/Pillow-10.0.0-cp312-cp312-macosx_10_10_x86_64.whl", hash = "sha256:d80cf684b541685fccdd84c485b31ce73fc5c9b5d7523bf1394ce134a60c6883", size = 3398485 }, + { url = "https://files.pythonhosted.org/packages/f0/7f/ff6ce4360dccfacc3af3462cfcd2d7481a1cc8d6aa712927072016dd6755/Pillow-10.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:76de421f9c326da8f43d690110f0e79fe3ad1e54be811545d7d91898b4c8493e", size = 3111012 }, + { url = "https://files.pythonhosted.org/packages/2e/a4/06f84d3fe7aa9558d2b80d8d4960fe07071a53e8d3ccac8b079905003048/Pillow-10.0.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:81ff539a12457809666fef6624684c008e00ff6bf455b4b89fd00a140eecd640", size = 3117406 }, + { url = "https://files.pythonhosted.org/packages/a8/7b/f8ed885d18096930991bbaac729024435e0343a3c81062811cf865205a79/Pillow-10.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ce543ed15570eedbb85df19b0a1a7314a9c8141a36ce089c0a894adbfccb4568", size = 3315095 }, + { url = "https://files.pythonhosted.org/packages/54/2e/04bae205c5bf3ff7e58735b73a1d3943d0e33e0f7ca8637aa30a2acd06d0/Pillow-10.0.0-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:685ac03cc4ed5ebc15ad5c23bc555d68a87777586d970c2c3e216619a5476223", size = 3169235 }, + { url = "https://files.pythonhosted.org/packages/5f/82/39a266a0626d2c0dd4ee341639fe7749268fc871429b90006eeb1583f24b/Pillow-10.0.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:d72e2ecc68a942e8cf9739619b7f408cc7b272b279b56b2c83c6123fcfa5cdff", size = 3421158 }, + { url = "https://files.pythonhosted.org/packages/4d/61/eba2506ce68706ccb7d485cee968e35fa9ee797d77520760acf41a65f281/Pillow-10.0.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:d50b6aec14bc737742ca96e85d6d0a5f9bfbded018264b3b70ff9d8c33485551", size = 3355694 }, + { url = "https://files.pythonhosted.org/packages/0f/0b/0f37aac8432fb91e9f7eec96a29afb354f172e593d2d6d8201e544f49b55/Pillow-10.0.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:00e65f5e822decd501e374b0650146063fbb30a7264b4d2744bdd7b913e0cab5", size = 3421380 }, + { url = "https://files.pythonhosted.org/packages/e7/af/06fa67e8c8c4ead837f6a4025b6605f4cb8ec0fcbff1e4c697712fabf9f9/Pillow-10.0.0-cp312-cp312-win_amd64.whl", hash = "sha256:f31f9fdbfecb042d046f9d91270a0ba28368a723302786c0009ee9b9f1f60199", size = 2513485 }, + { url = "https://files.pythonhosted.org/packages/83/c0/aaa4f7f9f0ed854d8b519739392ed17ee1aaaa352fd037646e97634a6bdb/Pillow-10.0.0-cp312-cp312-win_arm64.whl", hash = "sha256:1ce91b6ec08d866b14413d3f0bbdea7e24dfdc8e59f562bb77bc3fe60b6144ca", size = 2502324 }, +] + +[[package]] +name = "ptyprocess" +version = "0.7.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/20/e5/16ff212c1e452235a90aeb09066144d0c5a6a8c0834397e03f5224495c4e/ptyprocess-0.7.0.tar.gz", hash = "sha256:5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220", size = 70762 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/22/a6/858897256d0deac81a172289110f31629fc4cee19b6f01283303e18c8db3/ptyprocess-0.7.0-py2.py3-none-any.whl", hash = "sha256:4b41f3967fce3af57cc7e94b888626c18bf37a083e3651ca8feeb66d492fef35", size = 13993 }, +] + +[[package]] +name = "pygments" +version = "2.16.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d6/f7/4d461ddf9c2bcd6a4d7b2b139267ca32a69439387cc1f02a924ff8883825/Pygments-2.16.1.tar.gz", hash = "sha256:1daff0494820c69bc8941e407aa20f577374ee88364ee10a98fdbe0aece96e29", size = 4872980 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/43/88/29adf0b44ba6ac85045e63734ae0997d3c58d8b1a91c914d240828d0d73d/Pygments-2.16.1-py3-none-any.whl", hash = "sha256:13fc09fa63bc8d8671a6d247e1eb303c4b343eaee81d861f3404db2935653692", size = 1164750 }, +] + +[[package]] +name = "pyinotify" +version = "0.9.6" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e3/c0/fd5b18dde17c1249658521f69598f3252f11d9d7a980c5be8619970646e1/pyinotify-0.9.6.tar.gz", hash = "sha256:9c998a5d7606ca835065cdabc013ae6c66eb9ea76a00a1e3bc6e0cfe2b4f71f4", size = 60998 } + +[[package]] +name = "termstr" +version = "2024.12.7" +source = { git = "https://gitlab.com/ahamilton/eris?subdirectory=termstr&rev=v2024.12.07#a6e802e8522aa27551257b32590f045243a0785e" } +dependencies = [ + { name = "cwcwidth" }, +] + +[[package]] +name = "toml" +version = "0.10.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/be/ba/1f744cdc819428fc6b5084ec34d9b30660f6f9daaf70eead706e3203ec3c/toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f", size = 22253 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/44/6f/7120676b6d73228c96e17f1f794d8ab046fc910d781c8d151120c3f1569e/toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b", size = 16588 }, +] diff --git a/fill3/pyproject.toml b/fill3/pyproject.toml new file mode 100644 index 0000000..66c52ff --- /dev/null +++ b/fill3/pyproject.toml @@ -0,0 +1,14 @@ +[project] +name = "fill3" +version = "v2024.12.07" +description = "Fill3 provides basic widgets for a tui." +authors = [ + { name = "Andrew Hamilton", email = "and_hamilton@yahoo.com" }, +] +requires-python = ">=3.11" +dependencies = [ + "termstr @ git+https://gitlab.com/ahamilton/eris@v2024.12.07#subdirectory=termstr", +] + +[project.urls] +Homepage = "https://github.com/ahamilton/eris" diff --git a/fill3/setup.py b/fill3/setup.py deleted file mode 100755 index 6c7d093..0000000 --- a/fill3/setup.py +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env python3.11 - - -import os -try: - from setuptools import setup -except ImportError: - from distutils.core import setup - - -setup(name="fill3", - version="v2024.12.07", - description=("Fill3 provides basic widgets for a tui."), - url="https://github.com/ahamilton/eris", - author="Andrew Hamilton", - author_email="and_hamilton@yahoo.com", - license="Artistic 2.0", - packages=["fill3"], - install_requires=["termstr @ git+https://gitlab.com/ahamilton/eris@v2024.12.07#subdirectory=termstr"]) diff --git a/fill3/uv.lock b/fill3/uv.lock new file mode 100644 index 0000000..cb20d0b --- /dev/null +++ b/fill3/uv.lock @@ -0,0 +1,27 @@ +version = 1 +requires-python = ">=3.11" + +[[package]] +name = "cwcwidth" +version = "0.1.5" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/38/17/aadd0c6190dca91aa27c4d7e84d69d30fdf4966e7764247cdc395f8fe7d9/cwcwidth-0.1.5.tar.gz", hash = "sha256:2c840e7d85f6de45c45986b416d79312c91882e1121b78d4c347e49c4238c09d", size = 11071 } + +[[package]] +name = "fill3" +version = "2024.12.7" +source = { virtual = "." } +dependencies = [ + { name = "termstr" }, +] + +[package.metadata] +requires-dist = [{ name = "termstr", git = "https://gitlab.com/ahamilton/eris?subdirectory=termstr&rev=v2024.12.07" }] + +[[package]] +name = "termstr" +version = "2024.12.7" +source = { git = "https://gitlab.com/ahamilton/eris?subdirectory=termstr&rev=v2024.12.07#a6e802e8522aa27551257b32590f045243a0785e" } +dependencies = [ + { name = "cwcwidth" }, +] diff --git a/lscolors/pyproject.toml b/lscolors/pyproject.toml new file mode 100644 index 0000000..c15d3fa --- /dev/null +++ b/lscolors/pyproject.toml @@ -0,0 +1,14 @@ +[project] +name = "lscolors" +version = "v2024.12.07" +description = "Give coloring for file types as in the ls command." +authors = [ + { name = "Andrew Hamilton", email = "and_hamilton@yahoo.com" }, +] +requires-python = ">=3.11" +dependencies = [ + "termstr @ git+https://gitlab.com/ahamilton/eris@v2024.12.07#subdirectory=termstr", +] + +[project.urls] +Homepage = "https://github.com/ahamilton/eris" diff --git a/lscolors/setup.py b/lscolors/setup.py deleted file mode 100755 index 0186aa1..0000000 --- a/lscolors/setup.py +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env python3.11 - - -import os -try: - from setuptools import setup -except ImportError: - from distutils.core import setup - - -setup(name="lscolors", - version="v2024.12.07", - description=("Give coloring for file types as in the ls command."), - url="https://github.com/ahamilton/eris", - author="Andrew Hamilton", - author_email="and_hamilton@yahoo.com", - license="Artistic 2.0", - packages=["lscolors"], - package_data={"lscolors": ["LS_COLORS.sh"]}, - install_requires=["termstr @ git+https://gitlab.com/ahamilton/eris@v2024.12.07#subdirectory=termstr"]) diff --git a/lscolors/uv.lock b/lscolors/uv.lock new file mode 100644 index 0000000..8e1e004 --- /dev/null +++ b/lscolors/uv.lock @@ -0,0 +1,27 @@ +version = 1 +requires-python = ">=3.11" + +[[package]] +name = "cwcwidth" +version = "0.1.5" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/38/17/aadd0c6190dca91aa27c4d7e84d69d30fdf4966e7764247cdc395f8fe7d9/cwcwidth-0.1.5.tar.gz", hash = "sha256:2c840e7d85f6de45c45986b416d79312c91882e1121b78d4c347e49c4238c09d", size = 11071 } + +[[package]] +name = "lscolors" +version = "2024.12.7" +source = { virtual = "." } +dependencies = [ + { name = "termstr" }, +] + +[package.metadata] +requires-dist = [{ name = "termstr", git = "https://gitlab.com/ahamilton/eris?subdirectory=termstr&rev=v2024.12.07" }] + +[[package]] +name = "termstr" +version = "2024.12.7" +source = { git = "https://gitlab.com/ahamilton/eris?subdirectory=termstr&rev=v2024.12.07#a6e802e8522aa27551257b32590f045243a0785e" } +dependencies = [ + { name = "cwcwidth" }, +] diff --git a/termstr/pyproject.toml b/termstr/pyproject.toml new file mode 100644 index 0000000..db6b100 --- /dev/null +++ b/termstr/pyproject.toml @@ -0,0 +1,15 @@ +[project] +name = "termstr" +version = "v2024.12.07" +description = "Termstr provides strings with extra terminal styling." +authors = [ + { name = "Andrew Hamilton", email = "and_hamilton@yahoo.com" }, +] +requires-python = ">=3.11" +dependencies = [ + "cwcwidth==0.1.5", +] + +[project.urls] +Homepage = "https://github.com/ahamilton/eris" + diff --git a/termstr/setup.py b/termstr/setup.py deleted file mode 100755 index 9547a3a..0000000 --- a/termstr/setup.py +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env python3.11 - - -try: - from setuptools import setup -except ImportError: - from distutils.core import setup - - -setup(name="termstr", - version="v2024.12.07", - description=("Termstr provides strings with extra terminal styling."), - url="https://github.com/ahamilton/eris", - author="Andrew Hamilton", - author_email="and_hamilton@yahoo.com", - license="Artistic 2.0", - py_modules=["termstr"], - install_requires=["cwcwidth==0.1.5"]) diff --git a/termstr/uv.lock b/termstr/uv.lock new file mode 100644 index 0000000..1808433 --- /dev/null +++ b/termstr/uv.lock @@ -0,0 +1,19 @@ +version = 1 +requires-python = ">=3.11" + +[[package]] +name = "cwcwidth" +version = "0.1.5" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/38/17/aadd0c6190dca91aa27c4d7e84d69d30fdf4966e7764247cdc395f8fe7d9/cwcwidth-0.1.5.tar.gz", hash = "sha256:2c840e7d85f6de45c45986b416d79312c91882e1121b78d4c347e49c4238c09d", size = 11071 } + +[[package]] +name = "termstr" +version = "2024.12.7" +source = { virtual = "." } +dependencies = [ + { name = "cwcwidth" }, +] + +[package.metadata] +requires-dist = [{ name = "cwcwidth", specifier = "==0.1.5" }]