Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fully compliant PEP-517 #461

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions MANIFEST.in

This file was deleted.

2 changes: 1 addition & 1 deletion freezegun/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from .config import configure

__title__ = 'freezegun'
__version__ = '1.2.2'
__version__ = '1.2.3'
__author__ = 'Steve Pulec'
__license__ = 'Apache License 2.0'
__copyright__ = 'Copyright 2012 Steve Pulec'
Expand Down
379 changes: 379 additions & 0 deletions poetry.lock

Large diffs are not rendered by default.

50 changes: 50 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,53 @@
[tool.poetry]
name = "freezegun"
version = "1.2.3"
description = "Let your Python tests travel through time"
authors = ["Steve Pulec <[email protected]>"]
license = "Apache-2.0"
readme = "README.rst"
homepage = "https://github.com/spulec/freezegun"
repository = "https://github.com/spulec/freezegun"
documentation = "https://github.com/spulec/freezegun/blob/master/README.rst"
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
packages=[
{include = "freezegun"},
{include = "tests"},
{include = "AUTHORS.rst"},
{include = "CHANGELOG"}
]

[tool.poetry.urls]
"Bug Tracker" = "https://github.com/spulec/freezegun/issues"
"Changes" = "https://github.com/spulec/freezegun/blob/master/CHANGELOG"

[tool.poetry.dependencies]
python = ">=3.7,<4.0"
python-dateutil = ">=2.7"
maya = {version=">=0.6.1", python = ">=3.7"}

[tool.poetry.dev-dependencies]
coverage = {extras = ["toml"], version = ">=6.2"}
pytest = "^7.1.2"

[tool.coverage.paths]
source = ["src", "*/site-packages"]
tests = ["tests", "*/tests"]

[tool.coverage.run]
branch = true
source = ["freezegun", "tests"]

[tool.coverage.report]
show_missing = true

[tool.mypy]
strict = true
pretty = true
Expand Down
5 changes: 0 additions & 5 deletions requirements.txt

This file was deleted.

29 changes: 0 additions & 29 deletions setup.cfg

This file was deleted.

4 changes: 0 additions & 4 deletions setup.py

This file was deleted.

3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
# and then run "tox" from this directory.

[tox]
envlist = py36, py37, py38, py39, pypy3, mypy
isolated_build = True
envlist = py37, py38, py39, pypy3, mypy

[testenv]
commands = pytest --cov {posargs}
Expand Down