cmdln / flashbake

Scripts to gather information for including in version history comments and to make using source control a bit simpler for non-technical projects.
GNU General Public License v3.0
456 stars 39 forks source link

Add Tox support #24

Closed FedericoCeratto closed 9 years ago

FedericoCeratto commented 9 years ago

Related to PR #23

cmdln commented 9 years ago

It has been a while since I hacked on any Python projects--can you provide some context on Tox, maybe a link?

FedericoCeratto commented 9 years ago

https://tox.readthedocs.org/en/latest/ Tox is a popular tool to run tests in dedicated virtualenvs. Particularly useful if you want to test code against different libraries or different interpreters in an isolated Python environment. You can simply run "tox" from the repository and it will create its virtualenvs and run the tests. No need to include tox.ini in the distributed package.

cmdln commented 9 years ago

Makes sense. Would you want to add tox.ini, then, to the package data exclude to keep it out of the distributed package?

FedericoCeratto commented 9 years ago

The tox.ini file is not being included in the source or binary tarballs. (CREDITS.txt and COPYING.txt are also not being included)

package_data is very misleading: http://blog.codekills.net/2011/07/15/lies,-more-lies-and-python-packaging-documentation-on--package_data-/