-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (31 loc) · 664 Bytes
/
setup.py
File metadata and controls
36 lines (31 loc) · 664 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
from setuptools import setup, find_packages
from pathlib import Path
requirements: list[str] = (
Path('requirements.txt')
.read_text()
.splitlines()
)
pkgs: list[str] = find_packages(
# include=[
# 'strs',
# 'strs.*',
# ]
)
main: str = 'strs.__main__:_main'
setup(
name="strs",
version="0.4.2",
description="Easy string tools for the shell",
url="https://github.com/alexdelorenzo/strs",
author="Alex DeLorenzo (alexdelorenzo.dev)",
license="AGPL 3.0",
packages=pkgs,
install_requires=requirements,
python_requires='>=3.10',
entry_points={
"console_scripts": [
f"strs = {main}",
f"str = {main}",
]
}
)