Skip to content

Commit

Permalink
fix missing steps
Browse files Browse the repository at this point in the history
Signed-off-by: Maroun Touma <[email protected]>
  • Loading branch information
touma-I committed Sep 23, 2024
1 parent eb499de commit 8d69b71
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions transforms/packaging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,21 @@ Most available Transforms can be published to pypi as a single package. A detail


## Clone folder and update version number

git clone https://github.com/IBM/data-prep-kit.git release
cd release

````
git clone https://github.com/IBM/data-prep-kit.git package-release
cd package-release
````
in `.make.versions`, Set the values for DPK_MAJOR_VERSION, DPK_MINOR_VERSION and DPK_MICRO_VERSION to specify the DPK library to use and as appropriate, set the value for `DPK_TRANSFORMS_VERSION` that will be used to tag the latest version released to pypi

`make set-versions`

## Creating src folder

Given that the transforms do not currently have their own name spaces, the first step is to copy all the transforms to the same src folder prior to running unit tests of the individual transforms and/or building the distribution:


````
cd release/transforms/packaging
cd package-release/transforms/packaging
make clean
make src
````
Expand All @@ -28,25 +29,27 @@ make src
This procedure will run all the UT for each individual transforms using a single package configuration:

````
cd release/transforms/packaging
cd package-release/transforms/packaging
make clean
make src
make test-src
````

## Build and Deploy

This procedure will buid and publish two wheels to pypi.org: one for the python transforms and one for the ray transforms.
This procedure will buid two wheels: one for the python transforms and one for the ray transforms.

````
cd release/transforms/packaging
cd package-release/transforms/packaging
make clean
make src
make set-version
make build-dist
make publish-dist
````

To publish the wheels to pypi.org, run:

`make publish-dist`




0 comments on commit 8d69b71

Please sign in to comment.