foundry-release-pypi

pypi release library for foundry

Usage no npm install needed!

<script type="module">
  import foundryReleasePypi from 'https://cdn.skypack.dev/foundry-release-pypi';
</script>

README

foundry-release-pypi Build status

PyPI release library for foundry.

This command updates version in a setup.py and releases it to PyPI via foundry, a modular release management library.

Documentation

This library was build to match the foundry release specification and is written on top of foundry-release-base. Documentation can be found at:

https://github.com/twolfson/foundry-release-spec

https://github.com/twolfson/foundry-release-base

Actions

  • On update-files, we update a hardcoded version field in setup.py (e.g. version='1.0.0' -> version='1.1.0')
  • On register, we run python setup.py register
    • If there is a .pypi-private file, then we will not run this step
  • On publish, we run python setup.py sdist --formats=gztar,zip upload
    • This will upload a .zip and a .tar.gz for Windows, GNU/Linux, and OS X compatibility
    • If there is a .pypi-private file, then we will not run this step

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint via grunt and test via npm test.

Donating

Support this project and others by twolfson via gittip.

Support via Gittip

Unlicense

As of Feb 04 2014, Todd Wolfson has released this repository and its contents to the public domain.

It has been released under the UNLICENSE.