Skip to content

Commit bed2282

Browse files
committed
update: check available python version.
1 parent 0ec13ab commit bed2282

File tree

6 files changed

+29
-2
lines changed

6 files changed

+29
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ dist/**
99
**/__pycache__
1010
**/*.egg-info
1111
**/.pypirc
12+
**/.tox

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
# fconv
2+
3+
![GitHub](https://img.shields.io/github/license/wf001/fconv)
4+
![Github](https://img.shields.io/static/v1?label=fconv&message=for%20Terminal&color=FA9BFA)
5+
![GitHub release (latest by date)](https://img.shields.io/pypi/v/fconv)
6+
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/wf001/fconv/Python%20application)
7+
![PyPI version](https://img.shields.io/pypi/pyversions/fconv)
8+
29
fconv is a Command-Line utility and library for converting between multiple file formats such as JSON, YAML.
310

411
## Getting started

dev-requirement.txt

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ pytest==7.2.0
2020
pytest-mock==3.10.0
2121
pytest-randomly==3.12.0
2222
tomli==2.0.1
23+
tox==3.27.1
2324
types-PyYAML==6.0.12.2
2425
types-toml==0.10.8.1
2526
typing_extensions==4.4.0

fconv/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__doc__ = "Converter between multiple open-standard file formats."
2-
__version__ = "2.0.0"
2+
__version__ = "2.0.1"
33
__prog__ = "fconv"
44
__author__ = "wf001"
55
__license__ = "MIT"

setup.py

+9-1
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,13 @@ def long_description():
2929
],
3030
},
3131
packages=find_packages(include=['fconv', 'fconv.*']),
32-
install_requires=_requires_from_file('requirement.txt')
32+
install_requires=_requires_from_file('requirement.txt'),
33+
classifiers=[
34+
"Programming Language :: Python :: 3.8",
35+
"Programming Language :: Python :: 3.9",
36+
"Programming Language :: Python :: 3.10",
37+
"Programming Language :: Python :: 3.11",
38+
"Topic :: Software Development :: Libraries :: Python Modules",
39+
"Topic :: Text Processing"
40+
]
3341
)

tox.ini

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
[flake8]
22
max-line-length = 200
33

4+
[tox]
5+
envlist = py38,py39,py310,py311
6+
7+
[testenv]
8+
allowlist_externals=make
9+
skip_install=true
10+
commands=
11+
make install-dev
12+
pytest
13+

0 commit comments

Comments
 (0)