-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use pyproject.toml to define PyPI package
- Loading branch information
1 parent
c7e91c7
commit 5db6ccf
Showing
8 changed files
with
69 additions
and
53 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 |
---|---|---|
|
@@ -32,6 +32,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
cache: 'pip' | ||
cache-dependency-path: '**/pyproject.toml' | ||
check-latest: true | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install Dependencies | ||
|
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 |
---|---|---|
|
@@ -26,10 +26,11 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
cache: 'pip' | ||
cache-dependency-path: '**/pyproject.toml' | ||
check-latest: true | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
pip install -r requirements-dev.txt | ||
pip install .[dev] | ||
- name: Test with nose2 | ||
run: nose2 |
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,2 @@ | ||
include README.md | ||
include requirements.txt | ||
graft iXBRLViewerPlugin/viewer/dist |
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,63 @@ | ||
[build-system] | ||
requires = ["setuptools~=65.3", "wheel~=0.37", "setuptools_scm[toml]~=7.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "ixbrl-viewer" | ||
dynamic = ['version'] | ||
readme = "README.md" | ||
license = {text = "Apache-2.0"} | ||
description = "The Workiva iXBRL Viewer allows iXBRL reports to be viewed interactively in a web browser." | ||
authors = [ | ||
{name = "arelle.org", email = "[email protected]"} | ||
] | ||
keywords = ["xbrl"] | ||
classifiers = [ | ||
'Development Status :: 5 - Production/Stable', | ||
'Intended Audience :: End Users/Desktop', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: Apache Software License', | ||
'Natural Language :: English', | ||
'Programming Language :: Python :: 3', | ||
'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', | ||
'Operating System :: OS Independent', | ||
'Topic :: Text Processing :: Markup :: XML' | ||
] | ||
requires-python = ">=3.7" | ||
dependencies = [ | ||
'arelle_release==2.4.2', | ||
'lxml>=4.6.3,<5.0.0', | ||
'pycountry>=20.7.3,<21.0.0' | ||
] | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
'mock>=4.0.3,<6.0.0', | ||
'nose2>=0.12.0,<1.0.0' | ||
] | ||
|
||
[project.scripts] | ||
ixbrl-viewer = "iXBRLViewerPlugin:load_plugin_url" | ||
|
||
[project.urls] | ||
"Homepage" = "https://arelle.org/" | ||
"Downloads" = "https://arelle.org/arelle/pub/" | ||
"Documentation" = "https://arelle.org/arelle/documentation/" | ||
"Blog" = "https://arelle.org/arelle/blog/" | ||
"Source Code" = "https://github.com/workiva/ixbrl-viewer" | ||
"Bug Reports" = "https://github.com/workiva/ixbrl-viewer/issues/" | ||
"Support" = "https://groups.google.com/g/arelle-users/" | ||
|
||
[tool.setuptools] | ||
platforms = ["any"] | ||
|
||
[tool.setuptools.packages.find] | ||
namespaces = false | ||
|
||
[tool.setuptools_scm] | ||
tag_regex = "^(?:[\\w-]+-?)?(?P<version>[vV]?\\d+(?:\\.\\d+){0,2}[^\\+]*)(?:\\+.*)?$" | ||
write_to = "iXBRLViewerPlugin/_version.py" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.