Skip to content

Commit e309327

Browse files
committed
Simplify packaging to use only pyproject.toml
- Remove duplicative setup.py file - Remove requirements.txt (dependencies now in pyproject.toml) - Update GitHub Actions workflow to install via pyproject.toml - Clean modern packaging approach with no conflicts - Successfully builds both sdist and wheel
1 parent c31b9c5 commit e309327

4 files changed

Lines changed: 2 additions & 98 deletions

File tree

.github/workflows/test-and-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Install dependencies
3030
run: |
3131
python -m pip install --upgrade pip setuptools wheel
32-
pip install -r requirements.txt
32+
pip install -e .
3333
pip install pytest
3434
3535
- name: Run tests

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "github-org-stats"
7-
version = "1.0.0"
7+
version = "0.1.0"
88
authors = [
99
{name = "Open Source Contributors", email = "contributors@github-org-stats.org"},
1010
]

requirements.txt

Lines changed: 0 additions & 24 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
 (0)