I have:
# setup.py
from pkg_resources import parse_requirements
from setuptools import setup, find_packages
reqs = [
"sanic",
"sanic-ext",
"xxxssdadasjdnaskjdnaksd"
]
setup(
name='myutil',
description='',
packages=find_packages(),
install_reqs=reqs # open('requirements.txt').read().strip().split()
)
And I run
$ pip install -e .
Obtaining file:///home/sir/software/fingerWriterAI/sanic_util
Preparing metadata (setup.py) ... done
Installing collected packages: sanic-util
Attempting uninstall: sanic-util
Found existing installation: sanic-util 0.0.0
Uninstalling sanic-util-0.0.0:
Successfully uninstalled sanic-util-0.0.0
Running setup.py develop for sanic-util
Successfully installed sanic-util-0.0.0
[notice] A new release of pip available: 22.3 -> 24.0
[notice] To update, run: pip install --upgrade pip
It tries to install two packages but does not fail on the 3rd.
Why doesn’t this fail?