This is just a place to host builds of Wagtail on the in-development i18n-combined branch, and wagtail-localize on the beta branch.
This largely follows the CI process nightly-build
at https://github.com/wagtail/wagtail/blob/7eeb44ad0408cf72060f19db577de2159859cd74/.circleci/config.yml#L49
- Check out the version of Wagtail with the corresponding features needed, currently https://github.com/kaedroho/wagtail/tree/i18n-combined
git clone [email protected]:kaedroho/wagtail.git wagtail cd wagtail git checkout i18n-combined
- Build Wagtail static assets:
mkvirtualenv --python=python3.8 wagtail pip install -e '.' -U nvm install npm install --no-save npm run build npm run dist
- Use the nightly version script to fake Wagtail's version, and build the wheel:
This should put a new wheel file in
python scripts/nightly/get_version.py > __init__.py mv __init__.py wagtail/__init__.py python setup.py bdist_wheel
dist/wagtail-2.11.devYYYYMMDD-py3-none-any.whl
, where YYYYMMDD is today's date. - Upload to this gist:
git clone [email protected]:50f8af297d8b375e38553e32a3179a71.git cd 50f8af297d8b375e38553e32a3179a71 cp path/to/dist/wagtail-2.11.dev20200814-py3-none-any.whl ./ git add ./ git commit
- To use the package in your app, get the URL of the file from the 'view raw' link, then:
poetry add wagtail https://gist.github.com/nimasmi/50f8af297d8b375e38553e32a3179a71/raw/b8afab6d4bef0d7b0474dc8f38bfda87292b4289/wagtail-2.11.dev20200901-py3-none-any.whl
- To update the package later, edit pyproject.toml with the URL of the new file.
-
Check out the required branch of wagtail-localize, currently https://github.com/wagtail/wagtail-localize/tree/beta
git clone [email protected]:wagtail/wagtail-localize.git cd wagtail-localize git checkout beta
-
Build wagtail-localize static assets:
mkvirtualenv --python=python3.8 wagtail-localize nvm use 12 make build
-
Build the wheel:
pip install wheel python setup.py bdist_wheel
This should put a new wheel file in
dist/wagtail_localize-0.4-py3-none-any.whl
-
Upload to this gist:
git clone [email protected]:50f8af297d8b375e38553e32a3179a71.git cd 50f8af297d8b375e38553e32a3179a71 cp path/to/dist/wagtail_localize-0.4-py3-none-any.whl ./ git add ./ git commit
-
To use the package in your app, get the URL of the file from the 'view raw' link, then in pyproject.toml, add
wagtail-localize = {url = "https://gist.github.com/nimasmi/50f8af297d8b375e38553e32a3179a71/raw/1bb0522cece4982cf660ba107ccdd4a3594ed5f4/wagtail_localize-0.4-py3-none-any.whl"}
-
To update the package later, edit pyproject.toml with the URL of the new file.