When installed via pip the program doesn't launch on python -m magneticalc with error ModuleNotFoundError: No module named 'magneticalc.QtWidgets2'
I suspect the reason is that the directory is not specified in line 27 of setup.py: package_dir={"magneticalc": "magneticalc"}.
Since there are already __init__.py files in the main and sub directories it might be possible to change the file to
from setuptools import setup, find_packages
version = {}
with open("magneticalc/Version.py") as file:
exec(file.read(), version)
setup(
packages=find_packages()
name="MagnetiCalc",
...
But I'm not sure because I don't have much experience making PyPI releases.
When installed via
pip
the program doesn't launch onpython -m magneticalc
with errorModuleNotFoundError: No module named 'magneticalc.QtWidgets2'
I suspect the reason is that the directory is not specified in line 27 of
setup.py
:package_dir={"magneticalc": "magneticalc"}
. Since there are already__init__.py
files in the main and sub directories it might be possible to change the file toBut I'm not sure because I don't have much experience making PyPI releases.