Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Package build update #73

Merged
merged 3 commits into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 = "mp_sdk@mercadopago.com"}
]
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.

Loading