pypi-list/setup.py
2021-06-25 07:37:07 -05:00

19 lines
501 B
Python

from pathlib import Path
from setuptools import find_packages, setup
requires = Path("requirements.txt").read_text().split()
dev_requires = Path("requirements_dev.txt").read_text().split()
setup(
name="pypi_list",
version="0.2.0",
packages=find_packages(),
install_requires=requires,
extras_require={
"all": [*requires, *dev_requires],
"dev": dev_requires,
"prod": requires,
},
entry_points={"console_scripts": ["pypi-list = pypi_list:main"]},
)