Skip to content

Commit

Permalink
Move the metadata into pyproject.toml
Browse files Browse the repository at this point in the history
Dropped Python 2.7
  • Loading branch information
KOLANICH committed Oct 20, 2022
1 parent 9cc2be3 commit 03fabe7
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["2.x", "3.x"]
python-version: ["3.x"]
name: "pytest: Python ${{ matrix.python-version }}"
steps:
- uses: actions/checkout@v2
Expand Down
25 changes: 24 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
[build-system]
requires = ["setuptools>=42.2.0", "setuptools_scm[toml]>=3.4.3"]
requires = ["setuptools>=61.2", "setuptools_scm[toml]>=3.4.3"]
build-backend = "setuptools.build_meta"

[project]
name = "requests-file"
authors = [{name = "David Shea", email = "[email protected]"}]
license = {text = "Apache 2.0"}
description = "File transport adapter for Requests"
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Plugins",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
]
urls = {Homepage = "http://github.com/dashea/requests-file"}
dependencies = ["requests>=1.0.0"]
dynamic = ["version"]

[tool.distutils.bdist_wheel]
universal = 1

[tool.setuptools]
py-modules = ["requests_file"]
include-package-data = false

[tool.setuptools_scm]
22 changes: 0 additions & 22 deletions setup.cfg

This file was deleted.

0 comments on commit 03fabe7

Please sign in to comment.