-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
169fd74
commit 4b5cafb
Showing
2 changed files
with
8 additions
and
13 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -665,7 +665,7 @@ def fortran_extensionlists(self): | |
NAME = "Assimulo" | ||
AUTHOR = u"C. Winther (Andersson), C. Führer, J. Åkesson, M. Gäfvert" | ||
AUTHOR_EMAIL = "[email protected]" | ||
VERSION = "3.5.0" if version_number_arg == "Default" else version_number_arg | ||
VERSION = "master" if version_number_arg == "Default" else version_number_arg | ||
LICENSE = "LGPL" | ||
URL = "http://www.jmodelica.org/assimulo" | ||
DOWNLOAD_URL = "http://www.jmodelica.org/assimulo" | ||
|
@@ -701,18 +701,12 @@ def fortran_extensionlists(self): | |
together with a C-compiler and a FORTRAN-compiler. | ||
""" | ||
|
||
|
||
version_txt = 'assimulo'+os.path.sep+'version.txt' | ||
#If a revision is found, always write it! | ||
if revision != "unknown" and revision!="": | ||
with open(version_txt, 'w') as f: | ||
f.write(VERSION+'\n') | ||
f.write("r"+revision) | ||
else:# If it does not, check if the file exists and if not, create the file! | ||
if not os.path.isfile(version_txt): | ||
with open(version_txt, 'w') as f: | ||
f.write(VERSION+'\n') | ||
f.write("unknown") | ||
version_txt = os.path.join('assimulo', 'version.txt') | ||
if revision == "": | ||
revision = "unknown" | ||
with open(version_txt, 'w') as f: | ||
f.write(VERSION + '\n') | ||
f.write("r" + revision) | ||
|
||
license_info=[place+os.sep+pck+os.sep+'LICENSE_{}'.format(pck.upper()) | ||
for pck in thirdparty_methods for place in ['thirdparty','lib']] | ||
|
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