Skip to content

Commit

Permalink
python 3.7 support
Browse files Browse the repository at this point in the history
Added support for Python 3.7. Fixes #12
  • Loading branch information
donmai-me committed Mar 1, 2023
1 parent a2050a3 commit 0bf4d9b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 6 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.14.6] - 2023-03-01
### Added
- Support for Python version 3.7 [GitHub Issue](https://github.com/donmai-me/MaiConverter/issues/12)

### Fixed
- Fixed parsing of negative `&first` Simai tags. Credit to [ReiFan49](https://github.com/ReiFan49)

## [0.14.5] - 2022-02-10
### Changed
- Changed behaviour of `ma2_to_simai` and `simai_to_ma2` to compensate for the fact that Simai disregards BPM changes for slide delays, and slide and hold durations.
Expand Down Expand Up @@ -77,7 +84,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Ma2 to Sdt conversion and vice versa.
- Simai to Sdt conversion and vice versa.

[Unreleased]: https://github.com/donmai-me/MaiConverter/compare/0.14.5...HEAD
[Unreleased]: https://github.com/donmai-me/MaiConverter/compare/0.14.6...HEAD
[0.14.6]: https://github.com/donmai-me/MaiConverter/compare/0.14.5...0.14.6
[0.14.5]: https://github.com/donmai-me/MaiConverter/compare/0.14.4...0.14.5
[0.14.4]: https://github.com/donmai-me/MaiConverter/compare/0.14.3...0.14.4
[0.14.3]: https://github.com/donmai-me/MaiConverter/compare/0.14.2...0.14.3
Expand Down
6 changes: 5 additions & 1 deletion maiconverter/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
from importlib.metadata import version, PackageNotFoundError
try:
from importlib.metadata import version, PackageNotFoundError
except ImportError:
from importlib_metadata import version, PackageNotFoundError

from maiconverter.cli import main

try:
Expand Down
12 changes: 8 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
from setuptools import setup

with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with open("README.md") as f:
long_description = f.read()

with open("requirements.txt") as f:
requirements = f.read()

setup(
name="MaiConverter",
Expand Down Expand Up @@ -33,8 +36,9 @@
entry_points={
"console_scripts": ["maiconverter=maiconverter.cli:main"],
},
python_requires="~=3.8",
python_requires=">=3.7",
use_scm_version=True,
setup_requires=["setuptools_scm"],
install_requires=["pycryptodome~=3.9", "lark-parser~=0.11"],
install_requires=requirements,
extras_requires={':python_version < "3.8"': ["importlib-metadata"]},
)

0 comments on commit 0bf4d9b

Please sign in to comment.