-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnotes.py
28 lines (21 loc) · 886 Bytes
/
notes.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# for uploading to PyPi
# To build
# python setup.py sdist bdist_wheel
# to upload
# twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
# https://www.awc.org/pdf/codes-standards/publications/design-aids/AWC-DA6-BeamFormulas-0710.pdf
# =============================================================================
# for running pytest coverage report
# py.test --cov-report html --cov femethods
# htmlcov\index.html
# or,
# pytest --cov-report html --cov=femethods tests\femethods\
# =============================================================================
# Creating an annotated git tag
# git tag -a v0.1.6dev -m "v0.1.6dev"
# And when pushing, tags are not automatically included. To include tags, run
# git push origin --tags
# =============================================================================
# Building documentation
# cd docs
# make html