{ "info": { "author": "Common workflow language working group", "author_email": "common-workflow-language@googlegroups.com", "bugtrack_url": null, "classifiers": [], "description": "# Common Workflow Language dependency manager\n\nThis tool helps you to import tools and workflows from other sources for use in your own workflow.\n\n# Setup\nIt is highly recommended to setup virtual environment before installing `cwldep`:\n\n```\nvirtualenv -p python2 venv # Create a virtual environment, can use `python3` as well\nsource venv/bin/activate # Activate environment before installing `cwldep`\n```\n\nInstall from source:\n```\ngit clone https://github.com/common-workflow-language/cwldep.git # clone cwldep repo\ncd cwldep # Switch to source directory\npython setup.py install\ncwldep -h # Check if the installation works correctly\n```\n\n# Adding file dependencies\n\n```\ncwldep add myfile.cwl https://raw.githubusercontent.com/common-workflow-language/workflows/master/tools/samtools-faidx.cwl\n```\n\nThis will download the CWL file *and its dependencies* to `raw.githubusercontent.com/common-workflow-language/workflows/master/tools`\n\nInclude it in your workflow as a relative file reference:\n\n```\nsteps:\n step1:\n in: ...\n out: ...\n run: raw.githubusercontent.com/common-workflow-language/workflows/master/tools/samtools-faidx.cwl\n```\n\n# Changing the install target\n\n```\ncwldep add --install-to samtools myfile.cwl https://raw.githubusercontent.com/common-workflow-language/workflows/master/tools/samtools-faidx.cwl\n```\n\n# Using archives\n\nYou can also import archives (.tar.gz, .tar.bz2, and .zip):\n\n```\ncwldep add myfile.cwl https://github.com/common-workflow-language/workflows/archive/draft2.tar.gz\n```\n\nThis will download and extract to the local directory `github.com/common-workflow-language/workflows/archive`\n\n# Using git upstream\n\nYou can also import git repositories:\n\n```\ncwldep add myfile.cwl https://github.com/common-workflow-language/workflows\n```\n\nThis will clone into the local directory `github.com/common-workflow-language/workflows`\n\n```\ncwldep add --set-version=draft-2 myfile.cwl https://github.com/common-workflow-language/workflows\n```\n\n# Installing dependencies\n\nThis will install any dependencies listed in `myfile.cwl`\n\n```\ncwldep install myfile.cwl\n```\n\n# Checking if upstream dependencies have changed\n\nThis will report if the upstream dependencies listed in `myfile.cwl` have changed\n\n```\ncwldep check myfile.cwl\n```\n\n# Updating dependencies\n\nThis will install updated dependencies:\n\n```\ncwldep update myfile.cwl\n```\n\n# Deleting unreferenced dependencies\n\nThis will delete any dependencies listed in the \".dep.lock\" file that are not referenced by `myfile.cwl`.\n\n```\ncwldep clean myfile.cwl\n```\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/common-workflow-language/cwldep", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/common-workflow-language/cwldep", "keywords": "", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "cwldep", "package_url": "https://pypi.org/project/cwldep/", "platform": "", "project_url": "https://pypi.org/project/cwldep/", "project_urls": { "Download": "https://github.com/common-workflow-language/cwldep", "Homepage": "https://github.com/common-workflow-language/cwldep" }, "release_url": "https://pypi.org/project/cwldep/1.0/", "requires_dist": [ "cwltool", "python-dateutil" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", "summary": "Common workflow language dependency manager", "version": "1.0" }, "last_serial": 4019153, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "4f0172c56cecda77072f202f4c903b14", "sha256": "9af635874ea0f0f6637f153448b7ee3c9a0048a76b7fa3f43ad56d6130891da4" }, "downloads": -1, "filename": "cwldep-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4f0172c56cecda77072f202f4c903b14", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", "size": 5434, "upload_time": "2018-06-30T22:24:43", "url": "https://files.pythonhosted.org/packages/e2/20/3ccc6d9033ebaef057512c3f8d085ed95cb2fc89e408afc4536eb8d3ba32/cwldep-1.0-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4f0172c56cecda77072f202f4c903b14", "sha256": "9af635874ea0f0f6637f153448b7ee3c9a0048a76b7fa3f43ad56d6130891da4" }, "downloads": -1, "filename": "cwldep-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4f0172c56cecda77072f202f4c903b14", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", "size": 5434, "upload_time": "2018-06-30T22:24:43", "url": "https://files.pythonhosted.org/packages/e2/20/3ccc6d9033ebaef057512c3f8d085ed95cb2fc89e408afc4536eb8d3ba32/cwldep-1.0-py3-none-any.whl" } ] }