From 7cb88a6a5b899079045ce1801b6acc7a4791abb2 Mon Sep 17 00:00:00 2001 From: Alkid Date: Fri, 8 Dec 2023 15:37:34 +0100 Subject: [PATCH] Removed unnecessary files --- .mailmap | 1 - MANIFEST.in | 11 --------- environment.yml | 47 ----------------------------------- setup.cfg | 65 ------------------------------------------------- tox.ini | 55 ----------------------------------------- 5 files changed, 179 deletions(-) delete mode 100644 .mailmap delete mode 100644 MANIFEST.in delete mode 100644 environment.yml delete mode 100644 setup.cfg delete mode 100644 tox.ini diff --git a/.mailmap b/.mailmap deleted file mode 100644 index a9e96e92..00000000 --- a/.mailmap +++ /dev/null @@ -1 +0,0 @@ -Caglar Demir diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 9312c357..00000000 --- a/MANIFEST.in +++ /dev/null @@ -1,11 +0,0 @@ -include LICENSE -include tox.ini -include *.conf -recursive-include KGs *.owl -recursive-include KGs *.ttl -recursive-include examples *.py -recursive-include examples *.json -recursive-include examples *.conf -recursive-include tests *.py -prune *.egg-info -prune .tox diff --git a/environment.yml b/environment.yml deleted file mode 100644 index d06b459e..00000000 --- a/environment.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: ontolearn -channels: - - defaults - - conda-forge - - pytorch -dependencies: - - python=3.9.18 - - matplotlib=3.3.4 - - pandas=1.2.3 - - pytorch=1.8.0 - - rdflib=6.0.2 - - scikit-learn=1.0.2 - - sortedcontainers=2.4.0 - - flask=1.1.2 - - deap=1.3.1 - - httpx=0.21.1 - - parsimonious=0.8.1 - - tqdm=4.64.0 - # testing - - tox=3.24.3 - - tox-conda=0.8.3 - - pytest=6.2.4 - - pytest-codeblocks=0.11.2 - # linting - - flake8=3.9.2 - # docs - - sphinx=4.0.2 - - sphinx_rtd_theme=0.5.1 - - myst-parser==0.15.2 - # # building - - build=0.6.0 - # PIP - - pip=21.0.1 - - pip: - - dicee==0.1.2 - - owlready2==0.40 - - owlapy==0.1.0 - - tokenizers==0.12.1 - - transformers==4.19.2 - # testing - - tox-run-before==0.1 - # docs - - sphinxext-autox==0.0.2 - - sphinx-theme==1.0 - - sphinxcontrib-plantuml==0.21 - - plantuml-local-client==1.2021.10 - - jinja2==3.1.2 diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 01f5a4e7..00000000 --- a/setup.cfg +++ /dev/null @@ -1,65 +0,0 @@ -[metadata] -name = ontolearn -version = attr: ontolearn.__version__ -description = Ontolearn is an open-source software library for structured machine learning in Python. Ontolearn includes modules for processing knowledge bases, inductive logic programming and ontology engineering. -author = Ontolearn team -author_email = onto-learn@lists.uni-paderborn.de -long_description = file: README.md -long_description_content_type = text/markdown -classifiers = - Programming Language :: Python :: 3.8 - License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+) - Topic :: Scientific/Engineering :: Artificial Intelligence - -[options] -python_requires = >=3.8 -include_package_data = True -packages = find: -scripts = - ontolearn/endpoint/simple_drill_endpoint -install_requires = - typing_extensions; python_version < "3.7" - scikit-learn>=0.24.1 - matplotlib>=3.3.4 - owlready2>=0.40 - torch>=1.7.1 - rdflib>=6.0.2 - pandas>=1.5.0 - sortedcontainers>=2.4.0 - flask>=1.1.2 - deap>=1.3.1 - httpx>=0.21.1 - parsimonious>=0.8.1 - tqdm>=4.64.0 - tokenizers>=0.12.1 - transformers>=4.19.2 - dicee>=0.1.2 - -[options.extras_require] -test = - pytest>=6.2.4 - pytest-codeblocks>=0.11.2 - tox>=3.24.3 - tox-run-before>=0.1 -docs = - sphinx>=4.0.2 - sphinxext-autox>=0.0.2 - sphinx-theme>=1.0 - sphinx-rtd-theme>=0.5.1 - sphinxcontrib-plantuml>=0.21 - plantuml-local-client>=1.2021.10 - myst-parser>=0.15.2 -lint = - flake8>=3.9.2 -dev = - build>=0.6.0 - %(test)s - %(docs)s - -[options.packages.find] -exclude = - tests - examples - -[options.package_data] -* = *.pyi, py.typed diff --git a/tox.ini b/tox.ini deleted file mode 100644 index 147f6c08..00000000 --- a/tox.ini +++ /dev/null @@ -1,55 +0,0 @@ -[flake8] -max-line-length = 120 - -[tox] -isolated_build = True -# investigate: higher versions of tox-conda break the build -requires = tox-conda==0.9.2 - tox-run-before -envlist = - # py37 - py38 - -[testenv] -conda_env = environment.yml -conda_install_args= - --override-channels -extras = test -description = test Ontolearn -run_before = - ./big_gitext/download_big.sh KGs/Mutagenesis/mutagenesis.owl -commands = - pytest --continue-on-collection-errors --codeblocks {posargs} --ignore=./docs/usage - -[testenv:build] -extras = dev -description = build Ontolearn package -commands = - python -m build - -[testenv:clean] -skip_install = True -description = delete the built package -commands = - python -c 'from shutil import rmtree; rmtree("build", True); rmtree("dist", True)' - -[testenv:docs-clean] -skip_install = True -description = delete the built docs -commands = - python -c 'from shutil import rmtree; rmtree("docs/_build", True);' - -[testenv:docs] -extras = docs -description = build Ontolearn docs -commands = - sphinx-build -M {posargs:html} docs/ docs/_build/ -commands_post = - python -c 'print("documentation can be found in file://{toxinidir}/docs/_build/")' - -[testenv:lint] -extras = lint -skip_install = True -description = lint the source code with flake8 -commands = - flake8 . {posargs}