Skip to content

PIP or Conda installation #10

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

Open
dact221 opened this issue Aug 15, 2022 · 2 comments
Open

PIP or Conda installation #10

dact221 opened this issue Aug 15, 2022 · 2 comments

Comments

@dact221
Copy link

dact221 commented Aug 15, 2022

Dear developers,

I found your code very handy since I am researching on Delft3D modeling for submarine outfalls. In particular, I find the nefis-related functions useful . I work in Python a lot, and it is uncomfortable to install Matlab only to run the vs_trim2nc.m function from OpenEarthTools. I found your repository while looking for a nice way to handle Delft3D .dat files in Python.

It would be great to have an easier, straightforward way to install your code through pip or conda. However, I think there is already a package called stompy for the STOMP messaging protocol 😅.

@rustychris
Copy link
Owner

Thanks for the interest, and the tip on naming. It's nice to know that people are using this code, and that does give me some motivation to make it more usable. I have been meaning to set up pip and conda installation, and while it's difficult to find the free time, I may be able to work this task into some project work in the near future. In the mean time, if you have ideas on a package name or tips on how to set up pip/conda installation, I'd be happy to hear them. Cheers!

@dact221
Copy link
Author

dact221 commented Sep 20, 2022

Hi @rustychris

I have little experience in Python packaging. I managed to upload one of my programs to pip (appmar). See the source for examples on setup.py and MANIFEST.in. However, it is a scientific application and depends heavily on numeric packages from conda-forge, so I tried to convert it to a conda package.

I used a conda recipe generator called Grayskull (online / src). It only requires you to enter package name and version from pip. The result is a meta.yaml file that you may edit according to your needs. Then, follow instructions in conda-forge for adding a recipe (see, e.g., my pull request). I think they missed reviewing my PR since I opened it on April 16 and still no response.

With respect to the name, what does stompy stand for? We could come up with a similar name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants