GithubHelp home page GithubHelp logo

Comments (3)

dusty-phillips avatar dusty-phillips commented on August 26, 2024

I'll do the pip part if you figure out testing. :D

from greatbigcrane.

dusty-phillips avatar dusty-phillips commented on August 26, 2024

Ok, I"m tackling this now. My plan is to make the main project page display some information useful in a pip project, with each section being editable. So it would look like a buildout recipe, but would be directly targeted. These are the sections I intend to add to the form, for starters:

  • path to the location of the project's virtualenv: probably the relative path
  • Requirements: Phil's amazing line editor for adding requirements to requirements.txt. For now, we'll assume this file is named requirements.txt.
  • Test module: Either the name of an arbitrary python module (a custom test runner that uses discover or unittest), or a command (py.test, nose would be good examples) to run tests.

In addition, I will not display the bootstrap and buildout commands in the action lists, and I will add the following actions:

  • run virtualenv --no-site-packages on the
  • activate terminal: open a terminal in the source directory that has sourced the virtualenv activation script
  • freeze: write a new requirements.txt from the the current status of the virtualenv
  • install: install all packages in the current requirements.txt

I'll need Philized icons for all of these.

Finally, I will adjust the test commands to check if it is a pip project and run the given test command instead of the buildout command.

With those tasks done, I think we'll at least have an idea what we're working with.

from greatbigcrane.

dusty-phillips avatar dusty-phillips commented on August 26, 2024

Initial pip support is complete! I did most of what I outlined above, although I didn't bother with the freeze and activate terminal buttons for now.

from greatbigcrane.

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.