Skip to content

ac-willeke/py-windows-template

Repository files navigation

py-windows-template

This is a template for a python project on Windows using Conda and VS Code.

Project Installation and Configuration

  1. Click on the green button "Use this template" on GitHub.

  2. Open VS Code and clone the repository.

  3. Open Project structure to view the structure of this template.

  4. 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 run make 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.


Workflow

text here

References

  • text here
  • text here

Citation

text here

Acknowledgments

This repository is part of the project:

** xxxx Project** | Long name project.

About

Python Project for Windows OS with Conda.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published