Skip to content

Commit

Permalink
Feature/publish on pypi (#27)
Browse files Browse the repository at this point in the history
* build: Migrate to poetry

* build: Migrate to poetry

* build: Upgrade version, update changelog

* docs: Update readme
  • Loading branch information
lorenzomammana authored Jul 15, 2024
1 parent e1c204f commit 1d05c54
Show file tree
Hide file tree
Showing 6 changed files with 3,918 additions and 130 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [v0.7.0.dev140]

### Updated

- Migrate the project to Poetry to allow publishing it on PyPI!
- Update the project version so that it is compatible with PyPI scheme, it's pretty much the same as the previous one, we use dev instead of obx to show that we are developing the project (although it is not semantically correct, it is the best we can do for now).

## [v0.7.0+obx.1.3.4]

### Added
Expand Down
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,18 @@ git pull sync development
git merge github master
```

Current version (1.2.*) is synced with anomalib tag 0.7.0.
Current version (1.4.*) is synced with anomalib tag 0.7.0.

To publish on pypi, assuming that you have setup authentication properly run:
```bash
poetry publish --build
```

If you are working behind company proxy run instead:
```bash
POETRY_REPOSITORIES_PYPI_URL="https://upload.pypi.org/legacy/" poetry publish -r pypi --build
```


<div align="center">

Expand Down
Loading

0 comments on commit 1d05c54

Please sign in to comment.