Comments (3)
I'll do the pip part if you figure out testing. :D
from greatbigcrane.
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.
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)
- Better detect the meaning of a buildout file
- Web interface should warn us if job server isn't running. HOT 2
- auto ignore buildout directories
- git clone refresh message is overzealous
- git clone not following origin? HOT 2
- djangorecipe settings.py sucks HOT 2
- On the project page we need a dismiss all notifications button
- Job processor needs to be more robust across freezing
- Ability to requeue a job from the notification page HOT 1
- Don't clone what exists HOT 1
- startapp could update settings.py
- bookmarklet to add dependency
- Rename repo from Django-Dash-2010 to greatbigcrane
- Refactor jobs module
- Add line-edited tests key to django-recipe
- Ability to move projects
- Don't show the migrate button if south isn't available.
- startapp should quote app name HOT 1
- Fatal: Cython-generated file 'zmq/core/_device.c' not found. HOT 2
- KeyError: u'name' when running django migrate HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from greatbigcrane.