It solves my problem this time. I added pyproject.toml file along with setup.py
Content of pyproject.toml
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
It generated .whl file only for that specific package.