-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
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
Remove context.py #257
Comments
I've gained some more experience with this. The setuptools option works very well. These are the required steps:
|
P.S. Depending on setuptools is not a big deal. It is omnipresent these days, e.g installed when you have pip. |
A potential drawback is that nosetests does not find the tests when the package is installed as an Egg. The egg can be disabled in |
Our
context.py
is currently our approach to locate installed data files (test data files, basis sets, ...), which we install nicely in the FHS-designated$PREFIX/share
directory. (See http://www.pathname.com/fhs/) This has a few problems though:context.py
(if the package has data files)..egg
installations.There are a few alternatives:
context.py
: use__file__
to locate data files.The text was updated successfully, but these errors were encountered: