From 4bb95297d55b48cd58e6f24561182051057cd060 Mon Sep 17 00:00:00 2001 From: DJ Passey Date: Wed, 17 Jan 2024 17:10:45 -0500 Subject: [PATCH] fixes to installation process --- .github/workflows/python-package.yml | 5 ++--- .gitignore | 6 +++++- pyproject.toml | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 339db25..f940788 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -27,8 +27,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install flake8 pytest - pip install . + pip install ".[dev]" - name: Test with pytest run: | - pytest + pytest tests diff --git a/.gitignore b/.gitignore index 68bc17f..f40c3a0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +# VS Code +*.code-workspace + # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] @@ -123,7 +126,8 @@ celerybeat.pid .env .venv env/ -venv/ +*venv/ +venv*/ ENV/ env.bak/ venv.bak/ diff --git a/pyproject.toml b/pyproject.toml index 59f097a..e46847d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,8 +29,8 @@ notebooks = [ "jupyter" ] -[tool.setuptools] -packages = ["interfere"] +[tool.setuptools.packages] +find = {} [project.urls] Repository = "https://github.com/djpasseyjr/interfere" \ No newline at end of file