generated from alfredodeza/python-cli-example
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
27 lines (21 loc) · 862 Bytes
/
setup.py
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
from setuptools import setup, find_packages
# Use https://packaging.python.org/en/latest/guides/tool-recommendations/ to verify the sea of tools
# that exist to help with packaging. For this example we will use setuptools
# Build a wheel with: python setup.py bdist_wheel and install the pre-required package (wheel)
# read the requirements.txt file and use it to install dependencies
with open('requirements.txt') as f:
install_requires = f.read().splitlines()
setup(
name='blkpy-demo',
description='demo python CLI tool to list block devices',
packages=find_packages(),
author='Alfredo Deza',
entry_points="""
[console_scripts]
blkpy=blkpy.main:main
""",
#install_requires=['click==7.1.2'],
install_requires=install_requires,
version='0.0.1',
url='https://github.com/alfredodeza/python-cli-example',
)