apache / apache/beam

[QST] How to make python sdk wheel package?

Open
#20,099 0 comments 0 reactions 0 assignees View on GitHub
build P3 task
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

How to make python sdk wheel package?

I've modified and tested beam's python sdks.

I've tried to run command to upload local built wheel package to my local repository like below.
```

$> python setup.py sdist bdist_wheel upload -r local
```

Below files are not included in the package made by me.
```

./apache_beam/coders: coder_impl.cpython-36m-x86_64-linux-gnu.so
./apache_beam/coders: stream.cpython-36m-x86_64-linux-gnu.so
./apache_beam/metrics:
execution.cpython-36m-x86_64-linux-gnu.so
./apache_beam/runners: common.cpython-36m-x86_64-linux-gnu.so
./apache_beam/runners/worker:
logger.cpython-36m-x86_64-linux-gnu.so
./apache_beam/runners/worker: opcounters.cpython-36m-x86_64-linux-gnu.so
./apache_beam/runners/worker:
operations.cpython-36m-x86_64-linux-gnu.so
./apache_beam/runners/worker: statesampler_fast.cpython-36m-x86_64-linux-gnu.so
./apache_beam/transforms:
cy_combiners.cpython-36m-x86_64-linux-gnu.so
./apache_beam/transforms: cy_dataflow_distribution_counter.cpython-36m-x86_64-linux-gnu.so
./apache_beam/utils:
counters.cpython-36m-x86_64-linux-gnu.so
./apache_beam/utils: windowed_value.cpython-36m-x86_64-linux-gnu.so

```

Please, let me know what is right command to make the wheel package?

Imported from Jira [BEAM-9076](https://issues.apache.org/jira/browse/BEAM-9076). Original Jira may contain additional context.
Reported by: ocworld.

Contributor guide

Open the contributing guide

Research direction

Start with setup.py and the documented Python SDK packaging flow, then compare it with the reported `python setup.py sdist bdist_wheel upload -r local` command. Check how the listed `.so` modules are selected for the wheel; the work is done when the correct command or packaging guidance explains how to include them.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.