-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (26 loc) · 834 Bytes
/
setup.py
File metadata and controls
28 lines (26 loc) · 834 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
from setuptools import setup, find_packages
from importlib.metadata import distribution
import os
with open("requirements.txt") as f:
install_requires = [line.strip() for line in f if line.strip() and not line.startswith("#")]
setup(
name="viewline-command",
version="0.1.0",
packages=find_packages(),
entry_points={
"console_scripts": [
"viewline=bin.viewline:main",
],
},
install_requires=install_requires,
description="A command-line tool to display specific lines from a file or stream.",
author="dcloutman",
license="MIT",
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
python_requires=">=3.6",
include_package_data=True,
zip_safe=False, # Ensures dependencies are bundled
)