diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index d0525d51..17f3d374 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,23 +1,42 @@ +//{ +// "name": "Python 3", +// // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile +// "image": "mcr.microsoft.com/devcontainers/python:1-3.9-bookworm", +// "onCreateCommand": ".devcontainer/startup.sh", +// "customizations": { +// "vscode": { +// "settings": { +// "python.testing.pytestEnabled": true, +// "python.testing.unittestEnabled": false, +// "python.testing.pytestArgs": [ +// "." +// ], +// "python.pythonPath": ".venv/bin/python", +// "python.defaultInterpreterPath": ".venv/bin/python", +// "python.terminal.activateEnvInCurrentTerminal": true +// }, +// "extensions": [ +// "ms-toolsai.jupyter" +// ] +// } +// } +//} + { - "name": "Python 3", - // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile - "image": "mcr.microsoft.com/devcontainers/python:1-3.9-bookworm", - "onCreateCommand": ".devcontainer/startup.sh", - "customizations": { - "vscode": { - "settings": { - "python.testing.pytestEnabled": true, - "python.testing.unittestEnabled": false, - "python.testing.pytestArgs": [ - "." - ], - "python.pythonPath": ".venv/bin/python", - "python.defaultInterpreterPath": ".venv/bin/python", - "python.terminal.activateEnvInCurrentTerminal": true - }, - "extensions": [ - "ms-toolsai.jupyter" - ] - } - } + "name": "Jupyter Environment", + "image": "mcr.microsoft.com/devcontainers/python:3", + "features": { + "ghcr.io/devcontainers/features/python:1": {} + }, + "customizations": { + "vscode": { + "extensions": [ + "ms-python.python", + "ms-toolsai.jupyter" + ] + } + }, + "postCreateCommand": "pip install jupyter notebook pandas numpy matplotlib", + "forwardPorts": [8888], + "postStartCommand": "jupyter notebook --ip=0.0.0.0 --port=8888 --NotebookApp.token='' --NotebookApp.password=''" } diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 30d2161a..0fd94c9c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,4 +26,13 @@ jobs: - name: Checkout [${{ github.repository }}] uses: actions/checkout@v4 - - uses: cvxgrp/.github/actions/publish@v2.0.6 + # download dist from build + - uses: actions/download-artifact@v4 + with: + name: dist + path: dist + + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + repository-url: https://upload.pypi.org/legacy/