Skip to content

Latest commit

 

History

History
36 lines (32 loc) · 1.14 KB

HOWTO.md

File metadata and controls

36 lines (32 loc) · 1.14 KB

resources

publish

how to package
create test package
create real package

how to create subpackages (mdl) that can install into main package (mdl)

steps

  • create/update requirements.txt pipreqs --encoding=iso-8859-1 --debug --force --savepath=requirements.txt imhr/
  • upload to github git push https://github.com/risoms/mdl-R33.git
  • update version versioneer install
  • create package using setup.py python setup.py sdist
  • pypi
    • upload package to test pypi python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
    • install test package pip install --index-url https://test.pypi.org/simple/ --no-deps --upgrade --force-reinstall imhr
    • upload package to real pypi python -m twine upload dist/*
    • install test package pip install imhr