38 lines
720 B
Markdown
38 lines
720 B
Markdown
# unique
|
|
|
|
A utility that appends a suffix to files and folders to ensure name uniqueness.
|
|
|
|
## Building from source
|
|
|
|
### 1. Virtual Environment
|
|
|
|
Create a virtual environment for Python, and activate the same.
|
|
|
|
```sh
|
|
python3 -m venv .venv
|
|
|
|
source .venv/bin/activate
|
|
```
|
|
|
|
### 2. Resolve Dependencies
|
|
|
|
Unique has a dependency on Scott: a framework to create scoped task-oriented terminal tools. To resolve this, run:
|
|
|
|
```sh
|
|
pip install "git+https://rprime.indroneel.co/termhole/scott.git"
|
|
```
|
|
|
|
For older versions of Python, Unique has a dependency on a backported UUID library:
|
|
|
|
```sh
|
|
pip install uuid6
|
|
```
|
|
|
|
### 3. Installing the Application
|
|
|
|
To install `unique` in the virtual environment, run:
|
|
|
|
```sh
|
|
pip install -e .
|
|
```
|