Skip to content

Commit

Permalink
poetryに対応
Browse files Browse the repository at this point in the history
  • Loading branch information
mypaceshun committed Sep 28, 2020
1 parent 36fbcad commit 0647720
Show file tree
Hide file tree
Showing 6 changed files with 322 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,4 @@ ENV/
.ropeproject

log
.venv
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PYTHON = python3
VENV = venv
VENV = .venv
ACTIVATE = . ./${VENV}/bin/activate

TARGET = testpypi
Expand Down
1 change: 0 additions & 1 deletion akerun_sum/__init__.py

This file was deleted.

5 changes: 5 additions & 0 deletions changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
更新履歴
========================

* v1.2.2

- オプションパーサーにClickを利用
- pyproject.tomlを利用

* v1.2.1

- Akerunデータのヘッダーが日本語になったのでそれに合わせて修正
275 changes: 275 additions & 0 deletions poetry.lock

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

40 changes: 40 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[tool.poetry]
name = "akerun-sum"
version = "1.2.2"
description = "Enter and leave data totalization program for Akerun"
license = "GPL-3.0-or-later"
authors = ["KAWAI Shun <[email protected]>"]
maintainers = ["KAWAI Shun <[email protected]>"]
readme = "README.md"
homepage = "https://github.com/osstech-jp/akerun-sum"
repository = "https://github.com/osstech-jp/akerun-sum"
keywords = ["akerun", "akerun-sum"]
classifiers = [
"Environment :: Console",
"Natural Language :: Japanese",
"Operating System :: Microsoft :: Windows :: Windows 7",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: GNU General Public License (GPL)"
]
packages = [
{ include = "akerun_sum" }
]
include = [
"LICENSE",
"changelog.rst"
]

[tool.poetry.dependencies]
python = ">=3.5"
click = ">=7.1"

[tool.poetry.scripts]
akerun-sum = "akerun_sum.cli:main"

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

0 comments on commit 0647720

Please sign in to comment.