Coding style

- Moved path_colored into lscolors.
  - Made lscolors a package.
  - Moved LS_COLORS.sh and LSCOLORS into lscolors.
- Moved fill3.join into termstr so that lscolors
  can depend on termstr only.
This commit is contained in:
Andrew Hamilton 2022-05-11 11:11:37 +10:00
parent fe42fd36d4
commit 388c59aefd
13 changed files with 85 additions and 70 deletions

View file

@ -1,12 +1,14 @@
#!/usr/bin/env python3.10
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
REPO_PATH = os.path.dirname(os.getcwd())
setup(name="lscolors",
version="v2022.04.30",
description=("Give coloring for file types as in the ls command."),
@ -14,4 +16,6 @@ setup(name="lscolors",
author="Andrew Hamilton",
author_email="and_hamilton@yahoo.com",
license="Artistic 2.0",
py_modules=["lscolors"])
packages=["lscolors"],
package_data={"lscolors": ["LS_COLORS.sh"]},
install_requires=[f"termstr @ file://{REPO_PATH}/termstr"])