Skip to content

Commit

Permalink
5.12
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuminjie committed Jan 16, 2020
1 parent fe4d41a commit 881b2c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions build_pip.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@
if i < 0 or j < 0 or i >= j:
continue

if line[i:j].find('fortran') > 0:
if line[i:j].find('fortran') > 0 or line[i:j].find('blas') > 0:
print('copying '+line[i:j]+' ....')
shutil.copy(line[i:j], linux+'lib/')

# clean folders
subprocess.run(['rm', '-fr', 'build', 'dist', 'openseespy.egg-info'])

# update tools
subprocess.run(['/data2/Minjie/bin/anaconda3/bin/python3.7', '-m', 'pip', 'install', '--upgrade', 'setuptools', 'wheel', 'twine'])
subprocess.run(['/scratch/bin/anaconda3/bin/python3.7', '-m', 'pip', 'install', '--upgrade', 'setuptools', 'wheel', 'twine'])

# compile wheel
subprocess.run(['/data2/Minjie/bin/anaconda3/bin/python3.7', 'setup.py', 'bdist_wheel'])
subprocess.run(['/scratch/bin/anaconda3/bin/python3.7', 'setup.py', 'bdist_wheel'])

# test
sys.path.append('openseespy/opensees/linux')
Expand Down Expand Up @@ -74,5 +74,5 @@
print("================================================================")

# upload
subprocess.run(['/data2/Minjie/bin/anaconda3/bin/python3.7', '-m', 'twine', 'upload', 'dist/*'])
subprocess.run(['/scratch/bin/anaconda3/bin/python3.7', '-m', 'twine', 'upload', 'dist/*'])

2 changes: 1 addition & 1 deletion openseespy/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "3.1.5.11"
version = "3.1.5.12"

0 comments on commit 881b2c2

Please sign in to comment.