asfpy - ASF Infrastructure common Python tools library

Clone this repo:

Branches

  1. d736799 bump version and requirements (for pubsub) by Daniel Gruno · 11 days ago main
  2. 7e7dee5 remove stupid "raise" that was left in, for debugging by Greg Stein · 11 days ago
  3. 0ab2f0f add deprecation warnings by Greg Stein · 11 days ago
  4. c60cb4b Add async pubsub client. by Greg Stein · 11 days ago
  5. 30653b6 Initial checkout of 0.37 from svn by Daniel Gruno · 2 weeks ago

asfpy - ASF Infrastructure Common Library for Python functions

This Python library contains features commonly used at the Apache Software Foundation.

(For asfpy 0.37 and below, look at our old Subversion repository)

Building asfpy package

Make sure you have the build and twine packages installed first ( pip3 install build twine)

Bump the version number in setup.py and run: python3 setup.py sdist bdist_wheel

Publishing a new asfpy package

After building the asfpy package, run the following command, where $version is the new version to publish:

python3 -m twine upload dist/asfpy-$version* (for instance dist/asfpy-0.38*)

See this guide for more details on working with PyPi.