-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
version 0.1.1 (automatically detects plaftforms and python versions)
- Loading branch information
Showing
9 changed files
with
46 additions
and
12 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# version | ||
from openseespy.version import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import sys | ||
|
||
# only work for 64 bit system | ||
if sys.maxsize < 2**31: | ||
raise RuntimeError('64 bit system is required') | ||
|
||
# python 3.6 is required | ||
if sys.version_info[0] < 3: | ||
raise RuntimeError('Python version >= 3.6 is required') | ||
|
||
if sys.version_info[1] < 6: | ||
raise RuntimeError('Python version >= 3.6 is required') | ||
|
||
# platform dependent | ||
if sys.platform.startswith('linux'): | ||
|
||
from openseespy.opensees.linux.opensees import * | ||
|
||
elif sys.platform.startswith('win'): | ||
|
||
if sys.version_info[1] == 6: | ||
|
||
from openseespy.opensees.winpy36.opensees import * | ||
|
||
else: | ||
|
||
from openseespy.opensees.winpy37.opensees import * | ||
|
||
elif sys.platform.startswith('darwin'): | ||
|
||
raise RuntimeError('Mac OS X is not supported yet') | ||
|
||
|
||
else: | ||
|
||
raise RuntimeError(sys.platform+' is not supported yet') | ||
|
||
|
File renamed without changes.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version_num = "0.0.7" | ||
version = "0.1.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters