diff options
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | Pipfile | 1 | ||||
-rw-r--r-- | Pipfile.lock | 10 | ||||
-rw-r--r-- | setup.py | 2 |
4 files changed, 18 insertions, 2 deletions
@@ -25,6 +25,13 @@ fmt: ## Apply import sorting and yapf source formatting on all files dist: ## Create source distribution and wheel python setup.py sdist bdist_wheel +# https://engineering.fb.com/2018/07/13/data-infrastructure/xars-a-more-efficient-open-source-system-for-self-contained-executables/ +# +# Required a build from source https://github.com/vasi/squashfuse, to get the squashfuse_ll (low level) executable. +.PHONY: xar +xar: ## Create a XAR standalone package (https://github.com/facebookincubator/xar, https://github.com/vasi/squashfuse) + python setup.py bdist_xar + .PHONY: cov cov: ## Run coverage report pytest --cov=fuzzycat fuzzycat/*.py tests/ # --cov-report annotate:cov_annotate --cov-report html @@ -12,6 +12,7 @@ pytest = "*" pytest-cov = "*" twine = "*" yapf = "*" +xar = "*" [packages] ftfy = "*" diff --git a/Pipfile.lock b/Pipfile.lock index fa27794..4ff1c53 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "56fbe6c09a58e674df0be1cbfff07b524ae2d8322573af522416b10b57a97d0e" + "sha256": "7ec5c05a87af980633df5c5f2a36b29ec2e0aa031b278d9c241dcb675447f35f" }, "pipfile-spec": 6, "requires": { @@ -881,6 +881,14 @@ ], "version": "==1.12.1" }, + "xar": { + "hashes": [ + "sha256:15ebd62a2e885bf833f1ff60455e4f0de7d237359daf8617e459da5b09016757", + "sha256:175d063081f82d7828743f45537e15515d935128690351083bfbc277484f5944" + ], + "index": "pypi", + "version": "==20.12.2" + }, "yapf": { "hashes": [ "sha256:3000abee4c28daebad55da6c85f3cd07b8062ce48e2e9943c8da1b9667d48427", @@ -23,7 +23,7 @@ with open("README.md", "r") as fh: python_requires=">=3.5", zip_safe=False, entry_points={"console_scripts": [ - "fuzzycat=fuzzycat.main:main" + "fuzzycat=fuzzycat" ]}, install_requires=[ "elasticsearch", |