Skip to content

Commit

Permalink
Merge pull request #73 from mercadopago/fix/package-build-update
Browse files Browse the repository at this point in the history
[Fix] Package build update
  • Loading branch information
renanneri01 authored Jun 26, 2024
2 parents 82f8396 + ed43133 commit e4a0271
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 99 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
run: |
python3 -m pip install --upgrade pip
python3 -m pip install setuptools wheel twine
python3 setup.py install
python3 -m pip install .
# Build and upload to PyPI
- name: "Builds and uploads to PyPI"
run: |
python3 setup.py sdist bdist_wheel
python3 -m build
python3 -m twine check dist/*
python3 -m twine upload dist/*
env:
Expand Down
40 changes: 0 additions & 40 deletions .github/workflows/cd_test_pypi.yml

This file was deleted.

41 changes: 41 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "mercadopago"
version = "2.2.2"
authors = [
{name = "Mercado Pago", email = "[email protected]"}
]
description = "Mercadopago SDK module for Payments integration"
readme = "README.md"
keywords = ["api", "mercadopago", "checkout", "payment in sdk integration", lts"]
license = {file = "LICENSE}
requires-python = ">=3.7"
dependencies = [
"requests"
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]

[project.optional-dependencies]
testing = [
"unittest"
]

[project.urls]
Homepage = "https://mercadopago.com"
Repository = "https://github.com/mercadopago/sdk-python"
57 changes: 0 additions & 57 deletions setup.py

This file was deleted.

0 comments on commit e4a0271

Please sign in to comment.