File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ def process(self) -> Headers:
151
151
152
152
153
153
Header = UsageHeader
154
- __version__ = '0.0.5 '
154
+ __version__ = '0.0.6 '
155
155
156
156
VERSION = __version__
157
157
Original file line number Diff line number Diff line change 12
12
URL = "https://github.com/ihandmine/anti-header"
13
13
AUTHOR = "handmine"
14
14
AUTHOR_EMAIL = "handmine@outlook.com"
15
- VERSION = "0.0.5 "
15
+ VERSION = "0.0.6 "
16
16
LICENSE = "MIT"
17
17
REQUIRES_PYTHON = ">=3.7.0"
18
18
19
19
20
+ def list_dir (dir ):
21
+ result = [dir ]
22
+ for file in os .listdir (dir ):
23
+ if os .path .isdir (os .path .join (dir , file )):
24
+ result .extend (list_dir (os .path .join (dir , file )))
25
+ return result
26
+
27
+
20
28
here = os .path .abspath (os .path .dirname (__file__ ))
21
29
with open (f"{ here } /README.md" , encoding = 'utf-8' ) as f :
22
30
long_description = f .read ()
@@ -71,7 +79,7 @@ def run(self):
71
79
author = AUTHOR ,
72
80
author_email = AUTHOR_EMAIL ,
73
81
license = LICENSE ,
74
- packages = [ NAME ] ,
82
+ packages = list_dir ( NAME ) ,
75
83
package_dir = {NAME : NAME },
76
84
python_requires = REQUIRES_PYTHON ,
77
85
include_package_data = True ,
You can’t perform that action at this time.
0 commit comments