Skip to content

Python package for coding dojo data science students and faculty

Notifications You must be signed in to change notification settings

jirvingphd/cdds

Repository files navigation

cdds

  • Deployment Installations (mac) [source]:

    • python3 -m pip install --upgrade pip
    • python3 -m pip install --upgrade build
    • python3 -m pip install --upgrade twine
    • python3 -m pip install --upgrade bump2version
  • Deployment workflow:

    1. generate docs with python docs/conf.py (optional)
    2. Commit all changes.
    3. Increase version # with bump2version bump2version patch or bump2version minor
    4. Build distribution archives: python -m build
    5. A) Upload to twine: twine upload dist/* [only if using general full-account credentials]
    6. B) Upload to twine with an API token:
      • Use the --repository flag with the "server" name from $HOME/.pypirc
      • twine upload --repository cdds dist/*
  • [11/28/22 Update] Using project-based API token for upload

pip install --upgrade bump2version
pip install --upgrade pip
pip install --upgrade build
pip install --upgrade twine
bump2version patch #or minor/major

After install and bump2version, can run this block:

python -m build 
twine upload --repository cdds dist/*

About

Python package for coding dojo data science students and faculty

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published