Updated tar distribution command

This commit is contained in:
Joel Collins 2020-05-16 21:26:20 +01:00
parent 58e456a33b
commit fb51930cc4
2 changed files with 81 additions and 3 deletions

View file

@ -15,9 +15,8 @@ This includes installing the server in a mode better suited for active developme
* `poetry run build_static`
### Distributing
* `poetry run build`
* `poetry export --without-hashes -f requirements.txt > dist/requirements.txt`
* Distribution files will then be in `/dist`
* `mkdir -p dist`
* `tar -c --exclude-vcs --exclude-from .tarignore -vzf dist/openflexure-microscope-server.tar.gz .`
## Build-system
As of 1.0.0b0, we're using [Poetry](https://github.com/sdispater/poetry) to manage dependencies, build, and distribute the package. All package information and dependencies are found in `pyproject.toml`, in line with [PEP 518](https://www.python.org/dev/peps/pep-0518/). If you're developing this package, make use of `poetry.lock` to ensure you're using the latest locked dependency list.