Giter VIP home page Giter VIP logo

Comments (6)

JohnCRuf avatar JohnCRuf commented on June 11, 2024

Assigning this to both Thomas and me because we need to figure out proper Python package management to make this repo replicable.

from alderman_machine.

tmalthouse avatar tmalthouse commented on June 11, 2024

I'm managing my env through conda—assuming it's OK with you, I can upload the relevant environment.txt to the repo and we can share that going forward. Also happy to transition back to pip/virtualenv if there's benefit to doing so.

from alderman_machine.

JohnCRuf avatar JohnCRuf commented on June 11, 2024

Yeah that works, honestly anything is better than the unworkable mess that is currently on the repo.

The big thing is to create a python script that automatically installs any package that's required for the project. As long as conda can automatically install a set of packages (eg. if it automatically updates to install everything inside of environment.txt) then that's perfect.

from alderman_machine.

tmalthouse avatar tmalthouse commented on June 11, 2024

Cool cool—Conda can (in theory) replicate a given environment (w/ versions pinned down) from the environment.txt. Doesn't actually work that cleanly in practice, but I don't think we're using any especially unusual packages. Importantly: I'm fairly sure everything we use is on Conda, so we don't have to mix that and PyPI.

from alderman_machine.

JohnCRuf avatar JohnCRuf commented on June 11, 2024

Perfect, I've spent way too much time trying to make venv work, but I'm not an expert programmer.

If you think you can do it, feel free to set up a PR when you have a chance. Otherwise, if you got a good guide to how to use conda for project management I can do it over the weekend.

Right now I want to close in on getting the new DiD and Bernie stone case study results together so I can pivot to primarily working on the GRE.

from alderman_machine.

JohnCRuf avatar JohnCRuf commented on June 11, 2024

@tmalthouse any progress on this?

from alderman_machine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.