Skip to main content

Constants for use across MIT Outing Club infrastructure

Project description

Build Status PyPI version npm version

MITOC Constants

This is a set of constants for use across MIT Outing Club infrastructure.

MITOC has a number of projects, many of which reference values used in other databases or deployed projects. These projects may be deployed separately, so there's value in having shared values at constants in an external package.

Releasing a new version

It's recommended to keep the Python and TypeScript versions in lock-step. Even if no changes were made in one of the two, it's best to release both at the same time.

pypi/Python

First, augment the version in setup.py. Then:

rm -rf dist/ build/ mitoc_const.egg-info/
pipenv run python setup.py sdist bdist_wheel
pipenv run twine upload dist/*
git push origin master

npm/TypeScript

(Not used yet anywhere, an early prototype)

npm run build
npm publish

TODO:

  • Add a Makefile for this project:
    • make lint, make test, and make check
    • make push
  • Black & isort
  • Run mypy as part of build check
  • Switch to poetry
  • Clean up the (unused) TypeScript package, verify for use
  • Automatically deploy after successful build

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mitoc_const-0.5.0.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

mitoc_const-0.5.0-py3-none-any.whl (4.2 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