setup files

This commit is contained in:
dece 2021-11-08 10:57:39 +01:00
parent 46291cd7df
commit be17602df5
5 changed files with 31 additions and 3 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
/build/
/dist/
/*.egg-info/

3
pyproject.toml Normal file
View file

@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

22
setup.cfg Normal file
View file

@ -0,0 +1,22 @@
[metadata]
name = tlfi
version = 0.0.1
description = TLFi command-line interface
long_description = file: README.md
long_description_content_type = text/markdown
license = GPLv3
author = dece
author-email = shgck@pistache.land
home-page = https://git.dece.space/Dece/TLFi
classifiers =
Environment :: Console
Programming Language :: Python :: 3
[options]
packages = tlfi
python_requires = >= 3.7
setup_requires = setuptools >= 38.3.0
[options.entry_points]
console_scripts =
tlfi = tlfi.__main__:main

0
tlfi/__init__.py Normal file
View file

View file

@ -1,14 +1,14 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
"""TLFi command-line interface. """TLFi command-line interface.
If Blessings is installed on your system, you will get nice formatting and If Blessings is installed on your system, you will get pretty colors and
maybe colors! formatting almost like in the TLFi.
""" """
import argparse import argparse
import difflib import difflib
import re
import gzip import gzip
import re
import unicodedata import unicodedata
from pathlib import Path from pathlib import Path