has-module/setup.py

26 lines
604 B
Python

#!/usr/bin/env python3
from setuptools import setup
from hasmodule import __version__
with open("requirements.txt") as f:
deps = f.read().split()
setup(name='hasmodule',
version=__version__,
description='simple tool for checking if a python module is installed',
url='https://git.davepedu.com/dave/has-module',
author='dpedu',
author_email='dave@davepedu.com',
packages=['hasmodule'],
install_requires=deps,
entry_points={
"console_scripts": [
"has-module = hasmodule.cli:main",
]
},
zip_safe=False)