Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pyproject.toml for PEP518 compliance #131

Merged
merged 1 commit into from
Feb 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.0.0", # Supports license_files
]
build-backend = "setuptools.build_meta"
29 changes: 29 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[metadata]
name = requests_ntlm
version = 1.2.0
url = https://github.com/requests/requests-ntlm
author = Ben Toews
author_email = mastahyeti@gmail.com
license = ISC
license_files = LICENSE
description = This package allows for HTTP NTLM authentication using the requests library.
long_description = file: README.rst
long_description_content_type = text/x-rst
classifiers =
Development Status :: 4 - Beta
Intended Audience :: Developers
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
License :: OSI Approved :: ISC License (ISCL)

[options]
python_requires = >= 3.7
install_requires =
cryptography >= 1.3
pyspnego >= 0.1.6
requests >= 2.0.0
28 changes: 2 additions & 26 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,30 +1,6 @@
#!/usr/bin/env python
# coding: utf-8

from setuptools import setup

setup(
name="requests_ntlm",
version="1.2.0",
packages=["requests_ntlm"],
install_requires=["requests>=2.0.0", "pyspnego>=0.1.6", "cryptography>=1.3"],
python_requires=">=3.7",
provides=["requests_ntlm"],
author="Ben Toews",
author_email="mastahyeti@gmail.com",
url="https://github.com/requests/requests-ntlm",
description="This package allows for HTTP NTLM authentication using the requests library.",
license="ISC",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: ISC License (ISCL)",
],
)
# Kept for editable install compatibility with older setuptools/pip versions
setup()