Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scan Python packages for provided modules and required dependencies #5

Open
livingsilver94 opened this issue Jan 7, 2023 · 0 comments
Labels
type: feature A new functionality to implement.

Comments

@livingsilver94
Copy link
Contributor

Following last night's discussion, I'm creating an issue to track Python code scanning in search of modules provided and dependencies required.

We want moss to auto-detect dependencies of Python packages, which isn't easy given the interpreted behavior of Python. We also want to track what modules a certain Python package provides, according to our tooling's goal.

Here I'm showing a proof-of-concept code that scans the site-packages directory and lists all modules a Python package contains. The code is short and simple, shouldn't be hard to port it to moss.

Dependencies are a different beast. In my script I'm commenting the difficulties, and what we can do about them.
Note that GitHub doesn't allow uploading .py files, so I'm renaming it into .txt. python_deps_provides.py.txt

@ikeycode ikeycode transferred this issue from another repository Mar 21, 2023
@livingsilver94 livingsilver94 added the type: feature A new functionality to implement. label Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature A new functionality to implement.
Projects
None yet
Development

No branches or pull requests

1 participant