📦 make it pip-installable
This commit is contained in:
parent
95f331199b
commit
1f3f6669ef
4 changed files with 18 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
/build/
|
||||
*.egg-info/
|
|
@ -7,6 +7,12 @@ drive-download scanbot
|
|||
|
||||
The script only downloads files it hasn't seen before.
|
||||
|
||||
## Installation
|
||||
Preferably in a Python virtualenv:
|
||||
```
|
||||
pip install ~/path/to/drive-download/
|
||||
```
|
||||
|
||||
## Configuring
|
||||
1. Get Google Drive API id and secret from the Google API console.
|
||||
2. Create and edit `.config/drive-download/settings.yaml`:
|
||||
|
|
10
pyproject.toml
Normal file
10
pyproject.toml
Normal file
|
@ -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…
Add table
Add a link
Reference in a new issue