File tree Expand file tree Collapse file tree 2 files changed +23
-5
lines changed Expand file tree Collapse file tree 2 files changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -4,17 +4,19 @@ Normalizes Unicode to ASCII equivalents
44
55## Installation
66
7- I would recommend setting up a virtual environment so when you install the requirements it doesn't mess with your system python.
7+ Clone the repository somewhere on your system. You will need to pop up a terminal window to do this.
8+
9+ Then copy and paste the following commands into the command window.
810
911``` bash
1012git clone https://github.com/unixwzrd/UnicodeFix.git
1113cd UnicodeFix
12- python -m venv venv
13- source venv/bin/activate
14- pip install -r requirements.txt
15- chmod +x bin/cleanup-text.py
14+ bash setup.sh
1615```
1716
17+ Setup will create a virtual environment to keep your system python clean.
18+ It will add the items needed to startup the script into your .bashrc
19+
1820## Usage
1921
2022``` bash
@@ -34,6 +36,9 @@ options:
3436python bin/cleanup-text.py < input_file>
3537```
3638
39+ ## Coming SOon
40+ - macSO Shortcut
41+
3742## License
3843Copyright 2025 unixwzrd@unixwzrd.ai
3944
Original file line number Diff line number Diff line change 1+ $! /bin/bash
2+
3+ python -m venv venv
4+ source venv/bin/activate
5+ pip install -r requirements.txt
6+ chmod +x bin/cleanup-text.py
7+
8+ # Add the script to your PATH
9+ if [[ ! " $PATH " =~ " $PWD /bin" ]]; then
10+ echo " adding necessary items for Python script to run"
11+ echo " source $PWD /venv/bin/activate" >> ~ /.bashrc
12+ echo " export PATH=\" $PWD /bin:\$ PATH\" " >> ~ /.bashrc
13+ fi
You can’t perform that action at this time.
0 commit comments