-
-
Notifications
You must be signed in to change notification settings - Fork 385
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
PEP621: Migrate setup.py config into pyproject.toml #421
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,38 @@ | ||
[build-system] | ||
build-backend = "setuptools.build_meta" | ||
requires = ["setuptools>=61.2"] | ||
|
||
[project] | ||
authors = [{name = "Matias Aguirre", email = "[email protected]"}] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Web Environment", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: BSD License", | ||
"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", | ||
"Topic :: Internet" | ||
] | ||
dependencies = ["social-auth-core >= 4.1.0"] | ||
description = "Python Social Authentication, Django integration." | ||
dynamic = ["version"] | ||
keywords = ["django", "social", "auth"] | ||
license = {text = "BSD"} | ||
name = "social-auth-app-django" | ||
requires-python = ">=3.7" | ||
|
||
[project.readme] | ||
content-type = "text/markdown" | ||
file = "README.md" | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/python-social-auth/social-app-django" | ||
|
||
[tool.ruff] | ||
# Ignore some well known paths | ||
exclude = [ | ||
|
@@ -19,3 +54,17 @@ target-version = "py37" | |
|
||
[tool.ruff.mccabe] | ||
max-complexity = 10 | ||
|
||
[tool.setuptools] | ||
include-package-data = false | ||
license-files = ["LICENSE"] | ||
packages = [ | ||
"social_django", | ||
"social_django.migrations", | ||
"social_django.management", | ||
"social_django.management.commands" | ||
] | ||
zip-safe = false | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "social_django.__version__"} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
pre-commit==3.1.1; python_version >= '3.8' | ||
pre-commit==2.21.0; python_version < '3.8' | ||
codecov==2.1.12 | ||
pre-commit==2.21.0; python_version < '3.8' | ||
pre-commit==3.1.1; python_version >= '3.8' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Already updated in #434 so I think you can drop this change. |
||
tox==4.4.7 | ||
-r requirements.txt | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why remove requirements.txt ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Perhaps read the commit message. |
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove the requirements.txt? If you think it's too big change to do in this PR, please create another PR on top of this so that we can see a full scope of changes this will bring. Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO first remove
dependencies
from setup.py as a separate PR and then come back to this.Update: this is already inside the removed
requirements.txt
.