Skip to content

Commit

Permalink
Make sure we can build the single binary from within poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
mildbyte committed Nov 22, 2018
1 parent 97f3553 commit 052d7fe
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 4 deletions.
59 changes: 58 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Expand Up @@ -21,10 +21,11 @@ pyfakefs = "^3.5"
pytest-cov = "^2.6"
pytest-env = "^0.6"
coveralls = "^1.5"
pyinstaller = "^3.4"

[tool.poetry.scripts]
sgr = "splitgraph.commandline:cli"

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
build-backend = "poetry.masonry.api"
6 changes: 4 additions & 2 deletions splitgraph.spec
@@ -1,6 +1,8 @@
# -*- mode: python -*-
# Running: pyinstaller -F splitgraph.spec produces a single sgr binary in the dist/ folder
# with libc being the only dynamic dependency (python interpreter included)
# Running:
# * pyinstaller -F splitgraph.spec produces a single sgr binary in the dist/ folder
# with libc being the only dynamic dependency (python interpreter included)
# * can also do poetry install && poetry run -F splitgraph.spec to build the binary inside of the poetry's venv.

block_cipher = None

Expand Down

0 comments on commit 052d7fe

Please sign in to comment.