Skip to content

Commit 6bd6d04

Browse files
committed
Moved the metadata into setup.cfg.
Version is now fetched from git.
1 parent d643a66 commit 6bd6d04

File tree

3 files changed

+72
-67
lines changed

3 files changed

+72
-67
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[build-system]
2+
requires = ["setuptools>=44", "wheel", "setuptools_scm[toml]>=3.4.3"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[tool.setuptools_scm]

setup.cfg

Lines changed: 67 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,69 @@
1-
[bdist_wheel]
2-
universal = 1
1+
#Copyright 2020 John Vandenberg
2+
3+
#Licensed under the Apache License, Version 2.0 (the "License");
4+
#you may not use this file except in compliance with the License.
5+
#You may obtain a copy of the License at
6+
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
9+
#Unless required by applicable law or agreed to in writing, software
10+
#distributed under the License is distributed on an "AS IS" BASIS,
11+
#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
#See the License for the specific language governing permissions and
13+
#limitations under the License.
314

415
[metadata]
5-
license_file = LICENSE
16+
name = https-everywhere
17+
author_email = jayvdb@gmail.com
18+
license = Apache-2.0
19+
description = Privacy for Pythons. Requests adapters for HTTPS, including HSTS preloading and HTTPS Everywhere rules
20+
long_description = file: README.md
21+
long_description_content_type = text/markdown
22+
url = https://github.com/jayvdb/https-everywhere-py
23+
classifiers =
24+
Environment :: Console
25+
Environment :: Plugins
26+
Environment :: Web Environment
27+
Intended Audience :: Developers
28+
Intended Audience :: Science/Research
29+
Intended Audience :: System Administrators
30+
License :: OSI Approved :: Apache Software License
31+
Operating System :: OS Independent
32+
Programming Language :: Python :: 2.7
33+
Programming Language :: Python :: 3.4
34+
Programming Language :: Python :: 3.5
35+
Programming Language :: Python :: 3.6
36+
Programming Language :: Python :: 3.7
37+
Programming Language :: Python :: 3.8
38+
Programming Language :: Python :: 3.9
39+
Programming Language :: Python :: 3.10
40+
Programming Language :: Python :: 3.11
41+
Programming Language :: Python :: Implementation :: CPython
42+
Topic :: Internet :: WWW/HTTP :: Browsers
43+
Topic :: Internet :: WWW/HTTP :: Session
44+
Topic :: Security
45+
Development Status :: 4 - Beta
46+
47+
[options]
48+
packages = find:
49+
install_requires =
50+
requests[security]
51+
appdirs
52+
logging-helper
53+
cached-property
54+
55+
python_requires = >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*
56+
57+
tests_require =
58+
unittest-expander
59+
lxml # lxml is optional, needed for testing upstream rules
60+
tldextract
61+
regex
62+
63+
[options.packages.find]
64+
include =
65+
https_everywhere
66+
https_everywhere.*
67+
68+
[bdist_wheel]
69+
universal = 1

setup.py

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

0 commit comments

Comments
 (0)