-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from scossu/development
Alpha 13.
- Loading branch information
Showing
43 changed files
with
504 additions
and
242 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# What Changed In This Release | ||
|
||
[High-level, colloquial summary of changes—mandatory] | ||
|
||
## New Features | ||
|
||
- | ||
|
||
## Enhancements | ||
|
||
- | ||
|
||
## Bug Fixes | ||
|
||
- | ||
|
||
## Other Changes | ||
|
||
- | ||
|
||
## Notes & Caveats | ||
|
||
- | ||
|
||
## Acknowledgments |
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 |
---|---|---|
|
@@ -104,5 +104,4 @@ venv.bak/ | |
.mypy_cache/ | ||
|
||
# Default LAKEsuperior data directories | ||
data/ldpnr_store | ||
data/ldprs_store | ||
/data |
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 |
---|---|---|
|
@@ -15,5 +15,6 @@ deploy: | |
on: | ||
tags: true | ||
branch: master | ||
python: "3.5" | ||
distributions: "bdist_wheel" | ||
|
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,4 +1,5 @@ | ||
include README.rst | ||
include LICENSE | ||
graft lakesuperior/data/bootstrap | ||
graft lakesuperior/endpoints/templates | ||
graft lakesuperior/etc.defaults |
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 @@ | ||
1.0.0a13 |
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
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
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
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
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
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
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,49 @@ | ||
import threading | ||
|
||
from os import path | ||
|
||
basedir = path.dirname(path.realpath(__file__)) | ||
""" | ||
Base directory for the module. | ||
This can be used by modules looking for configuration and data files to be | ||
referenced or copied with a known path relative to the package root. | ||
:rtype: str | ||
""" | ||
|
||
class Env: | ||
pass | ||
|
||
env = Env() | ||
""" | ||
A pox on "globals are evil". | ||
All-purpose bucket for storing global variables. Different environments | ||
(e.g. webapp, test suite) put the appropriate value in it. | ||
The most important values to be stored are app_conf (either from | ||
lakesuperior.config_parser.config or lakesuperior.config_parser.test_config) | ||
and app_globals (obtained by an instance of lakesuperior.globals.AppGlobals). | ||
e.g.:: | ||
>>> from lakesuperior.config_parser import config | ||
>>> from lakesuperior.globals import AppGlobals | ||
>>> from lakesuperior import env | ||
>>> env.app_globals = AppGlobals(config) | ||
This is automated in non-test environments by importing | ||
`lakesuperior.env_setup`. | ||
:rtype: Object | ||
""" | ||
|
||
thread_env = threading.local() | ||
""" | ||
Thread-local environment. | ||
This is used to store thread-specific variables such as start/end request | ||
timestamps. | ||
:rtype: threading.local | ||
""" |
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
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
Oops, something went wrong.