I am trying to develop a python package that is importable and also has entry_point to call from shell.
When trying to call the entry point I get:
pkg_resources.VersionConflict: (pysec-aws 0.1.dev1 (/Users/myuser/PycharmProjects/pysec-aws), Requirement.parse('pysec-aws==0.1.dev0'))
Essentially what I did before getting this error, is incrementing the version from 0.1.dev0 to 0.1.dev1 in setup.py, and running python setup.py sdist and then pip install -e .
What am I doing wrong? What is the proper way to install development versions of packages you are actively developing and bundling with setuptools?
pysec-awspackage itself or another package depending on it? Also, the complete error trace along with thesetup.pyskeleton would be nice.pysec-awsand declares dependency onpysec-awsof exact version0.1.dev0. Now you bumpedpysec-awsto0.1.dev1so the other package has no valid dependency anymore, and this is what is checked whenpkg_resourcesloads the entry points.