From eae51447b2c7ae5c2d46abd6c121c042b43454ff Mon Sep 17 00:00:00 2001 From: Waylon Walker Date: Fri, 18 Jun 2021 08:02:51 -0500 Subject: [PATCH] Add setup.py packaging script --- setup.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..fc2828f --- /dev/null +++ b/setup.py @@ -0,0 +1,12 @@ +from setuptools import setup, find_packages +from pathlib import Path + +requires = Path("requirements.txt").read_text().split() + +setup( + name="pypi_list", + version="0.1.0", + packages=find_packages(), + install_requires=requires, + entry_points={"console_scripts": ["pypi-list = pypi_list:main"]}, +)