Skip to content

Commit

Permalink
Merge pull request #6 from LimberDuck/develop
Browse files Browse the repository at this point in the history
v. 0.3.0
  • Loading branch information
damian-krawczyk authored Aug 30, 2021
2 parents 4aa80bd + 9330963 commit ca809c0
Show file tree
Hide file tree
Showing 12 changed files with 442 additions and 272 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Python package

on: [push]

env:
python_package_name: converter-csv
folder_package_name: converter_csv

jobs:
build:

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.6, 3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install tools
run: |
python -m pip install --upgrade pip build setuptools wheel twine
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Build package
run: |
python setup.py sdist bdist_wheel
- name: Install locally
run: |
ls
ls dist
TOOL_CURRENT_VERSION=`sed -e 's/.*__version__ = "\(.*\)".*/\1/' ${{ env.folder_package_name }}/_version.py`
pip install dist/${{ env.folder_package_name }}-${TOOL_CURRENT_VERSION}-py3-none-any.whl
shell: bash
- name: pip show package
run: |
pip show ${{ env.python_package_name }}
36 changes: 36 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Upload Python Package

on:
release:
types: [published]

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build setuptools wheel twine
- name: Build package
run: python setup.py sdist bdist_wheel
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ build/
dist/
*.spec
.idea/
__pycache__
__pycache__
*.egg-info
.vscode
test_files
53 changes: 53 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Change Log

This document records all notable changes to [Converter CSV by LimberDuck][1].

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).

## [0.3.0] - 2021-08-30

### Added

- `converter-csv` as Python package - from now on you can install it with `pip install converter-csv`
- entry point `converter-csv` added - from now on, after installation of **Converter CSV** you can run it with command `converter-csv`


## [0.2.3] - 2021-03-27

### Changed

- Requirements updated with new version of pillow and pyinstaller.

## [0.2.2] - 2019-05-18

### Changed

- Suffix with timestamp changed to format displayed in gui.

## [0.2.1] - 2019-05-18

### Changed

- Cancel option handled if change target directory action has been taken.
- About dialog window format changed to display release date.


## [0.2.0] - 2019-05-12

### Added

- possibility to add suffix to output files with current time or/and custom text

## [0.1.0] - 2018-12-31

- Initial public release

[0.3.0]: https://github.com/LimberDuck/converter-csv/compare/v0.2.3...v0.3.0
[0.2.3]: https://github.com/LimberDuck/converter-csv/compare/v0.2.2...v0.2.3
[0.2.2]: https://github.com/LimberDuck/converter-csv/compare/v0.2.1...v0.2.2
[0.2.1]: https://github.com/LimberDuck/converter-csv/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/LimberDuck/converter-csv/compare/v0.1.0...v0.2.0
[0.1.0]: https://github.com/LimberDuck/converter-csv/releases/tag/v0.1.0

[1]: https://github.com/LimberDuck/converter-csv
33 changes: 0 additions & 33 deletions CHANGELOG.rst

This file was deleted.

Loading

0 comments on commit ca809c0

Please sign in to comment.