📦 make it pip-installable

master
neingeist 1 year ago
parent 95f331199b
commit 1f3f6669ef

2
.gitignore vendored

@ -0,0 +1,2 @@
/build/
*.egg-info/

@ -7,6 +7,12 @@ drive-download scanbot
The script only downloads files it hasn't seen before. The script only downloads files it hasn't seen before.
## Installation
Preferably in a Python virtualenv:
```
pip install ~/path/to/drive-download/
```
## Configuring ## Configuring
1. Get Google Drive API id and secret from the Google API console. 1. Get Google Drive API id and secret from the Google API console.
2. Create and edit `.config/drive-download/settings.yaml`: 2. Create and edit `.config/drive-download/settings.yaml`:

@ -0,0 +1,10 @@
[project]
name = "drive-download"
version = "0"
dynamic = ["dependencies"]
[project.scripts]
drive-download = "drive_download:main"
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
Loading…
Cancel
Save