has-module/setup.py

26 lines
604 B
Python
Raw Normal View History

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