-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into develop; bump dev version number to 0.2-dev
- Loading branch information
Showing
10 changed files
with
121 additions
and
84 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 |
---|---|---|
@@ -1,71 +1,25 @@ | ||
{ | ||
"projectName": "undate-python", | ||
"projectOwner": "dh-tech", | ||
"repoType": "github", | ||
"repoHost": "https://github.com", | ||
"files": [ | ||
"README.md" | ||
], | ||
"imageSize": 100, | ||
"commit": false, | ||
"commit": true, | ||
"commitConvention": "angular", | ||
"contributors": [ | ||
{ | ||
"login": "ColeDCrawford", | ||
"name": "Cole Crawford", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/16374762?v=4", | ||
"profile": "https://github.com/ColeDCrawford", | ||
"contributions": [ | ||
"code", | ||
"review", | ||
"test" | ||
] | ||
}, | ||
{ | ||
"login": "rlskoeser", | ||
"name": "Rebecca Sutton Koeser", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/691231?v=4", | ||
"profile": "http://rlskoeser.github.io", | ||
"contributions": [ | ||
"code", | ||
"review", | ||
"test" | ||
] | ||
}, | ||
{ | ||
"login": "robcast", | ||
"name": "Robert Casties", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/1488847?v=4", | ||
"profile": "https://github.com/robcast", | ||
"profile": "http://rlskoeser.github.io/", | ||
"contributions": [ | ||
"data" | ||
] | ||
}, | ||
{ | ||
"login": "jdamerow", | ||
"name": "Julia Damerow", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/8881141?v=4", | ||
"profile": "https://github.com/jdamerow", | ||
"contributions": [ | ||
"code", | ||
"review", | ||
"test", | ||
"eventOrganizing" | ||
] | ||
}, | ||
{ | ||
"login": "maltevogl", | ||
"name": "Malte Vogl", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/20907912?v=4", | ||
"profile": "https://github.com/maltevogl", | ||
"contributions": [ | ||
"code", | ||
"review", | ||
"test", | ||
"doc" | ||
"blog" | ||
] | ||
} | ||
], | ||
"contributorsPerLine": 7, | ||
"skipCi": true, | ||
"repoType": "github", | ||
"repoHost": "https://github.com", | ||
"projectName": "hackathon-2022", | ||
"projectOwner": "dh-tech" | ||
"linkToUsage": true | ||
} |
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,39 @@ | ||
# This workflow will upload a Python Package using Twine when a release is created | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries | ||
|
||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
|
||
name: Upload Python Package | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
deploy: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: '3.x' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install build | ||
- name: Build package | ||
run: python -m build | ||
- name: Publish package | ||
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} |
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 |
---|---|---|
|
@@ -24,6 +24,7 @@ wheels/ | |
.installed.cfg | ||
*.egg | ||
MANIFEST | ||
docs/_build/ | ||
|
||
# Environments | ||
.tox | ||
|
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 @@ | ||
# Change Log | ||
|
||
## 0.1 | ||
|
||
Pre-alpha version with preliminary `Undate` and `UndateInterval` classes | ||
with support for ISO8601 date format |
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
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,17 +1,17 @@ | ||
[metadata] | ||
name = undate | ||
version = attr: undate.__version__ | ||
author = 'DHTech' | ||
author_email = '[email protected]' | ||
description = "library for working with uncertain, fuzzy, or " | ||
+ "partially unknown dates and date intervals" | ||
author = DHTech | ||
author_email = "[email protected]" | ||
description = "library for working with uncertain, fuzzy, or partially unknown dates and date intervals" | ||
long_description = file: README.md | ||
license="Apache License, Version 2.0", | ||
license="Apache License, Version 2.0" | ||
long_description_content_type = text/markdown | ||
url = https://github.com/dh-tech/undate-python | ||
project_urls = | ||
Project Home = https://dh-tech.github.io | ||
Project Home = https://github.com/dh-tech/undate-python | ||
Bug Tracker = https://github.com/dh-tech/undate-python/issues | ||
keywords = "dates dating uncertainty uncertain-dates unknown partially-known digital-humanities" | ||
classifiers = | ||
Development Status :: 2 - Pre-Alpha | ||
Programming Language :: Python :: 3 | ||
|
@@ -51,6 +51,7 @@ dev = | |
tox | ||
twine | ||
wheel | ||
build | ||
%(docs)s | ||
test = | ||
pytest>=7.2 | ||
|
@@ -83,7 +84,6 @@ testpaths = | |
|
||
[testenv] | ||
deps = | ||
{[options.extras_require]test} | ||
-e ./[test] | ||
commands = pytest {posargs} | ||
|
||
|
@@ -95,7 +95,7 @@ commands = | |
|
||
[testenv:coverage] | ||
deps = | ||
{[options.extras_require]test} | ||
-e ./[test] | ||
commands = | ||
pytest --cov=./ --cov-report=xml | ||
|
||
|
@@ -105,6 +105,5 @@ description = invoke sphinx-build to build the HTML docs | |
basepython = python3.10 | ||
deps = | ||
-e ./[docs] | ||
{[options.extras_require]docs} | ||
commands = sphinx-build -d "{toxworkdir}/docs_doctree" docs "{toxworkdir}/docs_out" --color -W -bhtml {posargs} | ||
python -c 'import pathlib; print("documentation available under file://\{0\}".format(pathlib.Path(r"{toxworkdir}") / "docs_out" / "index.html"))' |
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 +1 @@ | ||
__version__ = "0.1.0.dev" | ||
__version__ = "0.2.0-dev" |
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