Skip to content

Commit

Permalink
Merge pull request buserbrasil#4 from MarcosGrandesso/MarcosGrandesso…
Browse files Browse the repository at this point in the history
…/issue3

Migrate from setup.py to `pyproject.toml`
  • Loading branch information
avelino authored Jan 13, 2025
2 parents 81f6d74 + c60a96e commit 03ba7ad
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 22 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ cd barte-python-sdk

2. Install the package in development mode:
```bash
pip install -e .
uv pip install -e .
```

3. Run specific examples:
Expand Down
28 changes: 28 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[project]
name = "barte-python-sdk"
version = "0.1.0"
description = "Python SDK for integration with Barte API"
requires-python = ">=3.11"
authors = [{ name = "Thiago Avelino", email = "[email protected]" },
{ name = "Erle Carrara", email = "[email protected]" },
{ name = "Walison Filipe", email = "[email protected]" },
{ name = "Marcos Grandesso", email = "[email protected]" },
]
dependencies = ["requests==2",
"dacite==1",
"python-dateutil>=2.8.0,<3"
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]

[tool.uv]
package = true
dev-dependencies = [
"pytest>=7.0.0",
"requests-mock>=1.10.0",
"pytest-cov>=4.0.0",
"python-dateutil>=2.8.0"
]
21 changes: 0 additions & 21 deletions setup.py

This file was deleted.

0 comments on commit 03ba7ad

Please sign in to comment.