Skip to content

Commit

Permalink
pipenv substituted by poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
dapper91 committed Feb 25, 2023
1 parent 41286f9 commit 940e405
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 95 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,9 @@ jobs:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
python -m pip install --upgrade pip poetry
poetry install
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
python setup.py sdist
twine upload dist/*
poetry build
poetry publish -u __token__ -p ${{ secrets.PYPI_TOKEN }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,4 @@ dmypy.json

.idea/

Pipfile.lock
poetry.lock
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Changelog
=========


0.1.6 (2022-04-24)
------------------

- pipenv substituted by poetry


0.1.5 (2022-04-24)
------------------

Expand Down
13 changes: 0 additions & 13 deletions Pipfile

This file was deleted.

32 changes: 32 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[tool.poetry]
name = "crontools"
version = "0.1.5"
description = "Python cron tools"
authors = ["Dmitry Pershin <dapper1291@gmail.com>"]
license = "Unlicense"
readme = "README.rst"
homepage = "https://github.com/dapper91/crontools"
repository = "https://github.com/dapper91/crontools"
keywords = ["cron", "crontab", "cron-utils", "cron-tools", "parser"]
classifiers = [
"License :: Public Domain",
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities"
]

[tool.poetry.dependencies]
python = "^3.7"
tzlocal = "^2.0"
types-tzlocal = "^4.1.0"

[tool.poetry.dev-dependencies]
pytest = "^6.0"
pytest-cov = "^2.0"
freezegun = "^1.2"
pre-commit = "^2.18.1"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
74 changes: 0 additions & 74 deletions setup.py

This file was deleted.

0 comments on commit 940e405

Please sign in to comment.