-
-
Notifications
You must be signed in to change notification settings - Fork 84
How to create ufal.udpipe temp
Ajda edited this page Apr 17, 2020
·
1 revision
Currently, we do not use ufal.udpipe package since it does not include wheels instead we use ufal.udpipe-temp which we create ourselves. It needs to be released when ufal.udpipe is released. Here are steps to create a release.
-
Download ufal.udpipe tar.gz from PyPI
-
Unzip it
-
Add MANIFEST.in with the following content in ufal.udpipe directory:
include udpipe/* include Changes include examples/* include LICENSE include test/data/*
-
Open setup.py and make the following changes:
- Rename package in
ufal.udpipe-temp
- Add following line in the configuration:
include_package_data = True,
- Change the version number to be greater of the current version of ufal.udpipe-temp
- Rename package in
-
Build tar and wheels
python setup.py sdist python setup.py bdist_wheel
The second build must be made with two versions of python
-
Test tar and wheels
-
Upload to PyPI.