Giter Club home page Giter Club logo

ctox's People

Contributors

hayd avatar simonrw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ctox's Issues

caching

Would like to do a better job of caching all the things, not sure how:

  1. dependancies, atm use a DIY csv to see what I've installed (unfortunately don't think I can just use conda here as am pip installing stuff not on conda). Would be nice to do something like pip freeze and then work out what pip freeze would be (if we were to do reinstall with conda + pip)...
  2. if dependancies mismatch a little may be worth removing/installing/upgrading those packages rather than wiping entire env...
  3. dist1, atm (and I think this is the case with tox too) the build is reinstalled with pip each time and therefore any built files (e.g. cython files) have to be rebuilt even if they are unchanged. This sucks. There should be a better strategy so that the files can be reused.
  4. dist2, if running tests with built files they should be run in the dir with the built files (atm I run in the project directory/toxinidir which I think fails - so no pandas/scipy). This is also a bit fishy as if the tests are modified during a ctox run you may run different tests in some envs, unfortunately when pip installing from a zip not all files are copied across (e.g. test dir not in the package even though in zip/MANIFEST).

Note: 3. and 4. should really be solved simultaneously if can think of the right wayTM, manually (not using extract_all as I think this deletes dir first?) unzipping may work?

oo

Also this will make more functional, perhaps e.g. (config, env, parent, cwd, ...) -> {commands: [], deps: [], ...}}, where probably the latter is a class rather than dict.

Support for a load of features

Feature list is basically here http://tox.readthedocs.org/en/latest/config.html

  • cache the builds better
  • parse_args, and have {options} and friends work (so can do ctox --pdb !)
  • changedir (should default to .tox and do the installations and tests there?)
  • Rather than always do local and global test env, support substitutions
  • support more substitutions
  • lots more...

Possible to use test suite for tox?

I will probably never do these.

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.