-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
44 lines (39 loc) · 1.44 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import os
import re
from setuptools import setup
with open(os.path.abspath("hstspreload/__init__.py"), "r") as f:
version = re.search(r"__version__\s+=\s+\"([\d.]+)\"", f.read()).group(1)
with open("README.md") as f:
long_description = f.read()
setup(
name="hstspreload",
version=version,
description="Chromium HSTS Preload list as a Python package",
long_description=long_description,
long_description_content_type="text/markdown",
license="BSD-3",
url="https://github.com/sethmlarson/hstspreload",
author="Seth Michael Larson",
author_email="[email protected]",
packages=["hstspreload"],
package_dir={"hstspreload": "hstspreload"},
package_data={"hstspreload": ["hstspreload.bin"]},
include_package_data=True,
zip_safe=False,
python_requires=">=3.6",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Security",
],
)