Giter Site home page Giter Site logo

infrastructure-asfpy's Introduction

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

Preparation

  • apt install python3.10-venv
  • pip3 install build twine

Bump the version number in setup.py and run: python3 -m build

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*)

The above command will upload the .whl and the .tar.gz (the glob-asterisk is important!)

See this guide for more details on working with PyPi.

for testing

Create an account on https://test.pypi.org/, then add a token with an "all projects" scope. Place that into your .pypirc like so:

[testpypi]
  repository = https://test.pypi.org/legacy/
  username = __token__
  password = pypi-tokenstringgoeshere

Then you can test an upload with: python3 -m twine upload -r testpypi dist/asf-py$version*

The package should upload to the test.pypi.org service.

infrastructure-asfpy's People

Contributors

sebbasf avatar humbedooh avatar gstein avatar christ avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.