Skip to content

Commit 4352754

Browse files
committed
Add Apache license header to setup and init
1 parent 1858ed7 commit 4352754

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

https_everywhere/__init__.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
11
"""HTTPS Everywhere."""
22

3+
"""
4+
Copyright 2020 John Vandenberg
5+
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+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
"""
18+
319
__version__ = "0.2.1"

setup.py

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

320
from setuptools import find_packages, setup
421

22+
__version__ = "0.2.1"
23+
524
classifiers = """\
625
Environment :: Console
726
Environment :: Plugins
@@ -26,7 +45,7 @@
2645

2746
setup(
2847
name="https-everywhere",
29-
version="0.2.1",
48+
version=__version__,
3049
description="Privacy for Pythons. Requests adapters for HTTPS, including HSTS preloading and HTTPS Everywhere rules",
3150
license="Apache-2.0",
3251
author_email="jayvdb@gmail.com",

0 commit comments

Comments
 (0)