Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A very simple library.

Project description

flityard

Test project for better understanding of the PEP 518 (a.k.a. pyproject.toml) and release process with flit

Installation

You need to have flit installed. You also need to have .pypirc file configured.

How to do a release

In __init__.py we have version number in a __version__ attribute at the top. Once we do a release we immediately bump the version number by a patch/bugfix level and append .dev to it. We follow semantic versioning.

When it comes time to release we can just drop the .dev from __version__ and the CHANGELOG.md, commit, and run flit publish.

When you drop the .dev from __version__ creata a commit with the following message: Preparing release <version>

Then publish the release:

$ flit publish

Then "go back to development":

  • add the .dev to __version__
  • create a commit with the following message: Back to development: <new_version>

To CHANGELOG.md add new unreleased section:

<new_version> (unreleased)
------------------

- Nothing changed yet.

Usage

$ pip install flintyard
$ python
>>> from flintyard import main
>>> main.hello_world()
Hello world

Further read

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for flityard, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size flityard-0.2.0-py2.py3-none-any.whl (3.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size flityard-0.2.0.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page