From 22618386e0ad566a5ac790d8ede6b3d346f71bfb Mon Sep 17 00:00:00 2001 From: Frost Ming Date: Sun, 25 Apr 2021 18:16:11 +0800 Subject: [PATCH] Update the pyproject file --- package.json | 2 +- pdm.lock | 2 +- pyproject.toml | 14 ++++++++------ 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 9617ab6..af89e61 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "setup-pdm", - "version": "1.0.0", + "version": "2.0.0", "description": "The GitHub Action for using pdm as the package manager", "main": "dist/setup-pdm.js", "scripts": { diff --git a/pdm.lock b/pdm.lock index 4252788..f9d6fda 100644 --- a/pdm.lock +++ b/pdm.lock @@ -28,7 +28,7 @@ summary = "HTTP library with thread-safe connection pooling, file post, and more [metadata] lock_version = "2" -content_hash = "sha256:09666cab51d1049e60d580a53402036be799c6d7511cefc532de171f40280497" +content_hash = "sha256:8e01da7dc7329a789734e6b6c7d69eb81a13ea4c21a650e0ff23ea3c5bf25b5f" [metadata.files] "certifi 2020.12.5" = [ diff --git a/pyproject.toml b/pyproject.toml index 8bf349c..512a21d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,12 +2,6 @@ authors = [ {name = "Frost Ming", email = "mianghong@gmail.com"}, ] -dev-dependencies = [ - "idna; python_version=='3.6'", - "chardet; python_version=='3.7'", - "urllib3; python_version=='3.8'", - "certifi; python_version=='3.9'", -] include = "test.py" requires-python = ">=3.6" dynamic = ["classifiers"] @@ -19,6 +13,14 @@ homepage = "" [tool] [tool.pdm] +[tool.pdm.dev-dependencies] +dev = [ + "idna; python_version=='3.6'", + "chardet; python_version=='3.7'", + "urllib3; python_version=='3.8'", + "certifi; python_version=='3.9'", +] + [build-system] requires = ["pdm-pep517"] build-backend = "pdm.pep517.api"