MDAnalysis / UserGuide

User Guide for MDAnalysis
https://userguide.mdanalysis.org
22 stars 31 forks source link

Creating development environment with pip & virtualenv - multiple pull requests #202

Open pranayrauni opened 2 years ago

pranayrauni commented 2 years ago

This issue is raised to create development environment with pip & virtualenv smoothly.

Issues:

Req:

aditi2906 commented 2 years ago

On my experience of installing MDAnalysis,I had opted the method of creating a .env folder in my locally cloned repo. There on any command either for activating the environment or running operating jupyter-notebook using virtual environment was running smoothly. As for sphinx is concerned, update it to any version equivalent or above 2.0.1. It worked for me!

IAlibay commented 2 years ago

If anything this is a userguide issue so I'm migrating this to that repository.

lilyminium commented 2 years ago

Thanks for raising this issue, @pranayrauni. I'd really rather store some environment files in MDAnalysis instead of continuing to update a morass of dependencies in the user guide. @IAlibay it should be possible to add this as a GitHub Action in CI, right?

IAlibay commented 2 years ago

I'm not sure I want to replace our current dependency actions with an env file at this point (since we rely on modularity for some of the tests) - if that's what you're proposing.

lilyminium commented 2 years ago

No, like use CI to write environment files to the repo — I’ll try to mock something up over the weekend. That way at least it stays current with whatever works with CI.

On Apr 16, 2022, at 17:24, Irfan Alibay @.***> wrote:

 I'm not sure I want to replace our current dependency actions with an env file at this point (since we rely on modularity for some of the tests) - if that's what you're proposing.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

IAlibay commented 2 years ago

I see, yeah that's feasible, albeit possibly a bit messy.

jandom commented 11 months ago

@lilyminium could we close this one out? Seems inactive for about a year

RMeli commented 11 months ago

@jandom Thanks for looking at old issues. I also added a "close?" label as in the main repo in case you need it (but inactive is good too).

jandom commented 11 months ago

Great, sorry I wasn't aware – let's harmonize and call the label here 'close' as well, rather than inactive

IAlibay commented 11 months ago

I think this might be better to keep around for now. On the fly environment files are a doable thing, just needs a bit of thinking on how best to go about it really.