Skip to content

Improves development tooling#13

Open
monopolis wants to merge 3 commits intohakanardo:masterfrom
monopolis:reorder-files
Open

Improves development tooling#13
monopolis wants to merge 3 commits intohakanardo:masterfrom
monopolis:reorder-files

Conversation

@monopolis
Copy link
Contributor

Hello!

This is a fairly big one - so let me know if you want me to break this up or improve it in any way.

In short, this pull request reshuffles the files in the repository to a src-layout in order to avoid issues with testability (see e.g. https://hynek.me/articles/testing-packaging/ ) and adds support for tox.

With tox we improve testing of different python versions, and provide other code quality tasks such as linting and formatting. Finally, the pull request adds an init_env.sh that can be sourced in order to facilitate a simple bootstrapping of development.

I indent to follow up this pull request with bug fixes, minor changes to documentation and improvements to the continuous integration of the repository.

* Moves src/*.{c,h} to src/_cffi_src

* Moves vi3o/*.py to src/vi3o

* Moves build_* to src/_cffi_src

* Moves test/ to tests/

* Moves misc to scripts/

* Updates build_*.py and setup.py for new layout

* Updates manifest

* Restructures setup.py
.. to provide improved testing of different python versions,
as well as tooling for running linting, formatting and coverage reports.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant