Skip to content

Commit

Permalink
0.5.9
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuminjie committed Nov 21, 2019
1 parent 976e07a commit 5b84e0b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
Empty file.
2 changes: 1 addition & 1 deletion openseespy/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "0.5.8"
version = "0.5.9"
17 changes: 17 additions & 0 deletions packaging.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import subprocess


print('updating setuptools, wheel twine...')
subprocess.run(['python3.7', '-m', 'pip', 'install', '--upgrade', 'setuptools', 'wheel', 'twine'])

print('removing build/ dist/ openseespy.egg-info/')
subprocess.run(['rm', '-fr', 'build', 'dist', 'openseespy.egg-info'])

print('generating package ...')
subprocess.run(['python3.7', 'setup.py', 'bdist_wheel'])

print('wheel generated:')
subprocess.run(['ls', 'dist'])

print('uploading to pip ...')
subprocess.run(['python3.7', '-m', 'twine', 'upload', 'dist/*'])

0 comments on commit 5b84e0b

Please sign in to comment.