Skip to content

Commit

Permalink
Fixed README
Browse files Browse the repository at this point in the history
  • Loading branch information
qlrd committed Sep 21, 2024
1 parent 53db60d commit 7eaf2ac
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 44 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ jobs:
list-files: json
filters: |
change:
- '.gitignore'
- '.pylintrc'
- 'TODO.md'
- 'CHANGELOG.md'
- 'LICENSE'
Expand Down
52 changes: 11 additions & 41 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,13 @@ Follow the instructions at [python.org](https://www.python.org/downloads/windows

Before installing `krux-installer` source code, you will need prepare the system:

<details>
<summary>Install `brew` package manager</summary>
#### Install `brew` package manager

```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```

</details>

<details>
<summary>Install latest python</summary>
#### Install latest python

```bash
brew install python
Expand All @@ -76,10 +72,7 @@ and add this line to your `~/.zshrc`:
alias python=python3
```

</details>

<details>
<summary> Ensure openssl have a correct link</summary>
#### Ensure openssl have a correct link

Python's `ssl` module relies on OpenSSL for cryptographic operations.
Ensure that OpenSSL is installed on your system and is compatible with the
Expand All @@ -101,10 +94,8 @@ brew link --force openssl

This ensures that the OpenSSL libraries are available in the expected
locations that Python can find and use.
</details>

<details>
<summary>Patch your zshrc</summary>
#### Patch your zshrc

Library paths on MacOS involves verifying that the environment variables and system
configurationsare correctyly set to find the necessary libraries, such as OpenSSL,
Expand All @@ -124,8 +115,6 @@ OPENSSL_FULL_VERSION=`openssl --version | awk ' { print $2}'`
export DYLD_LIBRARY_PATH="/opt/homebrew/Cellar/openssl@$OPENSSL_MAJOR_VERSION/$OPENSSL_FULL_VERSION/lib:$DYLD_LIBRARY_PATH"
```

</details>

### Install poetry

Make sure you have `poetry` installed:
Expand Down Expand Up @@ -165,35 +154,25 @@ git submodule update --init
Krux-Installer uses `poe` task manager for formatting, linting, tests,
coverage and build.

<details>
<summary>See all available tasks</summary>
### See all available tasks

```bash
poetry run poe
```

</details>

<details>
<summary>Format code</summary>
### Format code

```bash
poetry run poe format
```

</details>

<details>
<summary>Lint</summary>
### Lint

```bash
poetry run poe lint
```

</details>

<details>
<summary>Test and coverage</summary>
### Test and coverage

```bash
poetry run poe test
Expand All @@ -209,28 +188,20 @@ poetry run poe test --no-xvfb
You can see all coverage results opening you browser and type
`file:///<folder>/krux-installer/htmlcov/index.html` (assuming
`folder` is where you placed the `krux-installer` project).
</details>

<details>
<summary>Build for any Linux distribution</summary>
### Build for any Linux distribution

```bash
poetry run poe build-linux
```

</details>

<details>
<summary>Build for MacOS</summary>
### Build for MacOS

```bash
poetry run poe build-macos
```

</details>

<details>
<summary>Build for Windows</summary>
### Build for Windows

```bash
poetry run poe build-win
Expand All @@ -245,4 +216,3 @@ It will export all project in a

To more options see [.ci/create-spec.py](./.ci/create-spec.py) against the PyInstaller
[options](https://pyinstaller.org).
</details>

0 comments on commit 7eaf2ac

Please sign in to comment.