Skip to content

Commit

Permalink
Merge pull request #26 from KOLANICH/pyproject.toml
Browse files Browse the repository at this point in the history
Move the metadata into pyproject.toml
  • Loading branch information
dashea authored Oct 25, 2022
2 parents f3d5f8f + 03fabe7 commit 675c7a6
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 33 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@ 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
- name: Setup python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install build dependencies
run: pip install --upgrade setuptools setuptools-scm wheel build
- name: Install package
run: pip install .
- name: Install test dependencies
Expand Down
28 changes: 28 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[build-system]
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]
1 change: 0 additions & 1 deletion requirements.txt

This file was deleted.

2 changes: 0 additions & 2 deletions setup.cfg

This file was deleted.

29 changes: 0 additions & 29 deletions setup.py

This file was deleted.

0 comments on commit 675c7a6

Please sign in to comment.