What I changed is:
added package downloading (in the prototype made by hand)
adjusted the process for both global and virtual environments
refactored and added comments
What remains is writing tests and generating a pull request to the CWL repository for a review and to make tool descriptions publicly available. Although to my mind maybe it would be better for packages’ contributors to publish CWL tool descriptions in their own repositories, to keep the entire toolkits incapsulated.
The next week I start working on a web-version of
pypi2cwl. The goal of this subproject should be clarified, but as was discussed in post-midterm ideas, the desired outcome should be similar to the one http://pythonwheels.com has.