diff --git a/build.py b/build.py deleted file mode 100644 index e69de29..0000000 diff --git a/pdm.lock b/pdm.lock index bced619..55edd3e 100644 --- a/pdm.lock +++ b/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "cytoscape", "dash", "dev", "notebooks", "plot", "spacy-lg", "spacy-md", "spacy-sm", "test", "trials"] strategy = ["inherit_metadata"] lock_version = "4.5.0" -content_hash = "sha256:75c3ec94235c3b4d2881ef48edd1013efdbac1ccbab7cba3d4a8094097437088" +content_hash = "sha256:ee04489a27ffbefedbb9928481375dfa84f35f3645ec4d8ef3b9ffb7b376af10" [[metadata.targets]] requires_python = ">=3.11" @@ -1893,6 +1893,20 @@ files = [ {file = "language_data-1.2.0.tar.gz", hash = "sha256:82a86050bbd677bfde87d97885b17566cfe75dad3ac4f5ce44b52c28f752e773"}, ] +[[package]] +name = "mako" +version = "1.3.8" +requires_python = ">=3.8" +summary = "A super-fast templating language that borrows the best ideas from the existing templating languages." +groups = ["dev"] +dependencies = [ + "MarkupSafe>=0.9.2", +] +files = [ + {file = "Mako-1.3.8-py3-none-any.whl", hash = "sha256:42f48953c7eb91332040ff567eb7eea69b22e7a4affbc5ba8e845e8f730f6627"}, + {file = "mako-1.3.8.tar.gz", hash = "sha256:577b97e414580d3e088d47c2dbbe9594aa7a5146ed2875d4dfa9075af2dd3cc8"}, +] + [[package]] name = "marisa-trie" version = "1.2.1" @@ -1939,6 +1953,20 @@ files = [ {file = "marisa_trie-1.2.1.tar.gz", hash = "sha256:3a27c408e2aefc03e0f1d25b2ff2afb85aac3568f6fa2ae2a53b57a2e87ce29d"}, ] +[[package]] +name = "markdown" +version = "3.7" +requires_python = ">=3.8" +summary = "Python implementation of John Gruber's Markdown." +groups = ["dev"] +dependencies = [ + "importlib-metadata>=4.4; python_version < \"3.10\"", +] +files = [ + {file = "Markdown-3.7-py3-none-any.whl", hash = "sha256:7eb6df5690b81a1d7942992c97fad2938e956e79df20cbc6186e9c3a77b1c803"}, + {file = "markdown-3.7.tar.gz", hash = "sha256:2ae2471477cfd02dbbf038d5d9bc226d40def84b4fe2986e49b59b6b472bbed2"}, +] + [[package]] name = "markdown-it-py" version = "3.0.0" @@ -1958,7 +1986,7 @@ name = "markupsafe" version = "3.0.2" requires_python = ">=3.9" summary = "Safely add untrusted strings to HTML/XML markup." -groups = ["default", "dash", "notebooks"] +groups = ["default", "dash", "dev", "notebooks"] files = [ {file = "MarkupSafe-3.0.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:9025b4018f3a1314059769c7bf15441064b2207cb3f065e6ea1e7359cb46db9d"}, {file = "MarkupSafe-3.0.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:93335ca3812df2f366e80509ae119189886b0f3c2b81325d39efdb84a1e2ae93"}, @@ -2688,6 +2716,21 @@ files = [ {file = "parso-0.8.4.tar.gz", hash = "sha256:eb3a7b58240fb99099a345571deecc0f9540ea5f4dd2fe14c2a99d6b281ab92d"}, ] +[[package]] +name = "pdoc3" +version = "0.11.5" +requires_python = ">=3.9" +summary = "Auto-generate API documentation for Python projects." +groups = ["dev"] +dependencies = [ + "mako", + "markdown>=3.0", +] +files = [ + {file = "pdoc3-0.11.5-py3-none-any.whl", hash = "sha256:b614436239716e1655e538f68a42c62a0bac566e70ddd86c58bc66d6a9ec90a0"}, + {file = "pdoc3-0.11.5.tar.gz", hash = "sha256:fc40607e3f46860ba42c02d30075fe1a52c039b77ffa8e86c1cbc4a8078841b3"}, +] + [[package]] name = "pexpect" version = "4.9.0" diff --git a/pyproject.toml b/pyproject.toml index e867518..10cccf8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "lang-main" -version = "0.1.0a21" +version = "0.1.0rc1" description = "Several tools to analyse TOM's data with strong focus on language processing" authors = [ {name = "d-opt GmbH, resp. Florian Förster", email = "f.foerster@d-opt.com"}, @@ -51,36 +51,6 @@ requires = ["pdm-backend"] build-backend = "pdm.backend" -[tool.pdm] -distribution = true - -[tool.pdm.build] -package-dir = "src" - -[tool.pdm.resolution] -respect-source-order = true - -[[tool.pdm.source]] -name = "private" -url = "http://localhost:8001/simple" -verify_ssl = false - -[[tool.pdm.source]] -name = "pypi" -url = "https://pypi.org/simple" -exclude_packages = ["lang-main*", "tom-plugin*"] - -# [tool.pdm.dev-dependencies] -# notebooks = [ -# "jupyterlab>=4.2.0", -# "ipywidgets>=8.1.2", -# ] -# Alph relies on Pygraphviz which again relies on Graphviz, to sucessfully build -# Pygraphviz the MSVC toolchain should be installed on the target system if it is Windows -# (Linux not tested yet). The compiler needs additional information about the location of Graphviz -# files. This information is provided by extra options. -# --config-setting="--global-option=build_ext" --config-setting="--global-option=-IC:\Program Files\Graphviz\include" --config-setting="--global-option=-LC:\Program Files\Graphviz\lib" - [dependency-groups] dev = [ "cython>=3.0.10", @@ -90,6 +60,7 @@ dev = [ "pytest-cov>=6.0.0", "pytest-xdist>=3.6.1", "bump-my-version>=0.29.0", + "pdoc3>=0.11.5", ] notebooks = [ "jupyterlab>=4.2.0", @@ -126,6 +97,7 @@ filterwarnings = [ 'ignore:pkg_resources is deprecated as an API.:DeprecationWarning' ] markers = [ + "new: marks tests which are new to test only these (deselect with '-m \"not new\"')", "mload: marks tests with loading of language models (deselect with '-m \"not mload\"')", "cyto: marks tests which interact with Cytoscape (deselect with '-m \"not cyto\"')", ] @@ -154,7 +126,7 @@ directory = "reports/coverage" [tool.bumpversion] -current_version = "0.1.0a21" +current_version = "0.1.0rc1" parse = """(?x) (?P0|[1-9]\\d*)\\. (?P0|[1-9]\\d*)\\. @@ -193,4 +165,34 @@ optional_value = "final" [[tool.bumpversion.files]] filename = "pyproject.toml" search = "version = \"{current_version}\"" -replace = "version = \"{new_version}\"" \ No newline at end of file +replace = "version = \"{new_version}\"" +[tool.pdm] +distribution = true + +[tool.pdm.build] +package-dir = "src" + +[tool.pdm.resolution] +respect-source-order = true + +[[tool.pdm.source]] +name = "private" +url = "http://localhost:8001/simple" +verify_ssl = false + +[[tool.pdm.source]] +name = "pypi" +url = "https://pypi.org/simple" +exclude_packages = ["lang-main*", "tom-plugin*"] + +# [tool.pdm.dev-dependencies] +# notebooks = [ +# "jupyterlab>=4.2.0", +# "ipywidgets>=8.1.2", +# ] +# Alph relies on Pygraphviz which again relies on Graphviz, to sucessfully build +# Pygraphviz the MSVC toolchain should be installed on the target system if it is Windows +# (Linux not tested yet). The compiler needs additional information about the location of Graphviz +# files. This information is provided by extra options. +# --config-setting="--global-option=build_ext" --config-setting="--global-option=-IC:\Program Files\Graphviz\include" --config-setting="--global-option=-LC:\Program Files\Graphviz\lib" +