damnever / pigar

:coffee: A tool to generate requirements.txt for Python project, and more than that. (IT IS NOT A PACKAGE MANAGEMENT TOOL)

Home Page:https://damnever.github.io/pigar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pigar doesn't scan files if it doesn't has a .py extension

amitech opened this issue · comments

I have many Python files which are executables, but they don't have .py extension.
I run them with ./myScript.

Pigar is not able to scan those valid Python files. It returns empty requirements.txt. I don't find any option yet to do. So I am first copying files to .py extension and then run pigar and then finally delete those files.
Please provide an option.