-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ce46bff
commit bdfc41b
Showing
6 changed files
with
72 additions
and
46 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[project] | ||
name = "backports-datetime-fromisoformat" | ||
version = "2.0.0" | ||
authors = [ | ||
{ name="Michael Overmeyer", email="[email protected]" }, | ||
] | ||
description = "Backport of Python 3.11's datetime.fromisoformat" | ||
readme = "README.rst" | ||
requires-python = ">3" | ||
license = {file = "LICENSE"} | ||
classifiers = [ | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.4', | ||
'Programming Language :: Python :: 3.5', | ||
'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', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/movermeyer/backports.datetime_fromisoformat" | ||
Documentation = "https://github.com/movermeyer/backports.datetime_fromisoformat" | ||
Repository = "https://github.com/movermeyer/backports.datetime_fromisoformat" | ||
"Bug Tracker" = "https://github.com/movermeyer/backports.datetime_fromisoformat/issues" | ||
Changelog = "https://github.com/movermeyer/backports.datetime_fromisoformat/CHANGELOG.md" |
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,11 +1,6 @@ | ||
import os | ||
|
||
from setuptools import setup, Extension | ||
# workaround for open() with encoding='' python2/3 compatibility | ||
from io import open | ||
|
||
with open('README.rst', encoding='utf-8') as file: | ||
long_description = file.read() | ||
|
||
# We want to force all warnings to be considered errors. That way we get to catch potential issues during | ||
# development and at PR review time. | ||
|
@@ -30,43 +25,12 @@ | |
os.environ["_CL_"] = "" | ||
os.environ["_CL_"] += " /WX" | ||
|
||
VERSION = "2.0.0" | ||
|
||
setup( | ||
name="backports-datetime-fromisoformat", | ||
version=VERSION, | ||
description="Backport of Python 3.11's datetime.fromisoformat", | ||
long_description=long_description, | ||
license="MIT", | ||
author="Michael Overmeyer", | ||
author_email="[email protected]", | ||
url="https://github.com/movermeyer/backports.datetime_fromisoformat", | ||
|
||
packages=["backports", "backports.datetime_fromisoformat"], | ||
|
||
ext_modules=[Extension("backports._datetime_fromisoformat", [ | ||
os.path.join("backports", "datetime_fromisoformat", "module.c"), | ||
os.path.join("backports", "datetime_fromisoformat", "_datetimemodule.c"), | ||
os.path.join("backports", "datetime_fromisoformat", "timezone.c") | ||
])], | ||
|
||
test_suite='tests', | ||
tests_require=[ | ||
'pytz' | ||
], | ||
classifiers=[ | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.4', | ||
'Programming Language :: Python :: 3.5', | ||
'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', | ||
'Topic :: Software Development :: Libraries :: Python Modules' | ||
] | ||
) |
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