Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 483 Bytes

publish.md

File metadata and controls

28 lines (18 loc) · 483 Bytes

Here are Robin Becker's notes on how to publish new versions of athlib:

#modify version
vim athlib/__init__.py docs/source/conf.py js/package.json

#test python & js
python setup.py test
(cd js && npm run build && npm run test)

#remove old wheels
mv dist/*.whl tmp/dists

#build wheels
python setup.py bdist_wheel

#check your pypi creds
cat ~/.pypirc

#do twine uploads
twine upload dist/*.whl


#check npm creds
cat ~/.npmrc

#npm publish
(cd js && npm publish)