Nothing Special   »   [go: up one dir, main page]

Skip to content

Stitching together all the tools that organize my life to maximize personal capacity and free my mind.

Notifications You must be signed in to change notification settings

chisaipete/flow

Repository files navigation

flow

Stitching together all the tools that organize my life to maximize personal capacity and free my mind.

setup

  • Have Python 3.3.* as default version on OS (python)
  • At base of repository run:
    • python -m venv venv
    • Activate your venv: . ./venv/bin/activate
    • pip install --upgrade pip
    • pip install -r requirements.txt
  • Use the following shebang: #!/usr/bin/env python
  • Before running any script, activate your venv: ./venv/bin/activate
  • Before releasing, use pip freeze > requirements.txt
    • remove pkg-resources line from requirements.txt
  • To run tests: python -m unittest discover
  • To run tests with coverage: coverage run -m unittest discover
  • To generate coverage report: coverage html --omit="*/venv*"
  • View report by opening: ./htmlcov/index.html
  • You'll need to provide credentials for each piece of the flow to work
    • Oauth tokens will be used for most authetication
  • These credentials should be stored in *.cred files in the credentials directory
  • At work, you'll need to set http_proxy=http://... and set https_proxy=http://... to punch through that proxy
  • Also, in a Windows terminal, you may encounter issues when echoing unicode characters for debug purposes, so execute the following: chcp 65001

Now all scripts should reference the version of python in that venv, install all additional libs from that path

Sublime Text libraries will need to be installed in the plugin itself, which should only be done when development is complete. Maybe we can trick sublime with links in the meantime?

I'll have to write a python package for vyte_in, it's too new to have one exist already.

Need to make todo.txt manipulation atomic, to avoid clearing it accidentally!

attribution

useful

About

Stitching together all the tools that organize my life to maximize personal capacity and free my mind.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published