-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
42 lines (38 loc) · 1.53 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
import glob
import os
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
components = []
directories = glob.glob("govuk_frontend_jinja/**/**/*.html", recursive=True)
for directory in directories:
components.append(os.path.relpath(os.path.dirname(directory), "govuk_frontend_jinja") + "/*.html")
setuptools.setup(
name="govuk-frontend-jinja",
version="3.4.0",
author="Matt Shaw",
author_email="[email protected]",
description="GOV.UK Frontend Jinja Macros",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/LandRegistry/govuk-frontend-jinja",
packages=setuptools.find_packages(exclude=["tests"]),
package_data={"govuk_frontend_jinja": components},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.9",
"Topic :: Software Development :: Code Generators",
"Topic :: Software Development :: User Interfaces",
"Topic :: Text Processing :: Markup :: HTML",
],
python_requires=">=3.9",
install_requires=["jinja2!=3.0.0,!=3.0.1"],
)