Skip to content

Commit 7d8c652

Browse files
committed
Moved the metadata into PEP 621-compliant pyproject.toml.
1 parent 6bd6d04 commit 7d8c652

File tree

2 files changed

+75
-70
lines changed

2 files changed

+75
-70
lines changed

pyproject.toml

Lines changed: 75 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,79 @@
11
[build-system]
2-
requires = ["setuptools>=44", "wheel", "setuptools_scm[toml]>=3.4.3"]
2+
requires = ["setuptools>=61.2", "setuptools_scm[toml]>=3.4.3"]
33
build-backend = "setuptools.build_meta"
44

5+
# Copyright 2020 John Vandenberg
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
[project]
17+
name = "https-everywhere"
18+
authors = [{email = "jayvdb@gmail.com"}]
19+
license = {text = "Apache-2.0"}
20+
description = "Privacy for Pythons. Requests adapters for HTTPS, including HSTS preloading and HTTPS Everywhere rules"
21+
readme = "README.md"
22+
classifiers = [
23+
"Environment :: Console",
24+
"Environment :: Plugins",
25+
"Environment :: Web Environment",
26+
"Intended Audience :: Developers",
27+
"Intended Audience :: Science/Research",
28+
"Intended Audience :: System Administrators",
29+
"License :: OSI Approved :: Apache Software License",
30+
"Operating System :: OS Independent",
31+
"Programming Language :: Python :: 2.7",
32+
"Programming Language :: Python :: 3.4",
33+
"Programming Language :: Python :: 3.5",
34+
"Programming Language :: Python :: 3.6",
35+
"Programming Language :: Python :: 3.7",
36+
"Programming Language :: Python :: 3.8",
37+
"Programming Language :: Python :: 3.9",
38+
"Programming Language :: Python :: 3.10",
39+
"Programming Language :: Python :: 3.11",
40+
"Programming Language :: Python :: Implementation :: CPython",
41+
"Topic :: Internet :: WWW/HTTP :: Browsers",
42+
"Topic :: Internet :: WWW/HTTP :: Session",
43+
"Topic :: Security",
44+
"Development Status :: 4 - Beta",
45+
]
46+
requires-python = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*"
47+
dependencies = [
48+
"requests[security]",
49+
"appdirs",
50+
"logging-helper",
51+
"cached-property",
52+
]
53+
dynamic = ["version"]
54+
55+
[project.urls]
56+
Homepage = "https://github.com/jayvdb/https-everywhere-py"
57+
58+
[project.optional-dependencies]
59+
testing = [
60+
"unittest-expander",
61+
"lxml", # lxml is optional, needed for testing upstream rules
62+
"tldextract",
63+
"regex",
64+
]
65+
66+
[tool.setuptools]
67+
include-package-data = false
68+
69+
[tool.setuptools.packages.find]
70+
include = [
71+
"https_everywhere",
72+
"https_everywhere.*",
73+
]
74+
namespaces = false
75+
576
[tool.setuptools_scm]
77+
78+
[tool.distutils.bdist_wheel]
79+
universal = 1

setup.cfg

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
 (0)