Skip to content

add .python-version and requirements.txt - #113

Closed
stefan-pdx wants to merge 1 commit into
common-workflow-language:masterfrom
ohsu-comp-bio:add-requirements-txt
Closed

stefan-pdx wants to merge 1 commit into
common-workflow-language:masterfrom
ohsu-comp-bio:add-requirements-txt

Conversation

@stefan-pdx

Copy link
Copy Markdown

Adds .python-version and requirements.txt to facilitate development and testing.

@mr-c

mr-c commented Aug 17, 2015

Copy link
Copy Markdown
Member

@slnovak Thanks. Can you enlightened me as to what tools or standard a .python-version file corresponds to? Is this meant to be a minimum required version or something else?

@mr-c

mr-c commented Aug 17, 2015

Copy link
Copy Markdown
Member

Ah, this is for #112

@tetron

tetron commented Aug 21, 2015

Copy link
Copy Markdown
Member

Hi @slnovak I came across this blog post about how to avoid repeating dependencies between setup.py and requirements.txt, what do you think?

https://caremad.io/2013/07/setup-vs-requirement/

@stefan-pdx

Copy link
Copy Markdown
Author

Good find!

There's a good reference on SO which shows how you can use PIP's parse_requirements to parse through requirements.txt for importing requirements into setup.py. This might be a better approach for reducing duplicate dependencies.

What do you think about that?

@mr-c

mr-c commented Oct 26, 2015

Copy link
Copy Markdown
Member

Since the reference implementation is now its own repository I'm going to close this pull request. I agree that is is a good idea! Tracking issue for the new repository is at common-workflow-language/cwltool#5

@mr-c mr-c closed this Oct 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants