-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #215 from niccokunzmann/fix-release
include new directory layout
- Loading branch information
Showing
11 changed files
with
9,729 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,4 @@ env-2 | |
/htmlcov | ||
.coverage | ||
.venv | ||
rfc5545.html | ||
venv |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,84 @@ | ||
[build-system] | ||
requires = ["hatchling", "hatch-vcs"] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "recurring-ical-events" | ||
license = {file = "LICENSE"} | ||
keywords = ["icalendar", "calendar", "ics", "rfc5545", "scheduling", "events", "todo", "journal", "alarm"] | ||
dynamic = ["urls", "version"] | ||
authors = [ | ||
{ name="Nicco Kunzmann", email="[email protected]" }, | ||
] | ||
maintainers = [ | ||
{ name="Nicco Kunzmann", email="[email protected]" }, | ||
] | ||
description = "Calculate recurrence times of events, todos, alarms and journals based on icalendar RFC5545." | ||
readme = "README.rst" | ||
requires-python = ">=3.8" | ||
|
||
# see https://pypi.python.org/pypi?%3Aaction=list_classifiers | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"Operating System :: OS Independent", | ||
"Topic :: Office/Business :: Scheduling", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"Topic :: Utilities", | ||
"Natural Language :: English", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"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", | ||
] | ||
|
||
# install requirements depending on python version | ||
# see https://www.python.org/dev/peps/pep-0508/#environment-markers | ||
dependencies = [ | ||
'icalendar >= 6.1.0, < 7.0.0', | ||
'python-dateutil >= 2.8.1, < 3.0.0', | ||
'x-wr-timezone >= 1.0.0, < 3.0.0; python_version >= "3.9"', | ||
'x-wr-timezone == 0.*; python_version <= "3.8"', | ||
'backports.zoneinfo; python_version == "3.7" or python_version == "3.8"', | ||
'tzdata', | ||
] | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
'pytest', | ||
'pytest-cov', | ||
'restructuredtext-lint', | ||
'pygments', | ||
'pytz >= 2023.3', | ||
] | ||
|
||
[tool.hatch.metadata.hooks.vcs.urls] | ||
#[project.urls] | ||
Homepage = "https://github.com/niccokunzmann/python-recurring-ical-events" | ||
Repository = "https://github.com/niccokunzmann/python-recurring-ical-events" | ||
source_archive = "https://github.com/niccokunzmann/python-recurring-ical-events/archive/{commit_hash}.zip" | ||
Issues = "https://github.com/niccokunzmann/python-recurring-ical-events/issues" | ||
Documentation = "https://github.com/niccokunzmann/python-recurring-ical-events" | ||
Changelog = "https://github.com/niccokunzmann/python-recurring-ical-events?tab=readme-ov-file#changelog" | ||
|
||
[tool.hatch.version] | ||
source = "vcs" | ||
|
||
[tool.hatch.version.raw-options] | ||
# see https://github.com/ofek/hatch-vcs/issues/43#issuecomment-1553065222 | ||
local_scheme = "no-local-version" | ||
|
||
[tool.hatch.build.hooks.vcs] | ||
version-file = "recurring_ical_events/_version.py" | ||
|
||
[tool.hatch.metadata] | ||
allow-direct-references = true | ||
|
||
[tool.ruff] | ||
target-version = "py38" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
_version.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# SPDX-FileCopyrightText: 2024 Nicco Kunzmann and Open Web Calendar Contributors <https://open-web-calendar.quelltext.eu/> | ||
# | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
|
||
try: | ||
from ._version import __version__, __version_tuple__, version, version_tuple | ||
except ModuleNotFoundError: | ||
__version__ = version = "0.0dev0" | ||
__version_tuple__ = version_tuple = (0, 0, "dev0") | ||
|
||
__all__ = [ | ||
"__version__", | ||
"__version_tuple__", | ||
"version", | ||
"version_tuple", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,25 @@ | ||
# install requirements depending on python version | ||
# see https://www.python.org/dev/peps/pep-0508/#environment-markers | ||
|
||
icalendar >= 6.1.0, < 7.0.0 | ||
python-dateutil >= 2.8.1, < 3.0.0 | ||
x-wr-timezone >= 1.0.0, < 3.0.0; python_version >= "3.9" | ||
x-wr-timezone == 0.*; python_version <= "3.8" | ||
backports.zoneinfo; python_version == "3.7" or python_version == "3.8" | ||
tzdata; python_version >= "3.7" | ||
# | ||
# This file is autogenerated by pip-compile with Python 3.12 | ||
# by the following command: | ||
# | ||
# pip-compile | ||
# | ||
click==8.1.8 | ||
# via x-wr-timezone | ||
icalendar==6.1.1 | ||
# via | ||
# recurring-ical-events (setup.py) | ||
# x-wr-timezone | ||
python-dateutil==2.9.0.post0 | ||
# via | ||
# icalendar | ||
# recurring-ical-events (setup.py) | ||
six==1.17.0 | ||
# via python-dateutil | ||
tzdata==2025.1 | ||
# via | ||
# icalendar | ||
# recurring-ical-events (setup.py) | ||
# x-wr-timezone | ||
x-wr-timezone==2.0.1 ; python_version >= "3.9" | ||
# via recurring-ical-events (setup.py) |
Oops, something went wrong.