Constants for use across MIT Outing Club infrastructure
Project description
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
, andmake 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
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
mitoc_const-0.5.0.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for mitoc_const-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c11e66caad1f26307db8a3962d56bc9b4b27106c6a260fc56733adaa5852b79 |
|
MD5 | 1b708569114abdb31b3e3f1b27b8601a |
|
BLAKE2b-256 | 1167486600460181d34da6d4636aac069d614f02c79943e93c7968ee974205b9 |