We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instead of
import os.path as op import shablona as sb data_path = op.join(sb.__path__[0], 'data')
It would be nice to be able to use
import shablona as sb data_dir = sb.data_dir
Some clever use of os.path and __file__ should make this easy enough, but I forget the exact syntax.
os.path
__file__
I think this will also require that users install in editable mode, unless data is copied to site-packages with -e omitted:
site-packages
-e
pip install -e .
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Instead of
It would be nice to be able to use
Some clever use of
os.path
and__file__
should make this easy enough, but I forget the exact syntax.I think this will also require that users install in editable mode, unless data is copied to
site-packages
with-e
omitted:The text was updated successfully, but these errors were encountered: