Skip to content

Commit

Permalink
Move the metadata into setup.cfg
Browse files Browse the repository at this point in the history
Drop support of raw `distutils`.
Removed `requirements.txt`.
  • Loading branch information
KOLANICH committed Oct 20, 2022
1 parent f3d5f8f commit 9cc2be3
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 30 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
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
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[build-system]
requires = ["setuptools>=42.2.0", "setuptools_scm[toml]>=3.4.3"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
1 change: 0 additions & 1 deletion requirements.txt

This file was deleted.

20 changes: 20 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,22 @@
[metadata]
name = requests-file
author = David Shea
author_email = [email protected]
license = Apache 2.0
description = File transport adapter for Requests
url = http://github.com/dashea/requests-file
classifiers =
Development Status :: 3 - Alpha
Environment :: Plugins
Intended Audience :: Developers
License :: OSI Approved :: Apache Software License
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3

[bdist_wheel]
universal = 1

[options]
py_modules = requests_file
install_requires = requests>=1.0.0
test_suite = tests
29 changes: 0 additions & 29 deletions setup.py

This file was deleted.

0 comments on commit 9cc2be3

Please sign in to comment.