From 2f62b406a17599aa50aaef69149f2fa52ea786ff Mon Sep 17 00:00:00 2001 From: Erik Reid <erik.reid@geant.org> Date: Fri, 30 May 2025 17:18:02 +0200 Subject: [PATCH] translated setup.py to pyproject.toml, added license to metadata --- LICENSE.txt | 4 ++-- setup.py | 34 ---------------------------------- 2 files changed, 2 insertions(+), 36 deletions(-) delete mode 100644 setup.py diff --git a/LICENSE.txt b/LICENSE.txt index 20a8a17..b47daa7 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 GÉANT Vereniging +Copyright (c) 2025 GÉANT Vereniging Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file +SOFTWARE. diff --git a/setup.py b/setup.py deleted file mode 100644 index d000550..0000000 --- a/setup.py +++ /dev/null @@ -1,34 +0,0 @@ -from setuptools import setup, find_packages - -setup( - name="stripe-checkout", - version="0.19", - author="GEANT", - author_email="swd@geant.org", - description="Stripe custom checkout support service", - url=("https://gitlab.software.geant.org/geant-swd/stripe-checkout"), - packages=find_packages(), - install_requires=[ - "django~=4.2.18", - "dj_database_url==2.3.0", # pin for security - "jsonschema", - "stripe", - "requests", - "click", - ], - extras_require={ - "prod": [ - "gunicorn", - "uvicorn", - "psycopg2", - ], - }, - entry_points={ - "console_scripts": [ - "generate_report=stripe_checkout.stripe_checkout.generate_report:main", - ] - }, - include_package_data=True, - license='MIT', - license_files=['LICENSE.txt'] -) -- GitLab