diff --git a/metabox/README.md b/metabox/README.md index e5e6840d0..53e338e86 100644 --- a/metabox/README.md +++ b/metabox/README.md @@ -34,8 +34,8 @@ Create a Python virtual environment and install Metabox in it: ```shell $ cd metabox/ -$ python3 -m venv metabox -$ source metabox/bin/activate +$ python3 -m venv venv +$ source venv/bin/activate (metabox) $ pip install -e . ``` diff --git a/metabox/setup.py b/metabox/setup.py index c0ea68561..4bb048ce0 100755 --- a/metabox/setup.py +++ b/metabox/setup.py @@ -21,17 +21,23 @@ from setuptools import find_packages, setup setup( - name='metabox', - version='0.3', + name="metabox", + version="0.3", packages=find_packages(), - install_requires=['loguru', 'pylxd', 'pyyaml', 'importlib-resources'], + install_requires=[ + "importlib-resources", + "loguru", + "pylxd", + "pyyaml", + "urllib3 >= 1.26.0, < 2.0.0", + ], entry_points={ - 'console_scripts': [ - 'metabox = metabox.main:main', + "console_scripts": [ + "metabox = metabox.main:main", ] }, include_package_data=True, package_data={ - '': ['metabox/metabox-provider/*'], - } + "": ["metabox/metabox-provider/*"], + }, )