Skip to content

Commit

Permalink
notes, tested v.0.1.0 is working great
Browse files Browse the repository at this point in the history
  • Loading branch information
mahiki committed Mar 19, 2022
1 parent 5ab27e7 commit a469b02
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
9 changes: 5 additions & 4 deletions notes/toobigdatadoc-dev-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* NO: parallel directory path to file form `tooroot`

## TODO
TODO: unit test package
TODO: unit test package. make a trash directory, test `too -h`, `too 42 -h poo`, `too big`. destroy.

## IOYCSWISWYE
* This is working 100% now
Expand All @@ -29,7 +29,7 @@ TODO: unit test package
- [BLUSH-RESPONSE: too topdir](#blush-response-too-topdir)
- [VOIGHT-KAMPFF: PASS regular folder](#voight-kampff-pass-regular-folder)
- [VOIGHT-KAMPFF: PASS git repo folders](#voight-kampff-pass-git-repo-folders)
- [CHEW](#chew)
- [EMPATHY](#empathy)

## INCEP-DATE
```bash
Expand Down Expand Up @@ -133,8 +133,9 @@ Here in bash:
# toodoc
mkdir $HOME/toodoc/iterm-colors
ln -s ../../../toodoc/iterm-colors doc
```

```py
```python
import git

# is it a git repo?
Expand Down Expand Up @@ -317,7 +318,7 @@ done | sort


----------
## CHEW
## EMPATHY
[1]: https://github.com/santiagobasulto/hyper-inspector

[python docs: packaging](https://packaging.python.org/en/latest/tutorials/packaging-projects/)
Expand Down
19 changes: 17 additions & 2 deletions notes/toobigdatadoc-packaging-log.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## desertislandutils.toobigdatadoc package executable
# desertislandutils.toobigdatadoc package executable
OK poetry now is time to shine.

>I am developing python packages with poetry in isolated environment, and distributing executables to my home machine. These are utility programs I use all the time, currently bash. *There is no need to import these modules into other packages.
Expand All @@ -11,6 +11,21 @@ OK poetry now is time to shine.
4. merge to main, initiate CI/CD build on github actions
5. homebrew to install || script to download to ~/bin

- [desertislandutils.toobigdatadoc package executable](#desertislandutilstoobigdatadoc-package-executable)
- [IOYCSWISWYE: TOPLINES](#ioycswiswye-toplines)
- [INCEP-DATE: reconsidering shebang](#incep-date-reconsidering-shebang)
- [INCEP-DATE](#incep-date)
- [**CHEW: how to install executable from a .whl binary?**](#chew-how-to-install-executable-from-a-whl-binary)
- [pipx install wheel to global namespace](#pipx-install-wheel-to-global-namespace)
- [OFF-WORLD: pipx](#off-world-pipx)
- [OFF-WORLD: pyinstall](#off-world-pyinstall)
- [OFF-WORLD: **nuitka**](#off-world-nuitka)
- [EMPATHY](#empathy)

## IOYCSWISWYE: TOPLINES
* no need for `nuitka` binary executables right now, poetry -> homebrew good
* ready to continue migrating the rest of my bash scripts

## INCEP-DATE: reconsidering shebang
* like bash scripts, python single file scripts run on a local interpreter
* but python applications are built within an isolated environment, therefore:
Expand All @@ -32,7 +47,7 @@ l dist/
-rw-r--r-- 1 2.8K Mar 11 20:08 desertislandutils-0.1.0-py3-none-any.whl

```
### **Q: how to install executable from a whl binary?**
### **CHEW: how to install executable from a .whl binary?**
A: with pip

NOTE: pyproject needs following to get right module name:
Expand Down

0 comments on commit a469b02

Please sign in to comment.