diff --git a/.github/workflows/test_and_publish_pypi.yml b/.github/workflows/test_and_publish_pypi.yml index 5043d6b8..27e5a154 100644 --- a/.github/workflows/test_and_publish_pypi.yml +++ b/.github/workflows/test_and_publish_pypi.yml @@ -30,12 +30,19 @@ jobs: - name: Build sophios run: | python -m pip install twine build + python -m build --wheel + python -m build --sdist + + - name: Upload Artifact + uses: actions/upload-artifact@v3 + with: + name: sophios-wheels + path: dist/* + retention-days: 1 - name: Publish to PyPi env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} run: | - python -m build --wheel - python -m build --sdist twine upload dist/* diff --git a/pyproject.toml b/pyproject.toml index 82c2755d..490ae2ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -102,11 +102,7 @@ runners = [ "toil[cwl]", "cwl-utils", ] -runners-src = [ - "toil[cwl] @ git+https://github.com/jfennick/toil.git", - "cwltool @ git+https://github.com/jfennick/cwltool.git", - "cwl-utils @ git+https://github.com/jfennick/cwl-utils.git", -] + # See docs/requirements.txt doc = [ "sphinx", @@ -116,7 +112,6 @@ doc = [ plots = ["matplotlib"] cyto = ["ipycytoscape"] # only for DAG visualization all_except_runner_src = ["sophios[test,doc,plots,cyto,mypy-types]"] -all = ["sophios[test,doc,plots,cyto,runners-src,mypy-types]"] [project.scripts] sophios = "sophios.main:main"