Skip to content

Commit c8dda4e

Browse files
committed
setup.py, makefileを修正
1 parent f44d202 commit c8dda4e

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

Makefile

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: docs lint test format
1+
.PHONY: docs lint test format test publish_test publish
22

33
init:
44
pip install pipenv --upgrade
@@ -15,3 +15,14 @@ lint:
1515

1616
test:
1717
pipenv run pytest tests -v --cov=annofabapi --cov-report=html
18+
19+
publish_test:
20+
python setup.py bdist_wheel
21+
pipenv run twine upload dist/* --repository-url https://test.pypi.org/legacy/ --verbose
22+
rm -fr build/ dist/ annofabapi.egg
23+
24+
publish:
25+
python setup.py bdist_wheel
26+
pipenv run twine upload dist/* --repository-url https://upload.pypi.org/legacy/ --verbose
27+
rm -fr build/ dist/ annofabapi.egg
28+

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ https://annofab.com/docs/api/
1515
* 「画像を入力データとして登録する」機能など、APIを組み合わせた機能を利用できます。
1616

1717
# Requirements
18-
* python 3.5+
18+
* python 3.6+
1919

2020
# Install
2121

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
readme = f.read()
88

99
setup(name='annofabapi',
10-
version='0.0.1',
10+
version='0.1.0',
1111
description='Python Clinet Library of AnnoFab API (https://annofab.com/docs/api/)',
1212
long_description=readme,
1313
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)