Skip to content

Commit

Permalink
Use single-version to generate version string
Browse files Browse the repository at this point in the history
  • Loading branch information
hongquan committed Jan 31, 2020
1 parent 2c7fcc8 commit e9db117
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 41 deletions.
3 changes: 2 additions & 1 deletion curlipie/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from pathlib import Path

from .ver import get_version
from single_version import get_version

from .pie import curl_to_httpie, ConversionResult # NOQA


Expand Down
30 changes: 0 additions & 30 deletions curlipie/ver.py

This file was deleted.

32 changes: 23 additions & 9 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "curlipie"
version = "0.5"
version = "0.6"
description = "Library to convert cURL command line to HTTPie"
authors = ["Nguyễn Hồng Quân <ng.hong.quan@gmail.com>"]
maintainers = [
Expand All @@ -27,6 +27,7 @@ yarl = "^1.4.2"
orjson = { version = "^2.2.0", markers = "python_version >= '3.7'" }
first = "^2.0.2"
python-rapidjson = { version = "^0.9.1", markers = "python_version ~= '3.6'" }
single-version = "^1.1"

[tool.poetry.dev-dependencies]
pytest = "^5.2"
Expand Down

0 comments on commit e9db117

Please sign in to comment.