I wrote a python package that I want to publish. I created a setup.py file for it and managed to create a wheel file by running python setup.py sdist bdist_wheel
.
My question is whether the python interpreter that I run the command with affects the created wheel and its compatibilities somehow, for example:
- Does it matter which packages are installed on the interpreter? For example if the interpreter has different packages installed than specified in the
install_requires
parameters in the setup.py file. - Can the operating system affect the wheel compatibility? For example if I run the command on a windows machine will I be able to install it seamlessly on a linux machine?
My current understanding is that both of these things shouldn’t matter but I’m afraid something unexpected might break.
thanks.