Skip to main content

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.

Source Distribution

flityard-0.2.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

flityard-0.2.0-py2.py3-none-any.whl (3.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file flityard-0.2.0.tar.gz.

File metadata

  • Download URL: flityard-0.2.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for flityard-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0aead68f25554d1f985f49af6602b91e5b4b1042885caad73b3e046f59141c5c
MD5 828b5b22f5b536fdf0c942fc3d27914c
BLAKE2b-256 43513519ab066033d416de88b917f9fc6f58573d2ff056fd11ab5a27113deab7

See more details on using hashes here.

File details

Details for the file flityard-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for flityard-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 aa3f5683bf9415fd032728b7dbfa29fb81ce10d4b4c54f9f94d39b6f80d6ed09
MD5 7e557db556a8f65fa2f5eb1eb59d0472
BLAKE2b-256 a38af1ed85919bd7f6bd9a2487fe0024fa90503763c6bacd7fbb140b64575839

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page