Updated tar distribution command
This commit is contained in:
parent
58e456a33b
commit
fb51930cc4
2 changed files with 81 additions and 3 deletions
79
.tarignore
Normal file
79
.tarignore
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
Distribution archive rules
|
||||
node_modules
|
||||
.gitlab-ci.yml
|
||||
./dist
|
||||
!openflexure_microscope/api/static/dist
|
||||
|
||||
# Pyenv files
|
||||
.python-version
|
||||
.venv*
|
||||
.env*
|
||||
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__
|
||||
*.py[cod]
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
||||
# Distribution / packaging
|
||||
.Pytho
|
||||
env/
|
||||
build
|
||||
develop-eggs
|
||||
downloads
|
||||
eggs
|
||||
lib
|
||||
lib64
|
||||
parts
|
||||
sdist
|
||||
var
|
||||
*.egg-info
|
||||
.installed.cfg
|
||||
*.egg
|
||||
pip-wheel-metadata
|
||||
|
||||
# PyInstaller
|
||||
# Usually these files are written by a python script from a template
|
||||
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
||||
*.manifest
|
||||
*.spec
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
pip-delete-this-directory.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
htmlcov
|
||||
.tox
|
||||
.coverage
|
||||
.cache
|
||||
nosetests.xml
|
||||
coverage.xml
|
||||
|
||||
# Translations
|
||||
*.mo
|
||||
*.pot
|
||||
|
||||
# Django stuff:
|
||||
*.log
|
||||
|
||||
# Sphinx documentation
|
||||
docs/_build
|
||||
|
||||
# PyBuilder
|
||||
target
|
||||
|
||||
#Big-o files
|
||||
capture
|
||||
record
|
||||
*.data
|
||||
|
||||
#IDE files
|
||||
.vscode
|
||||
.idea
|
||||
activate
|
||||
|
||||
# UML diagrams
|
||||
classes.png
|
||||
packages.png
|
||||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue