Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It looks like both packages python_learner and cartepole_view create and install a python package called scripts. Both create a console_scripts entry point importing scripts.main. I'd recommend renaming your python module from scripts to the package name.

A console_scripts entry point like python_learner = scripts.main:main means an executable called python_learner will be created that starts python, imports something called main from scripts.main, and calls it. In other words, calling python_learner is like running the command: python3 -c "from scripts.main import main ; main()". Since both packages are installing to scripts.main, I would assume both python_learner and cartpole_view would run the same code, whichever was installed last.