1
- [tool .poetry ]
1
+ [tool .autopub ]
2
+ project-name = " Web Assets"
3
+ git-username = " botpub"
4
+
5
+ append-github-contributor = true
6
+
7
+ [tool .isort ]
8
+ # Maintain compatibility with Black
9
+ profile = " black"
10
+ multi_line_output = 3
11
+
12
+ # Sort imports within their section independent of the import type
13
+ force_sort_within_sections = true
14
+
15
+ # Designate "pelican" as separate import section
16
+ known_pelican = " pelican"
17
+ sections = " FUTURE,STDLIB,THIRDPARTY,PELICAN,FIRSTPARTY,LOCALFOLDER"
18
+
19
+ [build-system ]
20
+ requires = [" hatchling" , " hatch-vcs" , " hatch-fancy-pypi-readme>=22.8.0" ]
21
+ build-backend = " hatchling.build"
22
+
23
+ [tool .hatch .build .targets .wheel ]
24
+ packages = [" pelican/plugins/webassets" ]
25
+
26
+ [project ]
2
27
name = " pelican-webassets"
3
28
version = " 2.0.0"
4
29
description = " Pelican plugin to manage web assets such as CSS and JS files"
5
- authors = [
" Pelican Dev Team <[email protected] >" ]
30
+ authors = [
31
+ {
name =
" Pelican Dev Team <[email protected] >" },
32
+ ]
6
33
license = " AGPL-3.0"
7
34
readme = " README.md"
8
35
keywords = [" pelican" , " plugin" , " webassets" , " css" , " js" , " minimization" , " compilation" ]
@@ -11,6 +38,7 @@ documentation = "https://docs.getpelican.com"
11
38
packages = [
12
39
{ include = " pelican" },
13
40
]
41
+ requires-python = " ~= 3.7"
14
42
15
43
classifiers = [
16
44
" Development Status :: 5 - Production/Stable" ,
@@ -28,50 +56,27 @@ classifiers = [
28
56
" Topic :: Software Development :: Pre-processors" ,
29
57
" Topic :: Software Development :: User Interfaces" ,
30
58
]
59
+ dependencies = [
60
+ " pelican >=4.5" ,
61
+ ]
31
62
32
- [tool . poetry .urls ]
63
+ [project .urls ]
33
64
"Funding" = " https://donate.getpelican.com/"
34
65
"Issue Tracker" = " https://github.com/pelican-plugins/webassets/issues"
35
66
36
- [tool .poetry .dependencies ]
37
- python = " >=3.7,<4.0"
38
- pelican = " >=4.5"
39
- markdown = {version = " >=3.2" , optional = true }
40
-
41
- [tool .poetry .group .dev .dependencies ]
42
- cssmin = " ^0.2.0"
43
- libsass = {version = " >=0.22.0" , optional = true }
44
- black = " ^23"
45
- flake8 = " ^3.9"
46
- flake8-black = " ^0.3"
47
- invoke = " ^2.1"
48
- isort = " ^5.11.5"
49
- markdown = " ^3.4"
50
- pytest = " ^6.0"
51
- pytest-cov = " ^3.0"
52
- pytest-sugar = " ^0.9.7"
53
-
54
- [tool .poetry .extras ]
55
- markdown = [" markdown" ]
56
-
57
- [tool .autopub ]
58
- project-name = " Web Assets"
59
- git-username = " botpub"
60
-
61
- append-github-contributor = true
62
-
63
- [tool .isort ]
64
- # Maintain compatibility with Black
65
- profile = " black"
66
- multi_line_output = 3
67
-
68
- # Sort imports within their section independent of the import type
69
- force_sort_within_sections = true
70
-
71
- # Designate "pelican" as separate import section
72
- known_pelican = " pelican"
73
- sections = " FUTURE,STDLIB,THIRDPARTY,PELICAN,FIRSTPARTY,LOCALFOLDER"
74
-
75
- [build-system ]
76
- requires = [" poetry-core>=1.0.0" ]
77
- build-backend = " poetry.core.masonry.api"
67
+ [project .optional-dependencies ]
68
+ dev = [
69
+ " cssmin == 0.2.0" ,
70
+ " libsass" ,
71
+ " black == 23.3.0" ,
72
+ " flake8 == 3.9.2" ,
73
+ " flake8-black == 0.3.6" ,
74
+ " invoke == 2.2.0" ,
75
+ " isort == 5.11.5" ,
76
+ " markdown == 3.4.4" ,
77
+ " pytest == 6.2.5" ,
78
+ " pytest-cov == 3.0.0" ,
79
+ " pytest-sugar == 0.9.7" ,]
80
+ markdown = [
81
+ " markdown == 3.4.4" ,
82
+ ]
0 commit comments