Skip to content

Conversation

@priv-kweihmann
Copy link
Contributor

Move test files out of git module and into the root dir.
This enables it to ignore them while setuptools packaging and is resulting in a way smaller release package.

Closes#1027

This should ensure that tests are NOT packaged into release package by setuptools, as tests are development only + fixtures after moving Signed-off-by: Konrad Weihmann <[email protected]>
by using exclude feature of find_packages. Plus remove now obselete package_data setting Signed-off-by: Konrad Weihmann <[email protected]>
and remove all previously used test related settings Signed-off-by: Konrad Weihmann <[email protected]>
@priv-kweihmannpriv-kweihmann changed the title move test and avoid packaging thmemove test and avoid packaging themJul 10, 2020
@ByronByron self-requested a review July 12, 2020 04:07
@ByronByron merged commit 0238e6c into gitpython-developers:masterJul 12, 2020
@Byron
Copy link
Member

I am absolutely amazed and am super thankful for this PR and the effort that undoubtedly went into it.
It will have a massive impact to everyone, given that GitPython is downloaded a lot!

Will cut a new release right away!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Don't install unittest code by default

2 participants

@priv-kweihmann@Byron