Aliasing is a very OS and environment-dependent and is not the correct way to achieve what you are looking for.
Instead, you should use the tools offered by the packaging tool you are using to create the distributed package.
For example, if using setup.py
then add
entry_points={
'console_scripts': ['rexona = path.to.module:function_name']
},
to the call to setup(...)
.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…