From 7ef80bed2c737629d72f622f3662a46a11cf4a9b Mon Sep 17 00:00:00 2001 From: Rohit Sanjay Date: Tue, 2 Aug 2022 13:00:08 -0500 Subject: [PATCH] Fix pyproject config (#18) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix pyproject.toml * disable tag generation by bumpversion * Bump version: 0.0.1 → 0.0.2 --- .bumpversion.cfg | 4 ++-- CHANGELOG.md | 11 +++++++++++ origami/_version.py | 2 +- pyproject.toml | 10 +++++----- 4 files changed, 19 insertions(+), 8 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 2048c4c..c6e21df 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,10 +1,10 @@ [bumpversion] -current_version = 0.0.1 +current_version = 0.0.2 parse = (?P\d+)\.(?P\d+)\.(?P\d+) serialize = {major}.{minor}.{patch} commit = True -tag = True +tag = False sign_tags = True [bumpversion:file:origami/_version.py] diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bf4c86..f2a20a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +## [0.0.2] - 2022-08-02 +### Changed +- Change `name` in pyproject.toml from `origami` to `noteable-origami` +- Disable tag generation by bumpversion + +### Added +- Add `packages` to pyproject.toml + +### Removed +- Remove `tool.poetry.source` config from pyproject.toml + ## [0.0.1] - 2022-08-02 ### Added - Initial setup diff --git a/origami/_version.py b/origami/_version.py index 5820a72..12266c6 100644 --- a/origami/_version.py +++ b/origami/_version.py @@ -1 +1 @@ -version = "0.0.1" +version = "0.0.2" diff --git a/pyproject.toml b/pyproject.toml index 487848c..7c81a80 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,8 +4,8 @@ # character. [tool.poetry] -name = "origami" -version = "0.0.1" +name = "noteable-origami" +version = "0.0.2" description = "The Noteable API interface" authors = ["Matt Seal "] maintainers = ["Matt Seal "] @@ -23,14 +23,14 @@ classifiers=[ 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', ] +packages = [ + { include = "origami" }, +] # Manifest.in is subsumed by poetry here # https://python-poetry.org/docs/pyproject/#include-and-exclude include = [] -[[tool.poetry.source]] -name = "noteable-origami" -url = "https://pypi.org" [tool.poetry.dependencies] python = "^3.8"