Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pyiron
Potentials Workshop 2021
Commits
64d32e26
Unverified
Commit
64d32e26
authored
Mar 09, 2021
by
Jan Janssen
Committed by
GitHub
Mar 09, 2021
Browse files
Merge pull request #58 from pyiron/pyironconfig
Place database inside resources
parents
e0c020d9
22fd29a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
.ci_support/pyironconfig.py
View file @
64d32e26
...
...
@@ -10,7 +10,9 @@ def main():
with
open
(
pyiron_config
,
'w'
)
as
f
:
f
.
writelines
([
'[DEFAULT]
\n
'
,
'TOP_LEVEL_DIRS = '
+
top_level_path
+
'
\n
'
,
'RESOURCE_PATHS = '
+
resource_path
+
'
\n
'
])
'RESOURCE_PATHS = '
+
resource_path
+
'
\n
'
,
'DATABASE_FILE = '
+
resource_path
+
'/pyiron.db
\n
'
,
])
else
:
print
(
'config exists'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment