Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,18 @@ ehthumbs.db
################
*~

# Python packaging
dist/
build/
*.egg-info/
.eggs/
.Python
[Bb]in
[Ii]nclude
[Ll]ib
[Ll]ib64
[Ll]ocal
[Ss]cripts
pyvenv.cfg
.venv
pip-selfcheck.json
40 changes: 40 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# pyproject.toml
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don’t include the name of the file as first comment.

[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "loop_wrapper"
version = "3.2.0"
description = "loop_wrapper is a job-control tool to make it easier to loop through datetime ranges"
readme = "README.md"
requires-python = ">=3.6"
license = "GPL-2.0-only"
keywords = ["loop", "datetime", "job-control"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]

authors = [
{ name="Thomas Lavergne", email="thomasl@met.no" },
{ name="Mathew Duggan", email="mat@matduggan.com" },
]

dependencies = [
"python-dateutil>=2.9.0",
]

[project.urls]
homepage = "https://github.com/metno/loop_wrapper"
"Bug Tracker" = "https://github.com/metno/loop_wrapper/issues"
documentation = "https://loop_wrapper.readthedocs.io/"
12 changes: 12 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# setup.cfg
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

[metadata]
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/metno/loop_wrapper

[options]
packages = find:
python_requires = >=3.6

[options.packages.find]
where = .