Coder Social home page Coder Social logo

Comments (2)

almarklein avatar almarklein commented on April 30, 2024

cc @ghisvail

from imageio.

almarklein avatar almarklein commented on April 30, 2024

Copy from mailing list, for easy reference when I am going to work on this:

I'll walk you through the package build process.

It takes an upstream tarball, like the v1.0 available on PyPi, and add a debian/
folder to it which contains all the necessary meta-data and rules to build the pkg.

For Python pkg, we have a helper which automatically cleans, configures, builds,
install and tests the pkg for all supported Python versions (now 2.7 and 3.4, but
later 3.4+). For the test suite, the build system autodetects how the test suite is
implemented, for instance with a separate test/ or tests/ folder, and runs a
discover to it. In your case, there is a testing.py in the source tree, which the
build system seems to be trying to run.

You are right though, if you do not ship the test suite with the source release, then
there is no reason to run it. However, Debian is encouraging us, pkg maintainers to
convince upstream devs, like yourself, to ship the test suite as well, so the latter
can be used for continuous integration purposes at the distribution level.

Again, this is entirely up to you and is not a pressing issue. It is only a
recommendation for now, though I foresee it to become more and more "encouraged",
to the point where a working test suite will be a requirement for any package in some
future.

Please let me know whether this was detailed enough.

from imageio.

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.