Skip to content

Commit 940e405

Browse files
committed
pipenv substituted by poetry
1 parent 41286f9 commit 940e405

File tree

6 files changed

+44
-95
lines changed

6 files changed

+44
-95
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,9 @@ jobs:
1616
python-version: '3.x'
1717
- name: Install dependencies
1818
run: |
19-
python -m pip install --upgrade pip
20-
pip install setuptools wheel twine
19+
python -m pip install --upgrade pip poetry
20+
poetry install
2121
- name: Build and publish
22-
env:
23-
TWINE_USERNAME: __token__
24-
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
2522
run: |
26-
python setup.py sdist
27-
twine upload dist/*
23+
poetry build
24+
poetry publish -u __token__ -p ${{ secrets.PYPI_TOKEN }}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,4 +130,4 @@ dmypy.json
130130

131131
.idea/
132132

133-
Pipfile.lock
133+
poetry.lock

CHANGELOG.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
Changelog
22
=========
33

4+
5+
0.1.6 (2022-04-24)
6+
------------------
7+
8+
- pipenv substituted by poetry
9+
10+
411
0.1.5 (2022-04-24)
512
------------------
613

Pipfile

Lines changed: 0 additions & 13 deletions
This file was deleted.

pyproject.toml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
[tool.poetry]
2+
name = "crontools"
3+
version = "0.1.5"
4+
description = "Python cron tools"
5+
authors = ["Dmitry Pershin <[email protected]>"]
6+
license = "Unlicense"
7+
readme = "README.rst"
8+
homepage = "https://github.com/dapper91/crontools"
9+
repository = "https://github.com/dapper91/crontools"
10+
keywords = ["cron", "crontab", "cron-utils", "cron-tools", "parser"]
11+
classifiers = [
12+
"License :: Public Domain",
13+
"Programming Language :: Python :: 3",
14+
"Intended Audience :: Developers",
15+
"Topic :: Software Development :: Libraries",
16+
"Topic :: Utilities"
17+
]
18+
19+
[tool.poetry.dependencies]
20+
python = "^3.7"
21+
tzlocal = "^2.0"
22+
types-tzlocal = "^4.1.0"
23+
24+
[tool.poetry.dev-dependencies]
25+
pytest = "^6.0"
26+
pytest-cov = "^2.0"
27+
freezegun = "^1.2"
28+
pre-commit = "^2.18.1"
29+
30+
[build-system]
31+
requires = ["poetry-core>=1.0.0"]
32+
build-backend = "poetry.core.masonry.api"

setup.py

Lines changed: 0 additions & 74 deletions
This file was deleted.

0 commit comments

Comments
 (0)