'Python pip console scripts alternative for windows

Like we have console scripts option that we use in setup.py, to configure a direct cli python application for Linux command line.

How we can create a CLI App for windows, that could just be installed with pip install command (for powershell / cmd) ?

What answers I want:

  • The above question (main, imp)
  • A good setup.py code, means I'm new a bit in packaging (& Pypi) thing
  • what to write in side __init__.py
  • Package File Structure


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source