Update list of dependencies required

`click` and `python-bugzilla` also need to be installed

Also add a `Pipfile` with these requirements added, since the
`README.md` recommends using `pipenv shell` and that is the preferred
dependency format over `requirements.txt`, and add `Pipfile.lock` and
`__pycache__` to `.gitignore`.

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
This commit is contained in:
Michel Alexandre Salim 2023-07-31 10:58:46 -05:00
commit 166e649095
No known key found for this signature in database
GPG key ID: 8B229D2F7CCC04F2
3 changed files with 14 additions and 2 deletions

2
.gitignore vendored
View file

@ -1 +1,3 @@
Pipfile.lock
__pycache__/
*.log

10
Pipfile Normal file
View file

@ -0,0 +1,10 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
click = "*"
fasjson-client = "*"
python-bugzilla = "*"

View file

@ -26,7 +26,7 @@ Use the '--privacy' flag to not print emails in the log.
To run the script you'll need:
- fasjson_client to be installed
- click, fasjson_client, and python-bugzilla to be installed
- an active kerberos ticket to login to fasjson.fedoraproject.org
- a bugzilla API key for bugzilla.redhat.com in your ~/.bugzillarc config file
@ -38,7 +38,7 @@ open and manage an issue ticket for each detected inactive packager.
```
$ pipenv shell
...
$ pip install fasjson-client
$ pipenv install
...
$ sudo dnf install fedora-packager-kerberos
...