Skip to content

Moving python out to be managed by pip #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ RUN apt-get update \
&& apt-get install -y --allow-change-held-packages --no-install-recommends \
build-essential git \
r-base r-cran-cairo r-cran-tidyverse \
python3 python3-pip python3-numpy python3-matplotlib python3-requests python3-pandas python3-setuptools python3-dev \
python3 python3-venv python3-pip python3-setuptools python3-dev \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get clean
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
"hostRequirements": {
"memory": "16gb"
},
"postCreateCommand": "python3 -m venv /workspaces/demo-codespace/.virtpy; /workspaces/demo-codespace/.virtpy/bin/pip install -r /workspaces/demo-codespace/requirements.txt",
"customizations": {
"codespaces": {
"openFiles": ["welcome.smd"]
},
"vscode": {
"extensions": ["stencila.stencila"],
"extensions": ["usernamehw.errorlens", "stencila.stencila"],
"settings": {
// See here for VSCode settings and their defaults
// https://code.visualstudio.com/docs/getstarted/settings#_default-settings
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.virtpy/*
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
requests
pandas
matplotlib