forked from beancount/beangrow
-
Notifications
You must be signed in to change notification settings - Fork 0
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 beancount#28 from francocalvo/modified-dietz-returns
Modified dietz returns
- Loading branch information
Showing
14 changed files
with
7,818 additions
and
312 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,21 @@ | ||
#!/usr/bin/env bash | ||
|
||
use flake | ||
|
||
# Add venv bin to PATH so development tools can be invoked more easily | ||
PATH_add .venv/bin | ||
|
||
# Add src to PYTHONPATH so Python and tools can find imports correctly | ||
path_add PYTHONPATH src | ||
|
||
# Add venv site packages to PYTHONPATH so imports work | ||
path_add PYTHONPATH ".venv/$NIX_PYTHON_SITE_PACKAGES" | ||
|
||
# Make pip use the venv (useful for ad-hoc temporary package installation) | ||
PIP_PREFIX="$(expand_path .)/.venv" | ||
export PIP_PREFIX | ||
export PIP_IGNORE_INSTALLED=1 | ||
|
||
# These are annoying so stuff them all in one place | ||
PYTHONPYCACHEPREFIX="$(expand_path .)/.pycache" | ||
export PYTHONPYCACHEPREFIX |
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,3 +1,14 @@ | ||
build | ||
__pycache__ | ||
*.egg-info | ||
# Python artifacts | ||
/.coverage | ||
/.pycache | ||
/.pytest_cache | ||
/.venv | ||
/dist | ||
/build | ||
/*.egg-info | ||
|
||
# Direnv cache | ||
/.direnv | ||
|
||
# Nix artifacts | ||
/result |
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.