Giter VIP home page Giter VIP logo

scriptps's Introduction

Setup

Install brew if not already installed

https://brew.sh/

use brew to install pyenv

brew install pyenv

pyenv requires additional steps to ensure that your shell checks for python in your pyenv directory instead of the default system python. Follow the instructions in the link below, starting at step 2, for whatever shell your machine uses. The Apple silicon machines default to ZSH and not Bash.

https://github.com/pyenv/pyenv#basic-github-checkout

For MacOS users, adding this should work:

alias python='python3'

# pyenv
alias brew='env PATH="${PATH//$(pyenv root)\/shims:/}" brew'
eval "$(pyenv init -)"

In order to successfully build Python on your machine, you will need to install some dependencies needed for the build to succeed:

brew install openssl readline sqlite3 xz zlib

Then, we can build and install Python:

pyenv install 3.9.9

We should update pip, Python's dependency manager:

pip install --upgrade pip

Add the following .zprofile and reload your shell, either by source .zprofile or by opening a new window:

export LDFLAGS="-I/opt/homebrew/opt/openssl/include -L/opt/homebrew/opt/openssl/lib"

Now pull the repo and install it

cd ~
git clone [email protected]:zriddle/scriptps.git
cd scriptps/py-applescript
python setup.py install
cd ..
python setup.py install

CLI Usage

Setup

Setup the config.ini file to point to the right places

scriptps's People

Contributors

zriddle avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.