This is a template for a python project on Windows using Conda and VS Code.
-
Click on the green button "Use this template" on GitHub.
-
Open VS Code and clone the repository.
-
Open Project structure to view the structure of this template.
-
Set up your Python Environment:
a. Create a new conda environment using the
environment.yml
file:cd path/to/project/folder conda env create -f environment.yml conda activate project-name
b. Install linters using pipx
# install linters using make make install-global # test linters make codestyle
note: As
pre-commit
unfortunately gives acces-denied errors on Windows OS, I would recommend to runmake codestyle
command before you commit your changes. This command runs black, isort and ruff on all files.c. Install your local package
pip install -e .
- installs project packages in development mode
- creates a folder package-name.egg-info
d. Run
config.py
in the conda env to test your project config.
text here
- text here
- text here
text here
This repository is part of the project:
** xxxx Project** | Long name project.