diff --git a/MANIFEST.in b/MANIFEST.in index 4e22875..461c4f1 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,22 +4,8 @@ include CITATION include LICENSE include Makefile include changelog.txt -include dat/*.csv -include dat/*.db -include dat/*.ipynb -include dat/*.json -include dat/*.jsonld -include dat/*.parquet -include dat/*.ttl -include dat/*.yml -include dat/food_com/*.csv -include dat/psl/*.json -include dat/psl/*.txt -include dat/titanic/*.csv include docker-compose.yml include environment.yml -include examples/*.ipynb -include examples/graph_algebra/*.ipynb include kglab/*.py include kglab/query/*.py include pylintrc @@ -28,6 +14,7 @@ include requirements-tut.txt include requirements.txt include sample.py include setup.py +prune dat prune bin prune docker prune docs @@ -35,7 +22,7 @@ prune scripts prune tests prune wip prune .ipynb_checkpoints -prune examples/.ipynb_checkpoints +prune examples exclude codecov.yml exclude lgtm.yml exclude meta.yaml diff --git a/bin/push_pypi.sh b/bin/push_pypi.sh index 16b991a..ed8f58c 100755 --- a/bin/push_pypi.sh +++ b/bin/push_pypi.sh @@ -3,6 +3,6 @@ ## debugging the uploaded README: # pandoc README.md --from markdown --to rst -s -o README.rst -rm -rf dist -python setup.py sdist bdist_wheel +rm -rf dist build kglab.egg-info +python setup.py sdist bdist_wheel -v twine upload --verbose dist/* diff --git a/changelog.txt b/changelog.txt index 5105165..629a2a7 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,9 +1,10 @@ # `kglab` changelog -## 0.6.5 +## 0.6.6 2022-11-23 + * something is not quite right about source distributions... kudos to * update `setuptools` to workaround potential vulnerabilities * create `pyproject.toml` to support upcoming `pip` release * remove tests and other unnecessary files from source distribution diff --git a/kglab/version.py b/kglab/version.py index 3ebe0ea..f14aace 100644 --- a/kglab/version.py +++ b/kglab/version.py @@ -11,7 +11,7 @@ MIN_PY_VERSION: typing.Tuple = (3, 7,) -__version__: str = "0.6.5" +__version__: str = "0.6.6" def _versify ( diff --git a/setup.py b/setup.py index 016dcf8..927eae3 100644 --- a/setup.py +++ b/setup.py @@ -76,9 +76,17 @@ def parse_requirements_file ( long_description_content_type = "text/markdown", python_requires = ">=" + kglab_version._versify(kglab_version.MIN_PY_VERSION), # pylint: disable=W0212 - packages = setuptools.find_packages(exclude=[ "docs", "examples" ]), zip_safe = False, + packages = setuptools.find_packages( + exclude = [ + "dat", + "docs", + "examples", + "scripts", + "tests", + ]), + install_requires = base_packages, extras_require = { "base": base_packages, @@ -114,12 +122,11 @@ def parse_requirements_file ( url = "https://derwen.ai/docs/kgl/", project_urls = { "DOI": "https://doi.org/10.5281/zenodo.6360664", - "Community Survey": "https://forms.gle/FMHgtmxHYWocprMn6", - "Discussion Forum": "https://www.linkedin.com/groups/6725785/", + "Discussions": "https://www.linkedin.com/groups/6725785/", "DockerHub": "https://hub.docker.com/r/derwenai/kglab", - "Hands-on Tutorial": "https://derwen.ai/docs/kgl/tutorial/", - "Issue Tracker": "https://github.com/DerwenAI/kglab/issues", - "Source Code": "https://github.com/DerwenAI/kglab", + "Tutorial": "https://derwen.ai/docs/kgl/tutorial/", + "Issues": "https://github.com/DerwenAI/kglab/issues", + "Source": "https://github.com/DerwenAI/kglab", }, entry_points = {