-
Notifications
You must be signed in to change notification settings - Fork 9
Dev environment setup #139
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
Changes from all commits
e05592f
564cb8a
7c24845
347db71
a30b716
c9008db
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
conda install numpy | ||
conda install pandas | ||
conda install matplotlib | ||
conda install -c conda-forge obspy | ||
conda install -c conda-forge fsspec | ||
conda install black | ||
conda install -c conda-forge check-manifest | ||
conda install flake8 | ||
conda install -c conda-forge isort | ||
conda install numpydoc | ||
conda install -c conda-forge pre_commit | ||
conda install -c conda-forge pylint | ||
python ooipy/setup.py | ||
conda develop ooipy | ||
python ooipy/verify_setup.py |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also, could we change name lines for creating the environment to have the environment name be ooipy_dev?
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @John-Ragland for now I assumed that the environment is already created, then the user clones the repo and then runs the bash script. If we want to give in environment creation instructions ourselves, the documentation will have to be changed, so the new order would be:
If this logic makes sense, I can make the changes, should be easily doable |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import ooipy | ||
|
||
print("PATH TO OOIPY INSTALLATION") | ||
print(ooipy.__file__) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could probably run verify_setup.py within the bash script.
And it might even be possible to check if the python path is the local directory within the python script, and then just print something like
'Development environment installation successful'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@anishdixit-uw, would you be able to add these changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@John-Ragland verify_setup.py already runs from within the bash script.
And it does print out the path of OOIPY installation, so is that what you are saying here or something different?