File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 21
21
architecture : x64
22
22
23
23
- name : Build packages
24
+ # zimscraperlib is needed in build since its a requirement for dependencies.py
25
+ # + we do not build in isolated env for simplicity before moving to Python bootstrap
24
26
run : |
25
- pip install -U pip build
26
- python -m build --sdist --wheel
27
+ pip install -U pip build zimscraperlib wheel setuptools
28
+ python -m build -n - -sdist --wheel
27
29
28
30
- name : Upload to PyPI
29
31
uses : pypa/gh-action-pypi-publish@release/v1.8
Original file line number Diff line number Diff line change 4
4
5
5
import sys
6
6
import pathlib
7
- from setuptools import setup , find_packages
7
+ from setuptools import setup , find_namespace_packages
8
8
9
9
root_dir = pathlib .Path (__file__ ).parent
10
10
@@ -31,7 +31,7 @@ def read(*names, **kwargs):
31
31
url = "https://github.com/openzim/sotoki" ,
32
32
keywords = "kiwix zim offline stackechange stackoverflow" ,
33
33
license = "GPLv3+" ,
34
- packages = find_packages ( "src" ),
34
+ packages = find_namespace_packages ( where = "src" ),
35
35
package_dir = {"" : "src" },
36
36
install_requires = [
37
37
line .strip ()
You can’t perform that action at this time.
0 commit comments