Pickora icon indicating copy to clipboard operation
Pickora copied to clipboard

Set up build tools and install cli

Open is3ka1 opened this issue 4 years ago • 0 comments

❯ pip install git+https://github.com/Isekai-Seikatsu/Pickora.git

Collecting git+https://github.com/Isekai-Seikatsu/Pickora.git
  Cloning https://github.com/Isekai-Seikatsu/Pickora.git to /private/var/folders/0q/b68c14rn36348fhlpch14k480000gn/T/pip-req-build-5p65sbhx
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Building wheels for collected packages: pickora
  Building wheel for pickora (PEP 517) ... done
  Created wheel for pickora: filename=pickora-0.1.0-py3-none-any.whl size=7299 sha256=fe84e54c46df83996c719da61e7ff3153a73bd509e094cc6d29d0cb410b82b09
  Stored in directory: /private/var/folders/0q/b68c14rn36348fhlpch14k480000gn/T/pip-ephem-wheel-cache-rjayxz93/wheels/d5/fe/12/9fc154eb00eeeb349ba0ecb3cb5e9332942d8c5778920b7712
Successfully built pickora
Installing collected packages: pickora
Successfully installed pickora-0.1.0

❯ pickora -h

usage: pickora [-h] [-d] [-r] [-l {none,python,pickle}] [-o OUTPUT] file

A toy compiler that can convert Python scripts to pickle bytecode.

positional arguments:
  file                  the Python script to compile

optional arguments:
  -h, --help            show this help message and exit
  -d, --dis             disassamble compiled pickle bytecode
  -r, --eval, --run     run the pickle bytecode
  -l {none,python,pickle}, --lambda {none,python,pickle}
                        choose lambda compiling mode
  -o OUTPUT, --output OUTPUT
                        write compiled pickle to file

Documentation can be found at https://github.com/splitline/Pickora

And If you wish, upload to PyPI and let everyone have fun : ) https://pypi.org/search/?q=pickora

❯ poetry publish --build --username xxx --password xxx

is3ka1 avatar Jul 23 '21 11:07 is3ka1