GithubHelp home page GithubHelp logo

Comments (5)

maddrum avatar maddrum commented on June 26, 2024

Waiting for that release to migrate to django3.

from django-classy-tags.

FinalAngel avatar FinalAngel commented on June 26, 2024

we have just released classy tags 1.0.0 with Django 3 compatibility :)

from django-classy-tags.

dvzrv avatar dvzrv commented on June 26, 2024

@FinalAngel Thanks for the release!
However, the sdist still doesn't contain the tests, so this ticket is still valid. If you want I can do a pull request for MANIFEST.in to fix this.

from django-classy-tags.

FinalAngel avatar FinalAngel commented on June 26, 2024

@dvzrv sorry I overread this. The tests are currently not part of the package by intention (design decision by our team). It could be as easy as to remove: https://github.com/divio/django-classy-tags/blob/master/setup.py#L50

Though considering that we practice this on all our packages I'm hesitant on changing it only for this package...

from django-classy-tags.

dvzrv avatar dvzrv commented on June 26, 2024

@FinalAngel maybe there's a misunderstanding about the tests directory and which tarball I'm referring to.

To my understanding MANIFEST.in is used to (more specifically) define what goes into a source tarball (when using python setup.py sdist).
The setup() function on the other hand defines what will be installed to a target system, when packages have been built (python setup.py build) from a source tarball (with find_packages(), include_package_data or package_data giving more finely grained access over what is included/excluded) and then installed (python setup.py install).

While it is absolutely reasonable to exclude the tests from e.g. a wheel distributable (python setup.py bdist_wheel), which happens automatically because of your above stated line in setup(), it is not good to distribute the sdist without tests (because noone can test the sources after building from them when using the tarball from pypi.org).

from django-classy-tags.

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.