Skip to main content

Utility and helper functions for common Properly operations in python.

Project description

properly-util-python

Quick Run

  1. Make your changes to the code
  2. Increase the version in setup.py
  3. source deploy.sh
  4. deploy.sh "<your_commit_message>" <version>

Uploading the Package

Make sure you have the latest versions of setuptools and wheel installed:

python3 -m pip install --user --upgrade setuptools wheel

You’ll need to install Twine:

python3 -m pip install --user --upgrade twine

Build dist/

python3 setup.py sdist bdist_wheel

Upload to pypi.org twine upload dist/*

Source: https://packaging.python.org/tutorials/packaging-projects/

Installing the Package

pip install properly-util-python or

pip install --no-cache-dir --upgrade properly-util-python

Resources

see:https://stackoverflow.com/questions/15268953/how-to-install-python-package-from-github#comment37317873_15268990

Based on this tutorial: http://greenash.net.au/thoughts/2015/06/splitting-a-python-codebase-into-dependencies-for-fun-and-profit/

Currently we are hosting our package in Git since it is quick and easy to set up. However, that has a number of disadvantages, the most visible disadvantage being that pip install will run much slower, because it has to do a git pull every time you ask it to check that foodutils is installed (even if you specify the same commit / tag each time). http://carljm.github.io/tamingdeps/#33

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

properly_util_python-0.4.1.tar.gz (7.9 kB view hashes)

Uploaded Source

Built Distribution

properly_util_python-0.4.1-py3-none-any.whl (10.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page