Metadata-Version: 2.1
Name: packit-deploy
Version: 0.0.4
Project-URL: Documentation, https://github.com/mrc-ide/packit-deploy#readme
Project-URL: Issues, https://github.com/mrc-ide/packit-deploy/issues
Project-URL: Source, https://github.com/mrc-ide/packit-deploy
Author-email: Alex Hill <alex.hill@gmail.com>
License-Expression: MIT
License-File: LICENSE.txt
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.7
Requires-Dist: constellation==1.0.0
Requires-Dist: docker
Requires-Dist: docopt
Description-Content-Type: text/markdown

# Packit Deploy

[![PyPI - Version](https://img.shields.io/pypi/v/packit-deploy.svg)](https://pypi.org/project/packit-deploy)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/packit-deploy.svg)](https://pypi.org/project/packit-deploy)

-----

## Dev requirements

1. [Python3 >= 3.7](https://www.python.org/downloads/)
2. [Hatch](https://hatch.pypa.io/latest/install/)

## Test

```console
hatch run test
```

## Build

```console
hatch build
```

## Install from local sources

1. `hatch build`
2. `pip install dist/packit_deploy-{version}.tar.gz`

## Publish to PyPi

Ensure you have built a new version of the package:
1. `hatch clean`
2. `hatch build`

Then publish to the test server:

```console
hatch publish -r test
```

You will be prompted to enter your [test.pypi.org](https://test.pypi.org/legacy/) username and password.
To test the installation, first run Python in a container:

```
docker run --rm -it --entrypoint bash python
```

Then:

```
pip install --index-url https://test.pypi.org/simple packit-deploy
```

## Install from PyPi

```console
pip install packit-deploy
```
