Skip to content

Commit

Permalink
Merge pull request #23 from metaodi/develop
Browse files Browse the repository at this point in the history
Release 0.0.5
  • Loading branch information
metaodi authored Jun 10, 2020
2 parents a03c1bc + 9ddf012 commit 79f1c22
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 14 deletions.
1 change: 0 additions & 1 deletion .github/workflows/publish_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install setuptools wheel twine
- name: Build and publish
env:
Expand Down
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

## [Unreleased]

## [0.0.5] - 2020-06-10
### Changed
- Remove dependencies to convert md to rst
- Directly provide markdown to PyPI

## [0.0.4] - 2020-06-10
### Fixed
- Fix description text on PyPI
Expand Down Expand Up @@ -40,7 +45,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- `Fixed` for any bug fixes.
- `Security` to invite users to upgrade in case of vulnerabilities.

[Unreleased]: https://github.com/metaodi/sruthi/compare/v0.0.4...HEAD
[Unreleased]: https://github.com/metaodi/sruthi/compare/v0.0.5...HEAD
[0.0.5]: https://github.com/metaodi/sruthi/compare/v0.0.4...v0.0.5
[0.0.4]: https://github.com/metaodi/sruthi/compare/v0.0.3...v0.0.4
[0.0.3]: https://github.com/metaodi/sruthi/compare/v0.0.2...v0.0.3
[0.0.2]: https://github.com/metaodi/sruthi/compare/v0.0.1...v0.0.2
Expand Down
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
requests
defusedxml
pypandoc
Unidecode
13 changes: 4 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,17 @@
if not version:
raise RuntimeError('Cannot find version information')

try:
import pypandoc
from unidecode import unidecode
description = open('README.md', encoding='utf-8').read()
description = unidecode(description)
description = pypandoc.convert(description, 'rst', format='md')
except (IOError, OSError, ImportError):
description = 'SRU client for Python'
with open('README.md', 'r', encoding="utf-8") as f:
long_description = f.read()

setup(
name='sruthi',
packages=find_packages(),
version=version,
install_requires=['requests', 'defusedxml'],
description='SRU client for Python',
long_description=description,
long_description=long_description,
long_description_content_type='text/markdown',
author='Stefan Oderbolz',
author_email='[email protected]',
maintainer='Stefan Oderbolz',
Expand Down
2 changes: 1 addition & 1 deletion sruthi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '0.0.4'
__version__ = '0.0.5'
__all__ = ['client', 'errors', 'response', 'sru', 'xmlparse']

from .errors import SruthiError, ServerIncompatibleError, SruError, NoMoreRecordsError # noqa
Expand Down

0 comments on commit 79f1c22

Please sign in to comment.