Extracted termstr into its own python project.

This commit is contained in:
Andrew Hamilton 2021-11-04 21:37:38 +10:00
parent 31d8cbf4e3
commit c018e9f7d4
7 changed files with 21 additions and 3 deletions

View file

@ -5,4 +5,4 @@ pillow==8.4.0
toml==0.10.2 toml==0.10.2
decorator==5.1.0 decorator==5.1.0
pexpect==4.8.0 pexpect==4.8.0
cwcwidth==0.1.5 termstr==2021.10.18

View file

@ -14,7 +14,7 @@ setup(name="eris",
url="https://github.com/ahamilton/eris", url="https://github.com/ahamilton/eris",
author="Andrew Hamilton", author="Andrew Hamilton",
license="Artistic 2.0", license="Artistic 2.0",
packages=["eris", "termstr", "fill3"], packages=["eris", "fill3"],
py_modules=["lscolors", "sorted_collection"], py_modules=["lscolors", "sorted_collection"],
package_data={"eris": ["LS_COLORS.sh", "tools.toml"]}, package_data={"eris": ["LS_COLORS.sh", "tools.toml"]},
entry_points={"console_scripts": entry_points={"console_scripts":

View file

@ -4,5 +4,6 @@
set -e set -e
python3.9 -m pip install -r ./eris/requirements.txt ./eris python3.9 -m pip install -r ./termstr/requirements.txt $1 ./termstr
python3.9 -m pip install -r ./eris/requirements.txt $1 ./eris
./install-tools ./install-tools

1
termstr/requirements.txt Normal file
View file

@ -0,0 +1 @@
cwcwidth==0.1.5

16
termstr/setup.py Executable file
View file

@ -0,0 +1,16 @@
#!/usr/bin/env python3.9
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(name="termstr",
version="2021.10.18",
description=("Termstr provides strings with extra terminal styling."),
url="https://github.com/ahamilton/eris",
author="Andrew Hamilton",
license="Artistic 2.0",
packages=["termstr"])