From 8a997abb1afd4afee66f96ef5283200660a9de14 Mon Sep 17 00:00:00 2001 From: AdityaGupta716 Date: Sat, 7 Feb 2026 00:18:34 +0530 Subject: [PATCH 1/2] feat: Add support for venv + pip install -e workflow (fixes #6) - Extended pyproject.toml with setuptools build-system configuration - Added package-data configuration for data files (CSV, JSON, YAML) - Allows standard Python venv + pip install -e . workflow alongside existing uv setup - Maintains backward compatibility with uv.lock and existing installation method - Improves maintainability and accessibility for contributors --- pyproject.toml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 04fc58f..643be02 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "connecting-osp" version = "0.1.0" -description = "Add your description here" +description = "A centralized platform with a searchable database and news feed to improve the discoverability of the open source ecosystem." readme = "README.md" requires-python = ">=3.11" dependencies = [ @@ -9,3 +9,13 @@ dependencies = [ "pandas>=2.2.3", "quarto-cli>=1.6.42", ] + +[build-system] +requires = ["setuptools>=61.0"] +build-backend = "setuptools.build_meta" + +[tool.setuptools] +packages = [] + +[tool.setuptools.package-data] +"*" = ["*.csv", "*.json", "*.yml", "*.yaml"] From ecde8ed853cc370be3c4d4d543c235070951b6b3 Mon Sep 17 00:00:00 2001 From: AdityaGupta716 Date: Sat, 7 Feb 2026 00:19:58 +0530 Subject: [PATCH 2/2] docs: Add alternative installation instructions for venv + pip - Added comprehensive instructions for standard Python venv + pip installation - Provides step-by-step guide for contributors preferring non-uv workflows - Clarifies that both methods work side-by-side without conflicts --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 89eb8a1..3d4b040 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,27 @@ Current contributors seeking projects or collaborators, new contributors explori uv pip install -r pyproject.toml ``` + +#### Alternative: Using Standard Python venv + pip (Optional) + +If you prefer to use standard Python tools without `uv`, you can install the project using `venv` and `pip`: + +1. Create and activate a virtual environment using Python: + +```bash +python3 -m venv .venv +source .venv/bin/activate # On Unix or macOS +# OR +.venv\Scripts\activate # On Windows +``` + +2. Install the project in editable mode: + +```bash +pip install -e . +``` + +Both installation methods work side-by-side, so you can choose whichever is more convenient for your development setup. ### Running the Project #### Using Quarto (Recommended)