p4lang / ptf

Packet Test Framework
Apache License 2.0
144 stars 99 forks source link

Can PTF be distributed by pypi.org (pip)? #148

Closed NexSabre closed 3 years ago

NexSabre commented 3 years ago

Can PTF be distributed by pypi.org (pip)?

Distribution by the PIP will be easier pip install ptf, than

git clone https://github.com/p4lang/ptf && cd ptf &&  python setup.py install

# or even

pip install git+https://github.com/p4lang/ptf.git
NexSabre commented 3 years ago

@antoninbas @Yi-Tseng

antoninbas commented 3 years ago

@Yi-Tseng are you interested in picking this up?

Yi-Tseng commented 3 years ago

@antoninbas Yes, I can upload it to the pypi

NexSabre commented 3 years ago

As the next step, can it be automatic versioning and upload to the pypi.org? https://github.com/p4lang/ptf/pull/150#issuecomment-915527709

rst0git commented 3 years ago

As the next step, can it be automatic versioning and upload to the pypi.org?

There is a GitHub action that allows to upload a Python package: https://github.com/marketplace/actions/pypi-publish