Make symlinks to your home folder
Project description
make-home-links readme
Simplify your shell setup by making symlinks to your home folder.
It takes a TOML file and creates symlinks from your checkout.
Prerequisites
pipxor justpip3
Installation
One of:
pipx install make-home-linkspip install --user make-home-links
Upgrading:
pipx upgrade make-home-linkspip install --user -U make-home-links
After installation, make-home-links command should become available:
make-home-links --help
make-home-links --version
Development
The project uses hatch behind the scenes.
How to use
# reformat the code
make fmt
# run the cli
hatch run cli
# run the cli version
hatch run cli --version
# run the cli help
hatch run help
hatch run cli --help
# run mypy
hatch run types:check
# run tests
hatch run test
hatch run test -k usual_pytest_flags -m my_marker
# go to the dev shell
hatch shell
# build the distribution
hatch build
Increase version
hatch version <new_version>
Publishing
Test publishing
Create .env.test with contents (when doing first ever release, you will not be able to constrain the token to project -- create one for entire account and then switch to project-based token):
export HATCH_INDEX_USER=__token__
# token from "API tokens" of https://test.pypi.org/manage/account/
export HATCH_INDEX_AUTH=pypi-...
then publish to the testing PyPI:
hatch version <new_version>
source .env.test
hatch publish -r test -y
Publishing to prod
Create .env.prod with contents (when doing first ever release, you will not be able to constrain the token to project -- create one for entire account and then switch to project-based token):
export HATCH_INDEX_USER=__token__
# token from "API tokens" of https://pypi.org/manage/account/
export HATCH_INDEX_AUTH=pypi-...
then publish to the testing PyPI:
# maybe also: hatch version <new_version>
source .env.prod
hatch publish -r main -y
See also hatch publish documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file make_home_links-0.1.0a1.tar.gz.
File metadata
- Download URL: make_home_links-0.1.0a1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.26.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bff9c496b277507db789ce770263b78929e07a76d2bb084e5d916271332bf9c
|
|
| MD5 |
6c7b2066d23bcd99f9f7023c794db7c3
|
|
| BLAKE2b-256 |
8445f6b1f705a83a9d82cd13d985dbafa9a767f4c8f82e5dd870d48e36fe2b8e
|
File details
Details for the file make_home_links-0.1.0a1-py3-none-any.whl.
File metadata
- Download URL: make_home_links-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.26.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ceffe5d0214b0f962a47308b6061981197961b1555b40aa6c922a79f23523e77
|
|
| MD5 |
0366c286e0d61d45a62cecfeb1f2f62b
|
|
| BLAKE2b-256 |
232caddaad60b87e04cf2638245de20b3f0f3ace4ff114e182cae3506ceee34e
|